public abstract class AbstractEventGenerationBehaviours extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding>> |
behaviours |
protected Set<String> |
includeEventTypes |
protected static org.apache.commons.logging.Log |
logger |
protected org.alfresco.repo.policy.PolicyComponent |
policyComponent |
| Constructor and Description |
|---|
AbstractEventGenerationBehaviours() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBehaviour(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding) |
protected void |
bindAssociationPolicy(org.alfresco.service.namespace.QName policyName,
String eventTypeToCheck)
Bind an association policy to a JavaBehaviour if a specific event type is enabled
|
protected void |
bindClassPolicy(org.alfresco.service.namespace.QName policyName)
Bind a class policy to a JavaBehaviour.
|
protected void |
bindClassPolicy(org.alfresco.service.namespace.QName policyName,
org.alfresco.service.namespace.QName className,
String eventTypeToCheck)
Bind a class policy to a JavaBehaviour if a specific event type is enabled
|
protected void |
bindClassPolicy(org.alfresco.service.namespace.QName policyName,
String eventTypeToCheck)
Bind a class policy to a JavaBehaviour if a specific event type is enabled
|
void |
cleanUp() |
protected boolean |
includeEventType(String eventType) |
protected void |
removeBehaviour(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding) |
protected void |
removeBehaviourImpl(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding) |
void |
setIncludeEventTypes(String includeEventTypesStr) |
void |
setPolicyComponent(org.alfresco.repo.policy.PolicyComponent policyComponent) |
protected static org.apache.commons.logging.Log logger
protected org.alfresco.repo.policy.PolicyComponent policyComponent
protected List<org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding>> behaviours
protected void addBehaviour(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding)
protected void removeBehaviour(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding)
protected void removeBehaviourImpl(org.alfresco.repo.policy.BehaviourDefinition<org.alfresco.repo.policy.ClassBehaviourBinding> binding)
public void cleanUp()
public void setIncludeEventTypes(String includeEventTypesStr)
public void setPolicyComponent(org.alfresco.repo.policy.PolicyComponent policyComponent)
protected boolean includeEventType(String eventType)
protected void bindClassPolicy(org.alfresco.service.namespace.QName policyName,
String eventTypeToCheck)
policyName - the policy to implement or in other words the one we bind to the JavaBehavioureventTypeToCheck - implement the policy only if the event is supportedprotected void bindClassPolicy(org.alfresco.service.namespace.QName policyName,
org.alfresco.service.namespace.QName className,
String eventTypeToCheck)
policyName - the policy to implement or in other words the one we bind to the JavaBehaviourclassName - the class to bind toeventTypeToCheck - implement the policy only if the event is supportedprotected void bindAssociationPolicy(org.alfresco.service.namespace.QName policyName,
String eventTypeToCheck)
policyName - the policy to implement or in other words the one we bind to the JavaBehavioureventTypeToCheck - implement the policy only if this event type is enabledprotected void bindClassPolicy(org.alfresco.service.namespace.QName policyName)
policyName - the policy to implement or in other words the one we bind to the JavaBehaviourCopyright © 2005–2018 Alfresco Software. All rights reserved.