Class PolicyDefinitionEntityImpl
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.PolicyDefinitionEntityImpl
- All Implemented Interfaces:
PolicyDefinition
,PolicyDefinitionEntity
,HasRevision
,Entity
public class PolicyDefinitionEntityImpl
extends AbstractPolicyEngineEntity
implements PolicyDefinitionEntity
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
protected String
protected String
protected String
protected String
protected List<PolicyDefinitionLink>
protected boolean
protected String
protected String
protected String
protected int
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the creation timestamp of this data object.Returns the id of the user creating this data object.getKey()
getName()
Returns the policy definition links that are linked to the policy definition.Getter used by MyBatis when querying policy definitions with policy definition links.getType()
int
void
setCreationTime
(Date creationTime) void
setCreatorId
(String creatorId) void
setDeploymentId
(String deploymentId) void
void
void
setPolicyDefinitionLinks
(List<PolicyDefinitionLink> policyDefinitionLinks) void
setQueryPolicyDefinitionLinks
(List<PolicyDefinitionLink> policyDefinitionLinks) Setter used by MyBatis when querying policy definitions with policy definition links.void
setResourceName
(String resourceName) void
setTenantId
(String tenantId) void
void
setVersion
(int version) 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, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.common.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
Methods inherited from interface com.flowable.policy.api.repository.PolicyDefinition
getId
-
Field Details
-
key
-
version
protected int version -
deploymentId
-
tenantId
-
type
-
name
-
resourceName
-
creationTime
-
creatorId
-
policyDefinitionLinksInitialized
protected boolean policyDefinitionLinksInitialized -
policyDefinitionLinks
-
-
Constructor Details
-
PolicyDefinitionEntityImpl
public PolicyDefinitionEntityImpl()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfacePolicyDefinition
-
setKey
- Specified by:
setKey
in interfacePolicyDefinitionEntity
-
getVersion
public int getVersion()- Specified by:
getVersion
in interfacePolicyDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfacePolicyDefinitionEntity
-
getDeploymentId
- Specified by:
getDeploymentId
in interfacePolicyDefinition
-
setDeploymentId
- Specified by:
setDeploymentId
in interfacePolicyDefinitionEntity
-
getTenantId
- Specified by:
getTenantId
in interfacePolicyDefinition
-
setTenantId
- Specified by:
setTenantId
in interfacePolicyDefinitionEntity
-
getType
- Specified by:
getType
in interfacePolicyDefinition
-
setType
- Specified by:
setType
in interfacePolicyDefinitionEntity
-
getName
- Specified by:
getName
in interfacePolicyDefinition
-
setName
- Specified by:
setName
in interfacePolicyDefinitionEntity
-
getResourceName
- Specified by:
getResourceName
in interfacePolicyDefinition
-
setResourceName
- Specified by:
setResourceName
in interfacePolicyDefinitionEntity
-
getCreationTime
Description copied from interface:PolicyDefinition
Returns the creation timestamp of this data object.- Specified by:
getCreationTime
in interfacePolicyDefinition
- Returns:
- the creation timestamp
-
setCreationTime
- Specified by:
setCreationTime
in interfacePolicyDefinitionEntity
-
getCreatorId
Description copied from interface:PolicyDefinition
Returns the id of the user creating this data object.- Specified by:
getCreatorId
in interfacePolicyDefinition
- Returns:
- the id of the creation user
-
setCreatorId
- Specified by:
setCreatorId
in interfacePolicyDefinitionEntity
-
getPolicyDefinitionLinks
Description copied from interface:PolicyDefinition
Returns the policy definition links that are linked to the policy definition.- Specified by:
getPolicyDefinitionLinks
in interfacePolicyDefinition
- Returns:
- the optional list of policy definition links
-
setPolicyDefinitionLinks
- Specified by:
setPolicyDefinitionLinks
in interfacePolicyDefinitionEntity
-
getQueryPolicyDefinitionLinks
Getter used by MyBatis when querying policy definitions with policy definition links. -
setQueryPolicyDefinitionLinks
Setter used by MyBatis when querying policy definitions with policy definition links. -
getPersistentState
- Specified by:
getPersistentState
in interfaceEntity
-