Class CaseSentryPartEntity

    • Field Detail

      • id

        protected java.lang.String id
      • revision

        protected int revision
      • caseInstanceId

        protected java.lang.String caseInstanceId
      • caseExecutionId

        protected java.lang.String caseExecutionId
      • sourceCaseExecutionId

        protected java.lang.String sourceCaseExecutionId
      • tenantId

        protected java.lang.String tenantId
    • Constructor Detail

      • CaseSentryPartEntity

        public CaseSentryPartEntity()
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface DbEntity
      • setId

        public void setId​(java.lang.String id)
        Specified by:
        setId in interface DbEntity
      • getCaseInstanceId

        public java.lang.String getCaseInstanceId()
      • ensureCaseInstanceInitialized

        protected void ensureCaseInstanceInitialized()
      • getCaseExecutionId

        public java.lang.String getCaseExecutionId()
      • ensureCaseExecutionInitialized

        protected void ensureCaseExecutionInitialized()
      • ensureSourceCaseExecutionInitialized

        protected void ensureSourceCaseExecutionInitialized()
      • getTenantId

        public java.lang.String getTenantId()
      • setTenantId

        public void setTenantId​(java.lang.String tenantId)
      • forceUpdate

        public void forceUpdate()
      • getPersistentState

        public java.lang.Object getPersistentState()
        Description copied from interface: DbEntity
        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 interface DbEntity
      • findCaseExecutionById

        protected CaseExecutionEntity findCaseExecutionById​(java.lang.String caseExecutionId)
      • getReferencedEntityIds

        public java.util.Set<java.lang.String> getReferencedEntityIds()
        Description copied from interface: HasDbReferences

        Scope: IN-MEMORY references

        Specified by:
        getReferencedEntityIds in interface HasDbReferences
        Returns:
        the ids of the entities that this entity references. Should only return ids for entities of the same type
      • getReferencedEntitiesIdAndClass

        public java.util.Map<java.lang.String,​java.lang.Class> getReferencedEntitiesIdAndClass()
        Description copied from interface: HasDbReferences

        Scope: IN-MEMORY references

        Specified by:
        getReferencedEntitiesIdAndClass in interface HasDbReferences
        Returns:
        a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.