public class QuickShareLinkExpiryActionPersisterImpl extends Object implements QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryActionPersister
.
It is responsible for persisting and retrieving the quick share link expiry actions.Modifier and Type | Field and Description |
---|---|
protected static org.alfresco.service.cmr.repository.NodeRef |
QUICK_SHARE_LINK_EXPIRY_ACTIONS_ROOT |
Constructor and Description |
---|
QuickShareLinkExpiryActionPersisterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
Removes the previously serialized
QuickShareLinkExpiryAction
from the repository. |
org.alfresco.service.cmr.repository.NodeRef |
getQuickShareLinkExpiryActionNode(org.alfresco.service.namespace.QName linkExpiryActionName)
Retrieves a
QuickShareLinkExpiryAction that has been stored
in the repository using the save() method. |
QuickShareLinkExpiryAction |
loadQuickShareLinkExpiryAction(org.alfresco.service.cmr.repository.NodeRef linkExpiryActionNodeRef)
Retrieves a
QuickShareLinkExpiryAction that has been stored
in the repository using the save() method. |
QuickShareLinkExpiryAction |
loadQuickShareLinkExpiryAction(org.alfresco.service.namespace.QName linkExpiryActionName)
Retrieves a
QuickShareLinkExpiryAction that has been stored
in the repository using the save() method. |
void |
saveQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
Serializes the
QuickShareLinkExpiryAction and stores it in
the repository. |
void |
setBehaviourFilter(BehaviourFilter behaviourFilter) |
void |
setBootstrapView(Properties bootstrapView) |
void |
setImporterBootstrap(ImporterBootstrap importerBootstrap) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setRuntimeActionService(RuntimeActionService runtimeActionService) |
protected static final org.alfresco.service.cmr.repository.NodeRef QUICK_SHARE_LINK_EXPIRY_ACTIONS_ROOT
public QuickShareLinkExpiryActionPersisterImpl()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setRuntimeActionService(RuntimeActionService runtimeActionService)
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
public void setImporterBootstrap(ImporterBootstrap importerBootstrap)
public void setBootstrapView(Properties bootstrapView)
public void saveQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryAction
and stores it in
the repository. The QuickShareLinkExpiryAction
s saved in this way maybe
retrieved using the load()
method.saveQuickShareLinkExpiryAction
in interface QuickShareLinkExpiryActionPersister
linkExpiryAction
- The QuickShareLinkExpiryAction
to be persisted.public org.alfresco.service.cmr.repository.NodeRef getQuickShareLinkExpiryActionNode(org.alfresco.service.namespace.QName linkExpiryActionName)
QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryAction
that has been stored
in the repository using the save()
method. If no
QuickShareLinkExpiryAction
exists in the repository with the specified
QName then this method returns null.getQuickShareLinkExpiryActionNode
in interface QuickShareLinkExpiryActionPersister
linkExpiryActionName
- The unique identifier used to specify the
QuickShareLinkExpiryAction
to retrieve.QuickShareLinkExpiryAction
or null.public QuickShareLinkExpiryAction loadQuickShareLinkExpiryAction(org.alfresco.service.namespace.QName linkExpiryActionName)
QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryAction
that has been stored
in the repository using the save()
method. If no
QuickShareLinkExpiryAction
exists in the repository with the specified
QName then this method returns null.loadQuickShareLinkExpiryAction
in interface QuickShareLinkExpiryActionPersister
linkExpiryActionName
- The unique identifier used to specify the
QuickShareLinkExpiryAction
to retrieve.QuickShareLinkExpiryAction
or null.public QuickShareLinkExpiryAction loadQuickShareLinkExpiryAction(org.alfresco.service.cmr.repository.NodeRef linkExpiryActionNodeRef)
QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryAction
that has been stored
in the repository using the save()
method. If no
QuickShareLinkExpiryAction
exists in the repository with the specified
QName then this method returns null.loadQuickShareLinkExpiryAction
in interface QuickShareLinkExpiryActionPersister
linkExpiryActionNodeRef
- The nodeRef of the
QuickShareLinkExpiryAction
to retrieve.QuickShareLinkExpiryAction
or null.public void deleteQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
QuickShareLinkExpiryActionPersister
QuickShareLinkExpiryAction
from the repository. The QuickShareLinkExpiryAction
will then no longer
be available using the load methods.deleteQuickShareLinkExpiryAction
in interface QuickShareLinkExpiryActionPersister
linkExpiryAction
- The QuickShareLinkExpiryAction
to be deleted.Copyright © 2005–2017 Alfresco Software. All rights reserved.