|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.dictionary.DictionaryModelType
public class DictionaryModelType
Dictionary model type behaviour.
Nested Class Summary | |
---|---|
class |
DictionaryModelType.DictionaryModelTypeTransactionListener
Dictionary model type transaction listener class. |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Field Summary |
---|
Fields inherited from interface org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy |
---|
ARG_0, ARG_1, ARG_2, QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.BeforeDeleteNodePolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnDeleteNodePolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy |
---|
QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Constructor Summary | |
---|---|
DictionaryModelType()
|
Method Summary | |
---|---|
void |
beforeDeleteNode(NodeRef nodeRef)
Called before a node is deleted. |
void |
init()
The initialise method |
void |
onContentUpdate(NodeRef nodeRef,
boolean newContent)
On content update behaviour implementation |
void |
onCreateNode(ChildAssociationRef childAssocRef)
Called when a new node has been created. |
void |
onDeleteNode(ChildAssociationRef childAssocRef,
boolean isNodeArchived)
Called after a node is deleted. |
void |
onRemoveAspect(NodeRef nodeRef,
QName aspect)
Called after an aspect has been removed from a node |
void |
onUpdateProperties(NodeRef nodeRef,
java.util.Map before,
java.util.Map after)
On update properties behaviour implementation |
void |
setContentService(ContentService contentService)
Set the content service |
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO)
Set the dictionary DAO |
void |
setNamespaceDAO(NamespaceDAO namespaceDAO)
Set the namespace DOA |
void |
setNamespaceService(NamespaceService namespaceService)
Set the namespace service |
void |
setNodeService(NodeService nodeService)
Set the node service |
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component |
void |
setSearchService(SearchService searchService)
Set the search service |
void |
setStoreUrls(java.util.List storeUrls)
|
void |
setTenantAdminService(TenantAdminService tenantAdminService)
Set the tenant admin service |
void |
setTenantService(TenantService tenantService)
Set the tenant service |
void |
setTransactionService(TransactionService transactionService)
Set the transaction service |
void |
setWorkflowService(WorkflowService workflowService)
Set the workflow service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DictionaryModelType()
Method Detail |
---|
public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
public void setNamespaceDAO(NamespaceDAO namespaceDAO)
public void setNodeService(NodeService nodeService)
public void setContentService(ContentService contentService)
public void setPolicyComponent(PolicyComponent policyComponent)
public void setWorkflowService(WorkflowService workflowService)
public void setSearchService(SearchService searchService)
public void setNamespaceService(NamespaceService namespaceService)
public void setTenantService(TenantService tenantService)
public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setTransactionService(TransactionService transactionService)
public void setStoreUrls(java.util.List storeUrls)
public void init()
public void onContentUpdate(NodeRef nodeRef, boolean newContent)
onContentUpdate
in interface ContentServicePolicies.OnContentUpdatePolicy
nodeRef
- the node reference whose content has been updatedpublic void onUpdateProperties(NodeRef nodeRef, java.util.Map before, java.util.Map after)
onUpdateProperties
in interface NodeServicePolicies.OnUpdatePropertiesPolicy
nodeRef
- the node referencebefore
- the values of the properties before updateafter
- the values of the properties after the updatepublic void onRemoveAspect(NodeRef nodeRef, QName aspect)
NodeServicePolicies.OnRemoveAspectPolicy
onRemoveAspect
in interface NodeServicePolicies.OnRemoveAspectPolicy
nodeRef
- the node from which the aspect will be removedaspect
- the type of the aspectpublic void beforeDeleteNode(NodeRef nodeRef)
NodeServicePolicies.BeforeDeleteNodePolicy
beforeDeleteNode
in interface NodeServicePolicies.BeforeDeleteNodePolicy
nodeRef
- the node referencepublic void onDeleteNode(ChildAssociationRef childAssocRef, boolean isNodeArchived)
NodeServicePolicies.OnDeleteNodePolicy
onDeleteNode
in interface NodeServicePolicies.OnDeleteNodePolicy
childAssocRef
- the primary parent-child association of the deleted nodeisNodeArchived
- indicates whether the node has been archived rather than purgedpublic void onCreateNode(ChildAssociationRef childAssocRef)
NodeServicePolicies.OnCreateNodePolicy
onCreateNode
in interface NodeServicePolicies.OnCreateNodePolicy
childAssocRef
- the created child association reference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |