|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContributionPersistenceManager
Method Summary | |
---|---|
Contribution |
addContribution(Contribution contrib)
Persists a new contribution. |
Contribution |
getContribution(java.lang.String name)
Gets a contribution given its name. |
java.util.List<Contribution> |
getContributions()
Gets a list with all persisted contributions. |
boolean |
installContribution(Contribution contrib)
Installs the contribution given its name. |
boolean |
isInstalled(Contribution contrib)
Checks whether a contribution is currently installed. |
boolean |
isPersisted(Contribution contrib)
Checks whether a contribution is currently persisted. |
boolean |
removeContribution(Contribution contrib)
Removes a persisted contribution given its name. |
void |
start()
Starts the service. |
void |
stop()
Stops the service. |
boolean |
uninstallContribution(Contribution contrib)
Uninstalls a contribution given is name. |
Contribution |
updateContribution(Contribution contribution)
Updates in the storage the given contribution modifications. |
Method Detail |
---|
java.util.List<Contribution> getContributions() throws java.lang.Exception
java.lang.Exception
Contribution getContribution(java.lang.String name) throws java.lang.Exception
java.lang.Exception
Contribution addContribution(Contribution contrib) throws java.lang.Exception
installContribution(Contribution)
to
install the contribution.
java.lang.Exception
boolean removeContribution(Contribution contrib) throws java.lang.Exception
#uninstallContribution(String)
to uninstall it.
java.lang.Exception
boolean installContribution(Contribution contrib) throws java.lang.Exception
To be able to install a contribution you need to persist it first.
java.lang.Exception
boolean uninstallContribution(Contribution contrib) throws java.lang.Exception
java.lang.Exception
Contribution updateContribution(Contribution contribution) throws java.lang.Exception
A contribution cannot be renamed. The only permitted modifications are changing the description and the auto start status.
Return back the contribution object.
java.lang.Exception
boolean isInstalled(Contribution contrib) throws java.lang.Exception
java.lang.Exception
boolean isPersisted(Contribution contrib) throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
Contribution.isDisabled()
java.lang.Exception
void stop() throws java.lang.Exception
java.lang.Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |