|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.tagging.UpdateTagScopesActionExecuter
public class UpdateTagScopesActionExecuter
Update tag scopes action executer. NOTE: This action is used to facilitate the async update of tag scopes. It is not intended for general usage.
Field Summary | |
---|---|
static java.lang.String |
NAME
Action name and parameters |
static java.lang.String |
PARAM_TAG_SCOPES
|
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
actionDefinition, applicableTypes, publicAction |
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
DISPLAY_LABEL, runtimeActionService |
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
name |
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter |
---|
PARAM_RESULT |
Constructor Summary | |
---|---|
UpdateTagScopesActionExecuter()
|
Method Summary | |
---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list |
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation |
protected java.lang.String |
lockTagScope(org.alfresco.service.cmr.repository.NodeRef tagScope)
|
java.util.List |
searchForTagScopesPendingUpdates()
Checks several batches of updates in the Audit event log, and returns the list of Tag Scope Node References found there. |
void |
setAuditService(AuditService auditService)
Set the audit service |
void |
setBehaviourFilter(BehaviourFilter behaviourFilter)
Set the behaviour filter |
void |
setContentService(ContentService contentService)
Set the content service |
void |
setJobLockService(JobLockService jobLockService)
Set the job lock service |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setTaggingService(TaggingService taggingService)
Set the tagging service |
void |
setTransactionService(TransactionService transactionService)
Set the transaction service |
protected void |
unlockTagScope(org.alfresco.service.cmr.repository.NodeRef tagScope,
java.lang.String lockToken)
|
protected void |
updateTagScopeLock(org.alfresco.service.cmr.repository.NodeRef tagScope,
java.lang.String lockToken)
|
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus |
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString |
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
setBeanName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String PARAM_TAG_SCOPES
Constructor Detail |
---|
public UpdateTagScopesActionExecuter()
Method Detail |
---|
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- node servicepublic void setContentService(ContentService contentService)
contentService
- the content servicepublic void setTaggingService(TaggingService taggingService)
taggingService
- the tagging servicepublic void setAuditService(AuditService auditService)
auditService
- the audit servicepublic void setJobLockService(JobLockService jobLockService)
jobLockService
- the job locking servicepublic void setTransactionService(TransactionService transactionService)
transactionService
- the transaction servicepublic void setBehaviourFilter(BehaviourFilter behaviourFilter)
behaviourFilter
- the behaviour filterprotected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodeActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
public java.util.List searchForTagScopesPendingUpdates()
protected java.lang.String lockTagScope(org.alfresco.service.cmr.repository.NodeRef tagScope)
protected void updateTagScopeLock(org.alfresco.service.cmr.repository.NodeRef tagScope, java.lang.String lockToken)
protected void unlockTagScope(org.alfresco.service.cmr.repository.NodeRef tagScope, java.lang.String lockToken)
protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |