public class QuickShareLinkExpiryActionImpl extends ActionImpl implements QuickShareLinkExpiryAction
SchedulableAction.IntervalPeriod
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTOR_NAME |
static String |
QUICK_SHARE_LINK_EXPIRY_ACTION_NAME |
Constructor and Description |
---|
QuickShareLinkExpiryActionImpl(Action action) |
QuickShareLinkExpiryActionImpl(String id,
String sharedId,
String description) |
Modifier and Type | Method and Description |
---|---|
static org.alfresco.service.namespace.QName |
createQName(String sharedId) |
org.alfresco.service.namespace.QName |
getActionQName()
Gets the qualified name which uniquely identifies this quick share link expiry action.
|
ScheduledPersistedAction |
getSchedule()
Gets the schedule (
ScheduledPersistedAction used to get the trigger details. |
Integer |
getScheduleIntervalCount()
How many
SchedulableAction.getScheduleIntervalPeriod() periods
should we wait between executions?
Will be null if the action isn't scheduled to
be repeated. |
SchedulableAction.IntervalPeriod |
getScheduleIntervalPeriod()
How long are
SchedulableAction.getScheduleIntervalCount() counts
measured in? |
Date |
getScheduleStart()
Get the first date that the action should be run
on or after, or null if it should start shortly
after each startup.
|
String |
getSharedId()
Gets the quick share sharedId.
|
protected void |
setActionQName(org.alfresco.service.namespace.QName actionQName) |
void |
setSchedule(ScheduledPersistedAction schedule)
Sets the schedule (
ScheduledPersistedAction used to set the trigger details. |
void |
setScheduleIntervalCount(Integer count)
Sets how many periods should be waited between
each execution, or null if it shouldn't be
repeated.
|
void |
setScheduleIntervalPeriod(SchedulableAction.IntervalPeriod period)
Sets the interval period
|
void |
setScheduleStart(Date startDate)
Sets the first date that the action should be
run on or after.
|
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, toString
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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, setTrackStatus
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
public static final String EXECUTOR_NAME
public static final String QUICK_SHARE_LINK_EXPIRY_ACTION_NAME
public QuickShareLinkExpiryActionImpl(String id, String sharedId, String description)
id
- the action idsharedId
- a unique name for the quick share link expiry action.description
- the action descriptionpublic QuickShareLinkExpiryActionImpl(Action action)
protected void setActionQName(org.alfresco.service.namespace.QName actionQName)
public org.alfresco.service.namespace.QName getActionQName()
QuickShareLinkExpiryAction
getActionQName
in interface QuickShareLinkExpiryAction
public ScheduledPersistedAction getSchedule()
QuickShareLinkExpiryAction
ScheduledPersistedAction
used to get the trigger details.getSchedule
in interface QuickShareLinkExpiryAction
public void setSchedule(ScheduledPersistedAction schedule)
QuickShareLinkExpiryAction
ScheduledPersistedAction
used to set the trigger details.setSchedule
in interface QuickShareLinkExpiryAction
public String getSharedId()
QuickShareLinkExpiryAction
getSharedId
in interface QuickShareLinkExpiryAction
public Date getScheduleStart()
SchedulableAction
getScheduleStart
in interface SchedulableAction
public void setScheduleStart(Date startDate)
SchedulableAction
setScheduleStart
in interface SchedulableAction
public Integer getScheduleIntervalCount()
SchedulableAction
SchedulableAction.getScheduleIntervalPeriod()
periods
should we wait between executions?
Will be null if the action isn't scheduled to
be repeated.getScheduleIntervalCount
in interface SchedulableAction
public void setScheduleIntervalCount(Integer count)
SchedulableAction
setScheduleIntervalCount
in interface SchedulableAction
public SchedulableAction.IntervalPeriod getScheduleIntervalPeriod()
SchedulableAction
SchedulableAction.getScheduleIntervalCount()
counts
measured in?getScheduleIntervalPeriod
in interface SchedulableAction
public void setScheduleIntervalPeriod(SchedulableAction.IntervalPeriod period)
SchedulableAction
setScheduleIntervalPeriod
in interface SchedulableAction
public static org.alfresco.service.namespace.QName createQName(String sharedId)
Copyright © 2005–2017 Alfresco Software. All rights reserved.