Package org.alfresco.repo.quickshare
Class QuickShareLinkExpiryActionPersisterImpl
- java.lang.Object
-
- org.alfresco.repo.quickshare.QuickShareLinkExpiryActionPersisterImpl
-
- All Implemented Interfaces:
QuickShareLinkExpiryActionPersister
public class QuickShareLinkExpiryActionPersisterImpl extends java.lang.Object implements QuickShareLinkExpiryActionPersister
Default implementation of theQuickShareLinkExpiryActionPersister. It is responsible for persisting and retrieving the quick share link expiry actions.- Author:
- Jamal Kaabi-Mofrad
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.alfresco.service.cmr.repository.NodeRefQUICK_SHARE_LINK_EXPIRY_ACTIONS_ROOT
-
Constructor Summary
Constructors Constructor Description QuickShareLinkExpiryActionPersisterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)Removes the previously serializedQuickShareLinkExpiryActionfrom the repository.org.alfresco.service.cmr.repository.NodeRefgetQuickShareLinkExpiryActionNode(org.alfresco.service.namespace.QName linkExpiryActionName)Retrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method.QuickShareLinkExpiryActionloadQuickShareLinkExpiryAction(org.alfresco.service.cmr.repository.NodeRef linkExpiryActionNodeRef)Retrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method.QuickShareLinkExpiryActionloadQuickShareLinkExpiryAction(org.alfresco.service.namespace.QName linkExpiryActionName)Retrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method.voidsaveQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)Serializes theQuickShareLinkExpiryActionand stores it in the repository.voidsetBehaviourFilter(BehaviourFilter behaviourFilter)voidsetBootstrapView(java.util.Properties bootstrapView)voidsetImporterBootstrap(ImporterBootstrap importerBootstrap)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetRuntimeActionService(RuntimeActionService runtimeActionService)
-
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
-
setRuntimeActionService
public void setRuntimeActionService(RuntimeActionService runtimeActionService)
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
-
setImporterBootstrap
public void setImporterBootstrap(ImporterBootstrap importerBootstrap)
-
setBootstrapView
public void setBootstrapView(java.util.Properties bootstrapView)
-
saveQuickShareLinkExpiryAction
public void saveQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
Description copied from interface:QuickShareLinkExpiryActionPersisterSerializes theQuickShareLinkExpiryActionand stores it in the repository. TheQuickShareLinkExpiryActions saved in this way maybe retrieved using theload()method.- Specified by:
saveQuickShareLinkExpiryActionin interfaceQuickShareLinkExpiryActionPersister- Parameters:
linkExpiryAction- TheQuickShareLinkExpiryActionto be persisted.
-
getQuickShareLinkExpiryActionNode
public org.alfresco.service.cmr.repository.NodeRef getQuickShareLinkExpiryActionNode(org.alfresco.service.namespace.QName linkExpiryActionName)
Description copied from interface:QuickShareLinkExpiryActionPersisterRetrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method. If noQuickShareLinkExpiryActionexists in the repository with the specified QName then this method returns null.- Specified by:
getQuickShareLinkExpiryActionNodein interfaceQuickShareLinkExpiryActionPersister- Parameters:
linkExpiryActionName- The unique identifier used to specify theQuickShareLinkExpiryActionto retrieve.- Returns:
- The NodeRef of the specified
QuickShareLinkExpiryActionor null.
-
loadQuickShareLinkExpiryAction
public QuickShareLinkExpiryAction loadQuickShareLinkExpiryAction(org.alfresco.service.namespace.QName linkExpiryActionName)
Description copied from interface:QuickShareLinkExpiryActionPersisterRetrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method. If noQuickShareLinkExpiryActionexists in the repository with the specified QName then this method returns null.- Specified by:
loadQuickShareLinkExpiryActionin interfaceQuickShareLinkExpiryActionPersister- Parameters:
linkExpiryActionName- The unique identifier used to specify theQuickShareLinkExpiryActionto retrieve.- Returns:
- The specified
QuickShareLinkExpiryActionor null.
-
loadQuickShareLinkExpiryAction
public QuickShareLinkExpiryAction loadQuickShareLinkExpiryAction(org.alfresco.service.cmr.repository.NodeRef linkExpiryActionNodeRef)
Description copied from interface:QuickShareLinkExpiryActionPersisterRetrieves aQuickShareLinkExpiryActionthat has been stored in the repository using thesave()method. If noQuickShareLinkExpiryActionexists in the repository with the specified QName then this method returns null.- Specified by:
loadQuickShareLinkExpiryActionin interfaceQuickShareLinkExpiryActionPersister- Parameters:
linkExpiryActionNodeRef- The nodeRef of theQuickShareLinkExpiryActionto retrieve.- Returns:
- The specified
QuickShareLinkExpiryActionor null.
-
deleteQuickShareLinkExpiryAction
public void deleteQuickShareLinkExpiryAction(QuickShareLinkExpiryAction linkExpiryAction)
Description copied from interface:QuickShareLinkExpiryActionPersisterRemoves the previously serializedQuickShareLinkExpiryActionfrom the repository. TheQuickShareLinkExpiryActionwill then no longer be available using the load methods.- Specified by:
deleteQuickShareLinkExpiryActionin interfaceQuickShareLinkExpiryActionPersister- Parameters:
linkExpiryAction- TheQuickShareLinkExpiryActionto be deleted.
-
-