public interface ICmsContributorHolder
This service registers PEM contributors and the order in which they are called.
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ICmsContributorHolder.Action
Contributor hooks enumeration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addContributor(ICmsContributor contributor)
Add a new contributor 
 | 
ICmsContributor | 
getContributor(java.lang.String id)
Get the PEM contributor from its identifier. 
 | 
java.util.List<ICmsContributor> | 
getPostContributors(ICmsContributorHolder.Action a)
Get the contributors sorted for a given operation post process. 
 | 
java.util.List<java.lang.String> | 
getPostOrder(ICmsContributorHolder.Action a)
Get the contributors sorted for a given operation post process. 
 | 
java.util.List<ICmsContributor> | 
getPreContributors(ICmsContributorHolder.Action a)
Get the contributors sorted for a given operation pre process. 
 | 
java.util.List<java.lang.String> | 
getPreOrder(ICmsContributorHolder.Action a)
Get the contributors id sorted for a given operation pre process. 
 | 
void | 
loadFrom(java.util.Map<java.lang.String,java.lang.String> properties)
Load the configuration from the given properties. 
 | 
void | 
removeContributor(ICmsContributor contrib)
Remove a contributor to the process model. 
 | 
void | 
saveTo(java.util.Map<java.lang.String,java.lang.String> properties)
Save the holder configuration to the given property map. 
 | 
void | 
setPostOrder(ICmsContributorHolder.Action a,
            java.util.List<java.lang.String> ids)
Set the post process contributors order for an action by using a list of contributor identifiers. 
 | 
void | 
setPreOrder(ICmsContributorHolder.Action a,
           java.util.List<java.lang.String> ids)
Set the pre process contributors order for an action by using a list of contributor identifiers. 
 | 
void addContributor(ICmsContributor contributor)
contributor - the contributor.void setPreOrder(ICmsContributorHolder.Action a, java.util.List<java.lang.String> ids)
a - an operation typeids - the sorted pre process identifiers.void removeContributor(ICmsContributor contrib)
contrib - the contributor to removeICmsContributor getContributor(java.lang.String id)
id - an identifiervoid loadFrom(java.util.Map<java.lang.String,java.lang.String> properties)
properties - the saved configurationvoid saveTo(java.util.Map<java.lang.String,java.lang.String> properties)
properties - the save destination.java.util.List<java.lang.String> getPreOrder(ICmsContributorHolder.Action a)
a - the operation typejava.util.List<ICmsContributor> getPreContributors(ICmsContributorHolder.Action a)
a - the operation typejava.util.List<ICmsContributor> getPostContributors(ICmsContributorHolder.Action a)
a - the operation typevoid setPostOrder(ICmsContributorHolder.Action a, java.util.List<java.lang.String> ids)
a - an operation typeids - the sorted post process identifiers.java.util.List<java.lang.String> getPostOrder(ICmsContributorHolder.Action a)
a - the operation type