Class IdentityLinkEntity

    • Field Detail

      • id

        protected java.lang.String id
      • type

        protected java.lang.String type
      • userId

        protected java.lang.String userId
      • groupId

        protected java.lang.String groupId
      • taskId

        protected java.lang.String taskId
      • processDefId

        protected java.lang.String processDefId
      • tenantId

        protected java.lang.String tenantId
    • Constructor Detail

      • IdentityLinkEntity

        public IdentityLinkEntity()
    • Method Detail

      • 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
      • insert

        public void insert()
      • delete

        public void delete()
      • delete

        public void delete​(boolean withHistory)
      • isUser

        public boolean isUser()
      • isGroup

        public boolean isGroup()
      • setId

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

        public java.lang.String getType()
        Description copied from interface: IdentityLink
        Returns the type of link. See IdentityLinkType for the native supported types by the process engine.
        Specified by:
        getType in interface IdentityLink
      • setType

        public void setType​(java.lang.String type)
      • getUserId

        public java.lang.String getUserId()
        Description copied from interface: IdentityLink
        If the identity link involves a user, then this will be a non-null id of a user. That userId can be used to query for user information through the UserQuery API.
        Specified by:
        getUserId in interface IdentityLink
      • setUserId

        public void setUserId​(java.lang.String userId)
      • getGroupId

        public java.lang.String getGroupId()
        Description copied from interface: IdentityLink
        If the identity link involves a group, then this will be a non-null id of a group. That groupId can be used to query for user information through the GroupQuery API.
        Specified by:
        getGroupId in interface IdentityLink
      • setGroupId

        public void setGroupId​(java.lang.String groupId)
      • getTaskId

        public java.lang.String getTaskId()
        Description copied from interface: IdentityLink
        The id of the task associated with this identity link.
        Specified by:
        getTaskId in interface IdentityLink
      • getProcessDefId

        public java.lang.String getProcessDefId()
        Description copied from interface: IdentityLink
        Get the process definition id
        Specified by:
        getProcessDefId in interface IdentityLink
      • setProcessDefId

        public void setProcessDefId​(java.lang.String processDefId)
      • getTenantId

        public java.lang.String getTenantId()
        Description copied from interface: IdentityLink
        The id of the tenant associated with this identity link.
        Specified by:
        getTenantId in interface IdentityLink
      • setTenantId

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

        public void setTask​(TaskEntity task)
      • fireHistoricIdentityLinkEvent

        public void fireHistoricIdentityLinkEvent​(HistoryEventType eventType)
      • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object