Class TemplateVariationDTO
java.lang.Object
com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
com.flowable.platform.rest.service.api.template.TemplateVariationDTO
public class TemplateVariationDTO extends TemplateVariationOverviewDTO
An extended overview DTO object of a template variation, extending the overview DTO accordingly.
- Author:
- Micha Kiener
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<DeploymentAuditEntryDTO>
auditEntries
protected boolean
byCurrentUser
Will be set to true, if the change was triggered by the current user (which means, they cannot approve).protected java.lang.String
contentId
protected TemplateManagementDefinitionDTO
definition
protected java.lang.String
externalId
protected java.lang.String
formKey
protected boolean
inApproval
Will be set to true, if this template variation was changed and is in approval currently.protected java.lang.String
newVariationContent
protected java.lang.String
newVariationContentResource
protected java.util.List<TemplateParameter>
parameters
protected java.lang.String
triggeringUserName
Will hold the name of the user triggering the template variation change.protected java.util.Date
validFrom
protected java.util.Date
validTo
protected java.lang.String
variationContent
protected java.lang.String
variationContentResource
protected java.lang.String
versionTimestamp
Fields inherited from class com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
editable, id, key, name, subType, templateName, type, variationKey
-
Constructor Summary
Constructors Constructor Description TemplateVariationDTO(TemplateModel template, TemplateVariationModel variationModel, TemplateVariationDefinition variation, java.lang.String newVariationContent, java.lang.String newVariationContentResource, TemplateManagementDefinitionDTO definition, java.util.List<DeploymentAuditEntryDTO> auditEntries, boolean inApproval, boolean byCurrentUser, java.lang.String triggeringUserName)
-
Method Summary
Modifier and Type Method Description java.util.List<DeploymentAuditEntryDTO>
getAuditEntries()
java.lang.String
getContentId()
TemplateManagementDefinitionDTO
getDefinition()
java.lang.String
getExternalId()
java.lang.String
getFormKey()
java.lang.String
getNewVariationContent()
java.lang.String
getNewVariationContentResource()
java.util.List<TemplateParameter>
getParameters()
java.lang.String
getTriggeringUserName()
java.util.Date
getValidFrom()
java.util.Date
getValidTo()
java.lang.String
getVariationContent()
java.lang.String
getVariationContentResource()
java.lang.String
getVersionTimestamp()
boolean
isByCurrentUser()
boolean
isInApproval()
Methods inherited from class com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
getId, getKey, getName, getSubType, getTemplateName, getType, getVariationKey, isEditable
-
Field Details
-
formKey
protected java.lang.String formKey -
validFrom
protected java.util.Date validFrom -
validTo
protected java.util.Date validTo -
externalId
protected java.lang.String externalId -
contentId
protected java.lang.String contentId -
variationContent
protected java.lang.String variationContent -
newVariationContent
protected java.lang.String newVariationContent -
variationContentResource
protected java.lang.String variationContentResource -
newVariationContentResource
protected java.lang.String newVariationContentResource -
parameters
-
definition
-
versionTimestamp
protected java.lang.String versionTimestamp -
auditEntries
-
inApproval
protected boolean inApprovalWill be set to true, if this template variation was changed and is in approval currently. -
byCurrentUser
protected boolean byCurrentUserWill be set to true, if the change was triggered by the current user (which means, they cannot approve). -
triggeringUserName
protected java.lang.String triggeringUserNameWill hold the name of the user triggering the template variation change.
-
-
Constructor Details
-
TemplateVariationDTO
public TemplateVariationDTO(TemplateModel template, TemplateVariationModel variationModel, TemplateVariationDefinition variation, java.lang.String newVariationContent, java.lang.String newVariationContentResource, TemplateManagementDefinitionDTO definition, java.util.List<DeploymentAuditEntryDTO> auditEntries, boolean inApproval, boolean byCurrentUser, java.lang.String triggeringUserName)
-
-
Method Details
-
getFormKey
public java.lang.String getFormKey() -
getValidFrom
public java.util.Date getValidFrom() -
getValidTo
public java.util.Date getValidTo() -
getExternalId
public java.lang.String getExternalId() -
getContentId
public java.lang.String getContentId() -
getVariationContent
public java.lang.String getVariationContent() -
getNewVariationContent
public java.lang.String getNewVariationContent() -
getVariationContentResource
public java.lang.String getVariationContentResource() -
getNewVariationContentResource
public java.lang.String getNewVariationContentResource() -
getParameters
-
getVersionTimestamp
public java.lang.String getVersionTimestamp() -
getAuditEntries
-
isInApproval
public boolean isInApproval() -
isByCurrentUser
public boolean isByCurrentUser() -
getTriggeringUserName
public java.lang.String getTriggeringUserName() -
getDefinition
-