Package fr.becpg.repo.behaviour
Class BehaviourRegistry
java.lang.Object
fr.becpg.repo.behaviour.BehaviourRegistry
BehaviourRegistry class.
- Author:
- matthieu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List<BehaviourRegistry.ActivityBehaviour>private static final List<BehaviourRegistry.AuditBehaviour> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterActivityBehaviour(BehaviourRegistry.ActivityBehaviour fieldBehaviour) registerActivityBehaviour.static voidregisterAuditBehaviour(BehaviourRegistry.AuditBehaviour fieldBehaviour) registerAuditBehaviour.static booleanshouldIgnoreActivity(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName type, Map<org.alfresco.service.namespace.QName, org.alfresco.util.Pair<Serializable, Serializable>> fields) shouldIgnoreActivity.static booleanshouldIgnoreActivityField(org.alfresco.service.namespace.QName field) shouldIgnoreActivityField.static booleanshouldIgnoreAuditField(org.alfresco.service.namespace.QName field) shouldIgnoreAuditField.
-
Field Details
-
activityBehaviours
-
auditBehaviours
-
-
Constructor Details
-
BehaviourRegistry
private BehaviourRegistry()
-
-
Method Details
-
shouldIgnoreAuditField
public static boolean shouldIgnoreAuditField(org.alfresco.service.namespace.QName field) shouldIgnoreAuditField.
- Parameters:
field- aQNameobject- Returns:
- a boolean
-
registerAuditBehaviour
registerAuditBehaviour.
- Parameters:
fieldBehaviour- aBehaviourRegistry.AuditBehaviourobject
-
registerActivityBehaviour
registerActivityBehaviour.
- Parameters:
fieldBehaviour- aBehaviourRegistry.ActivityBehaviourobject
-
shouldIgnoreActivityField
public static boolean shouldIgnoreActivityField(org.alfresco.service.namespace.QName field) shouldIgnoreActivityField.
- Parameters:
field- aQNameobject- Returns:
- a boolean
-
shouldIgnoreActivity
public static boolean shouldIgnoreActivity(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName type, Map<org.alfresco.service.namespace.QName, org.alfresco.util.Pair<Serializable, Serializable>> fields) shouldIgnoreActivity.
- Parameters:
nodeRef- aNodeRefobjecttype- aQNameobjectfields- aMapobject- Returns:
- a boolean
-