public class WorkflowModel extends CronJobModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_JOBCRONJOBRELATION
Generated relation code constant for relation
JobCronJobRelation defining source attribute job in extension processing. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ACTIONS
Generated constant - Attribute key of
Workflow.actions attribute defined at extension workflow. |
static java.lang.String |
ATTACHMENTS
Generated constant - Attribute key of
Workflow.attachments attribute defined at extension workflow. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
Workflow.description attribute defined at extension workflow. |
static java.lang.String |
NAME
Generated constant - Attribute key of
Workflow.name attribute defined at extension workflow. |
ACTIVE, ACTIVECRONJOBHISTORY, ALTERNATIVEDATASOURCEID, CHANGERECORDINGENABLED, CHANGES, CODE, CRONJOBHISTORYENTRIES, CURRENTSTEP, EMAILADDRESS, EMAILNOTIFICATIONTEMPLATE, ENDTIME, ERRORMODE, FILESCOUNT, FILESDAYSOLD, FILESOPERATOR, JOB, LOGFILES, LOGLEVELDATABASE, LOGLEVELFILE, LOGS, LOGSCOUNT, LOGSDAYSOLD, LOGSOPERATOR, LOGTEXT, LOGTODATABASE, LOGTOFILE, NODEGROUP, NODEID, PENDINGSTEPS, PRIORITY, PROCESSEDSTEPS, QUERYCOUNT, REMOVEONEXIT, REQUESTABORT, REQUESTABORTSTEP, RESULT, RETRY, RUNNINGONCLUSTERNODE, SENDEMAIL, SESSIONCONTEXTVALUES, SESSIONCURRENCY, SESSIONLANGUAGE, SESSIONUSER, SINGLEEXECUTABLE, STARTTIME, STATUS, TIMETABLE, TRIGGERS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
WorkflowModel()
Generated constructor - Default constructor for generic creation.
|
WorkflowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
WorkflowModel(WorkflowTemplateModel _job)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
WorkflowModel(WorkflowTemplateModel _job,
UserModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<WorkflowActionModel> |
getActions()
Generated method - Getter of the
Workflow.actions attribute defined at extension workflow. |
java.util.List<WorkflowItemAttachmentModel> |
getAttachments()
Generated method - Getter of the
Workflow.attachments attribute defined at extension workflow. |
java.lang.String |
getDescription()
Generated method - Getter of the
Workflow.description attribute defined at extension workflow. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
Workflow.description attribute defined at extension workflow. |
WorkflowTemplateModel |
getJob()
Generated method - Getter of the
CronJob.job attribute defined at extension processing and redeclared at extension workflow. |
java.lang.String |
getName()
Generated method - Getter of the
Workflow.name attribute defined at extension workflow. |
java.lang.String |
getName(java.util.Locale loc)
Generated method - Getter of the
Workflow.name attribute defined at extension workflow. |
UserModel |
getOwner()
Generated method - Getter of the
Item.owner attribute defined at extension core and redeclared at extension workflow. |
void |
setActions(java.util.List<WorkflowActionModel> value)
Generated method - Setter of
Workflow.actions attribute defined at extension workflow. |
void |
setAttachments(java.util.List<WorkflowItemAttachmentModel> value)
Generated method - Setter of
Workflow.attachments attribute defined at extension workflow. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
Workflow.description attribute defined at extension workflow. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
Workflow.description attribute defined at extension workflow. |
void |
setJob(JobModel value)
Generated method - Initial setter of
CronJob.job attribute defined at extension processing and redeclared at extension workflow. |
void |
setName(java.lang.String value)
Generated method - Setter of
Workflow.name attribute defined at extension workflow. |
void |
setName(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
Workflow.name attribute defined at extension workflow. |
void |
setOwner(ItemModel value)
Generated method - Setter of
Item.owner attribute defined at extension core and redeclared at extension workflow. |
getActive, getActiveCronJobHistory, getAlternativeDataSourceID, getChangeRecordingEnabled, getChanges, getCode, getCronJobHistoryEntries, getCurrentStep, getEmailAddress, getEmailNotificationTemplate, getEndTime, getErrorMode, getFilesCount, getFilesDaysOld, getFilesOperator, getLogFiles, getLogLevelDatabase, getLogLevelFile, getLogs, getLogsCount, getLogsDaysOld, getLogsOperator, getLogText, getLogToDatabase, getLogToFile, getNodeGroup, getNodeID, getPendingSteps, getPriority, getProcessedSteps, getQueryCount, getRemoveOnExit, getRequestAbort, getRequestAbortStep, getResult, getRetry, getRunningOnClusterNode, getSendEmail, getSessionCurrency, getSessionLanguage, getSessionUser, getSingleExecutable, getStartTime, getStatus, getTimeTable, getTriggers, setActive, setActiveCronJobHistory, setAlternativeDataSourceID, setChangeRecordingEnabled, setCode, setCronJobHistoryEntries, setEmailAddress, setEmailNotificationTemplate, setEndTime, setErrorMode, setFilesCount, setFilesDaysOld, setFilesOperator, setLogFiles, setLogLevelDatabase, setLogLevelFile, setLogsCount, setLogsDaysOld, setLogsOperator, setLogToDatabase, setLogToFile, setNodeGroup, setNodeID, setPendingSteps, setPriority, setProcessedSteps, setQueryCount, setRemoveOnExit, setRequestAbort, setRequestAbortStep, setResult, setRetry, setRunningOnClusterNode, setSendEmail, setSessionCurrency, setSessionLanguage, setSessionUser, setSingleExecutable, setStartTime, setStatus, setTriggersgetComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtimeequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String _JOBCRONJOBRELATION
JobCronJobRelation defining source attribute job in extension processing.public static final java.lang.String NAME
Workflow.name attribute defined at extension workflow.public static final java.lang.String DESCRIPTION
Workflow.description attribute defined at extension workflow.public static final java.lang.String ACTIONS
Workflow.actions attribute defined at extension workflow.public static final java.lang.String ATTACHMENTS
Workflow.attachments attribute defined at extension workflow.public WorkflowModel()
public WorkflowModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public WorkflowModel(WorkflowTemplateModel _job)
_job - initial attribute declared by type Workflow at extension workflow@Deprecated public WorkflowModel(WorkflowTemplateModel _job, UserModel _owner)
_job - initial attribute declared by type Workflow at extension workflow_owner - initial attribute declared by type Workflow at extension workflow@Accessor(qualifier="actions", type=GETTER) public java.util.List<WorkflowActionModel> getActions()
Workflow.actions attribute defined at extension workflow.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="attachments", type=GETTER) public java.util.List<WorkflowItemAttachmentModel> getAttachments()
Workflow.attachments attribute defined at extension workflow.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Workflow.description attribute defined at extension workflow.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Workflow.description attribute defined at extension workflow.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="job", type=GETTER) public WorkflowTemplateModel getJob()
CronJob.job attribute defined at extension processing and redeclared at extension workflow.getJob in class CronJobModel@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Workflow.name attribute defined at extension workflow.@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Workflow.name attribute defined at extension workflow.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="owner", type=GETTER) public UserModel getOwner()
Item.owner attribute defined at extension core and redeclared at extension workflow.@Accessor(qualifier="actions", type=SETTER) public void setActions(java.util.List<WorkflowActionModel> value)
Workflow.actions attribute defined at extension workflow.value - the actions@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(java.util.List<WorkflowItemAttachmentModel> value)
Workflow.attachments attribute defined at extension workflow.value - the attachments - n-part of the WorkflowItemAttachmentRelation; holds a set of attachments (item references) belonging to the topic of workflow@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Workflow.description attribute defined at extension workflow.value - the description - global description of the workflow while each action has its own description@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Workflow.description attribute defined at extension workflow.value - the description - global description of the workflow while each action has its own descriptionloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="job", type=SETTER) public void setJob(JobModel value)
CronJob.job attribute defined at extension processing and redeclared at extension workflow. Can only be used at creation of model - before first save. Will only accept values of type WorkflowTemplateModel.setJob in class CronJobModelvalue - the job - related workflow template this workflow is created from (never changable)@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Workflow.name attribute defined at extension workflow.value - the name - name of the workflow@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Workflow.name attribute defined at extension workflow.value - the name - name of the workflowloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2018 SAP SE. All Rights Reserved.