Class EventDeploymentEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.eventregistry.impl.persistence.entity.AbstractEventRegistryNoRevisionEntity
org.flowable.eventregistry.impl.persistence.entity.EventDeploymentEntityImpl
- All Implemented Interfaces:
Serializable
,Entity
,EventDeployment
,EventDeploymentEntity
public class EventDeploymentEntityImpl
extends AbstractEventRegistryNoRevisionEntity
implements EventDeploymentEntity, Serializable
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier 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 Map<String,
EventResourceEntity> protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeployedArtifact
(Object deployedArtifact) void
addResource
(EventResourceEntity resource) <T> List<T>
getDeployedArtifacts
(Class<T> clazz) getName()
Returns a representation of the object, as would be stored in the database.boolean
isNew()
void
setCategory
(String category) void
setDeploymentTime
(Date deploymentTime) void
void
setNew
(boolean isNew) void
setParentDeploymentId
(String parentDeploymentId) void
setResources
(Map<String, EventResourceEntity> resources) void
setTenantId
(String tenantId) toString()
Methods inherited from class org.flowable.eventregistry.impl.persistence.entity.AbstractEventRegistryNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, 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.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from interface org.flowable.eventregistry.api.EventDeployment
getId
-
Field Details
-
name
-
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
-
EventDeploymentEntityImpl
public EventDeploymentEntityImpl()
-
-
Method Details
-
addResource
- Specified by:
addResource
in interfaceEventDeploymentEntity
-
getResources
- Specified by:
getResources
in interfaceEventDeploymentEntity
-
getPersistentState
Description copied from interface:Entity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceEntity
-
addDeployedArtifact
- Specified by:
addDeployedArtifact
in interfaceEventDeploymentEntity
-
getDeployedArtifacts
- Specified by:
getDeployedArtifacts
in interfaceEventDeploymentEntity
-
getName
- Specified by:
getName
in interfaceEventDeployment
-
setName
- Specified by:
setName
in interfaceEventDeploymentEntity
-
getCategory
- Specified by:
getCategory
in interfaceEventDeployment
-
setCategory
- Specified by:
setCategory
in interfaceEventDeploymentEntity
-
getTenantId
- Specified by:
getTenantId
in interfaceEventDeployment
-
setTenantId
- Specified by:
setTenantId
in interfaceEventDeploymentEntity
-
getParentDeploymentId
- Specified by:
getParentDeploymentId
in interfaceEventDeployment
-
setParentDeploymentId
- Specified by:
setParentDeploymentId
in interfaceEventDeploymentEntity
-
setResources
- Specified by:
setResources
in interfaceEventDeploymentEntity
-
getDeploymentTime
- Specified by:
getDeploymentTime
in interfaceEventDeployment
-
setDeploymentTime
- Specified by:
setDeploymentTime
in interfaceEventDeploymentEntity
-
isNew
public boolean isNew()- Specified by:
isNew
in interfaceEventDeploymentEntity
-
setNew
public void setNew(boolean isNew) - Specified by:
setNew
in interfaceEventDeploymentEntity
-
toString
-