Package org.alfresco.repo.quickshare
Class QuickShareLinkExpiryActionImpl
java.lang.Object
org.alfresco.repo.action.ParameterizedItemImpl
org.alfresco.repo.action.ActionImpl
org.alfresco.repo.quickshare.QuickShareLinkExpiryActionImpl
- All Implemented Interfaces:
Serializable,Action,ParameterizedItem,SchedulableAction,QuickShareLinkExpiryAction
public class QuickShareLinkExpiryActionImpl
extends ActionImpl
implements QuickShareLinkExpiryAction
Quick share link expiry action implementation class.
- Author:
- Jamal Kaabi-Mofrad
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.action.scheduled.SchedulableAction
SchedulableAction.IntervalPeriod -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuickShareLinkExpiryActionImpl(String id, String sharedId, String description) QuickShareLinkExpiryActionImpl(Action action) -
Method Summary
Modifier and TypeMethodDescriptionstatic QNamecreateQName(String sharedId) Gets the qualified name which uniquely identifies this quick share link expiry action.Gets the schedule (ScheduledPersistedActionused to get the trigger details.How manySchedulableAction.getScheduleIntervalPeriod()periods should we wait between executions?How long areSchedulableAction.getScheduleIntervalCount()counts measured in?Get the first date that the action should be run on or after, or null if it should start shortly after each startup.Gets the quick share sharedId.protected voidsetActionQName(QName actionQName) voidsetSchedule(ScheduledPersistedAction schedule) Sets the schedule (ScheduledPersistedActionused to set the trigger details.voidsetScheduleIntervalCount(Integer count) Sets how many periods should be waited between each execution, or null if it shouldn't be repeated.voidSets the interval periodvoidsetScheduleStart(Date startDate) Sets the first date that the action should be run on or after.Methods inherited from class org.alfresco.repo.action.ActionImpl
addActionCondition, addActionCondition, addParameterValues, getActionChain, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionInstance, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getRunAsUser, getTenantId, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionChain, setActionCondition, setCompensatingAction, setCreatedDate, setCreator, setDescription, setExecuteAsynchronously, setExecutionEndDate, setExecutionFailureMessage, setExecutionInstance, setExecutionStartDate, setExecutionStatus, setModifiedDate, setModifier, setNodeRef, setRunAsUser, setTenantId, setTitle, setTrackStatus, toStringMethods inherited from class org.alfresco.repo.action.ParameterizedItemImpl
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.action.Action
addActionCondition, addActionCondition, addParameterValues, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle, setTrackStatusMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
Field Details
-
EXECUTOR_NAME
- See Also:
-
QUICK_SHARE_LINK_EXPIRY_ACTION_NAME
- See Also:
-
-
Constructor Details
-
QuickShareLinkExpiryActionImpl
- Parameters:
id- the action idsharedId- a unique name for the quick share link expiry action.description- the action description
-
QuickShareLinkExpiryActionImpl
-
-
Method Details
-
setActionQName
-
getActionQName
Description copied from interface:QuickShareLinkExpiryActionGets the qualified name which uniquely identifies this quick share link expiry action.- Specified by:
getActionQNamein interfaceQuickShareLinkExpiryAction
-
getSchedule
Description copied from interface:QuickShareLinkExpiryActionGets the schedule (ScheduledPersistedActionused to get the trigger details.- Specified by:
getSchedulein interfaceQuickShareLinkExpiryAction
-
setSchedule
Description copied from interface:QuickShareLinkExpiryActionSets the schedule (ScheduledPersistedActionused to set the trigger details.- Specified by:
setSchedulein interfaceQuickShareLinkExpiryAction
-
getScheduleStart
Description copied from interface:SchedulableActionGet the first date that the action should be run on or after, or null if it should start shortly after each startup.- Specified by:
getScheduleStartin interfaceSchedulableAction
-
setScheduleStart
Description copied from interface:SchedulableActionSets the first date that the action should be run on or after. Set to null if the action should be run shortly after each startup.- Specified by:
setScheduleStartin interfaceSchedulableAction
-
getScheduleIntervalCount
Description copied from interface:SchedulableActionHow manySchedulableAction.getScheduleIntervalPeriod()periods should we wait between executions? Will be null if the action isn't scheduled to be repeated.- Specified by:
getScheduleIntervalCountin interfaceSchedulableAction
-
setScheduleIntervalCount
Description copied from interface:SchedulableActionSets how many periods should be waited between each execution, or null if it shouldn't be repeated.- Specified by:
setScheduleIntervalCountin interfaceSchedulableAction
-
getScheduleIntervalPeriod
Description copied from interface:SchedulableActionHow long areSchedulableAction.getScheduleIntervalCount()counts measured in?- Specified by:
getScheduleIntervalPeriodin interfaceSchedulableAction
-
setScheduleIntervalPeriod
Description copied from interface:SchedulableActionSets the interval period- Specified by:
setScheduleIntervalPeriodin interfaceSchedulableAction
-
createQName
-