Class PolicyDeploymentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
com.flowable.policy.engine.impl.persistence.entity.AbstractPolicyEngineEntity
com.flowable.policy.engine.impl.persistence.entity.PolicyDeploymentEntityImpl
- All Implemented Interfaces:
PolicyDeployment
,PolicyDeploymentEntity
,Serializable
,EngineDeployment
,HasRevision
,Entity
public class PolicyDeploymentEntityImpl
extends AbstractPolicyEngineEntity
implements PolicyDeploymentEntity, Serializable
- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Will only be used during actual deployment to pass deployed artifacts (eg form definitions).protected Date
protected boolean
protected String
protected String
protected String
protected Map<String,
EngineResource> protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeployedArtifact
(Object deployedArtifact) void
addResource
(PolicyResourceEntity resource) <T> List<T>
getDeployedArtifacts
(Class<T> clazz) getKey()
getName()
boolean
isNew()
void
setCategory
(String category) void
setDeploymentTime
(Date deploymentTime) void
void
void
setNew
(boolean isNew) void
setParentDeploymentId
(String parentDeploymentId) void
setResources
(Map<String, EngineResource> resources) void
setTenantId
(String tenantId) toString()
Methods inherited from class com.flowable.policy.engine.impl.persistence.entity.AbstractPolicyEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.api.repository.EngineDeployment
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
name
-
key
-
category
-
tenantId
-
parentDeploymentId
-
resources
-
deploymentTime
-
isNew
protected boolean isNew -
deployedArtifacts
Will only be used during actual deployment to pass deployed artifacts (eg form definitions). Will be null otherwise.
-
-
Constructor Details
-
PolicyDeploymentEntityImpl
public PolicyDeploymentEntityImpl()
-
-
Method Details
-
addResource
- Specified by:
addResource
in interfacePolicyDeploymentEntity
-
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-
addDeployedArtifact
- Specified by:
addDeployedArtifact
in interfacePolicyDeploymentEntity
-
getDeployedArtifacts
- Specified by:
getDeployedArtifacts
in interfacePolicyDeploymentEntity
-
getName
- Specified by:
getName
in interfaceEngineDeployment
-
setName
- Specified by:
setName
in interfacePolicyDeploymentEntity
-
getKey
- Specified by:
getKey
in interfaceEngineDeployment
-
setKey
- Specified by:
setKey
in interfacePolicyDeploymentEntity
-
getResources
- Specified by:
getResources
in interfaceEngineDeployment
-
getCategory
- Specified by:
getCategory
in interfaceEngineDeployment
-
setCategory
- Specified by:
setCategory
in interfacePolicyDeploymentEntity
-
getTenantId
- Specified by:
getTenantId
in interfaceEngineDeployment
-
setTenantId
- Specified by:
setTenantId
in interfacePolicyDeploymentEntity
-
getParentDeploymentId
- Specified by:
getParentDeploymentId
in interfacePolicyDeployment
-
setParentDeploymentId
- Specified by:
setParentDeploymentId
in interfacePolicyDeploymentEntity
-
setResources
- Specified by:
setResources
in interfacePolicyDeploymentEntity
-
getDeploymentTime
- Specified by:
getDeploymentTime
in interfaceEngineDeployment
-
setDeploymentTime
- Specified by:
setDeploymentTime
in interfacePolicyDeploymentEntity
-
isNew
public boolean isNew()- Specified by:
isNew
in interfaceEngineDeployment
- Specified by:
isNew
in interfacePolicyDeploymentEntity
-
setNew
public void setNew(boolean isNew) - Specified by:
setNew
in interfacePolicyDeploymentEntity
-
getDerivedFrom
- Specified by:
getDerivedFrom
in interfaceEngineDeployment
-
getDerivedFromRoot
- Specified by:
getDerivedFromRoot
in interfaceEngineDeployment
-
getEngineVersion
- Specified by:
getEngineVersion
in interfaceEngineDeployment
-
toString
-