Class VitruvioTaskEntity

Object
VariableScopeImpl
TaskEntity
VitruvioTaskEntity
All Implemented Interfaces:
VitruvioTask, Serializable, DelegateTask, VariableScope, BulkDeleteable, HasRevision, PersistentObject, Task, TaskInfo

public class VitruvioTaskEntity extends TaskEntity implements VitruvioTask, Serializable
See Also:
  • Field Summary

    Fields inherited from class TaskEntity

    assignee, category, createTime, delegationState, DELETE_REASON_COMPLETED, DELETE_REASON_DELETED, description, dueDate, eventName, execution, executionId, forcedUpdate, formKey, initialAssignee, isDeleted, isIdentityLinksInitialized, localizedDescription, localizedName, name, owner, parentTaskId, priority, processDefinitionId, processInstance, processInstanceId, queryVariables, revision, suspensionState, taskDefinition, taskDefinitionKey, taskIdentityLinkEntities, tenantId

    Fields inherited from class VariableScopeImpl

    cachedElContext, id, usedVariablesCache, variableInstances

    Fields inherited from interface Task

    DEFAULT_PRIORITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Retorna a data final do canlendário
    Retorna a data inicial do calendário
     
     
     
     
    Prioridade
     
    boolean
    Determina se a tarefa atual é uma convocacao ativa
    boolean
    Determina se atarefa pode ser transferida usando a UI default do vitruvio
    void
     
    void
     
    void
    setActiveCall(boolean activeCall)
     
    void
    setCalendarEnd(Date calendarEnd)
     
    void
    setCalendarStart(Date calendarStart)
     
    void
     
    void
    setHTMLStatus(String htmlStatus)
     
    void
    setReleaseTime(Date startTime)
     
    void
     
    void
     
    void
     
    protected void
     
    void
    setTaskWeight(int taskWeight)
     
    void
    setTransferAssigneeAllowed(boolean transferAssigneeAllowed)
     
     
    Cor da tarefa, para exibicao em listas (Background)
    Retorna uma descricao para ser usada por implementacoes que exibirem as tarefas em listas
    Cor da tarefa, para exibicao em listas (Foreground)
    int
    Abstracacao da nocao de importancia desta tarefa em relação à tarefas similares, dependendo do contexto

    Methods inherited from class TaskEntity

    addCandidateGroup, addCandidateGroups, addCandidateUser, addCandidateUsers, addGroupIdentityLink, addIdentityLink, addUserIdentityLink, complete, create, createAndInsert, createVariableInstance, delegate, deleteCandidateGroup, deleteCandidateUser, deleteGroupIdentityLink, deleteIdentityLink, deleteUserIdentityLink, fireEvent, forceUpdate, getActivityInstanceVariables, getAssignee, getCandidates, getCategory, getCreateTime, getDelegationState, getDelegationStateString, getDescription, getDueDate, getEventName, getExecution, getExecutionId, getFormKey, getIdentityLinks, getName, getOwner, getParentTaskId, getParentVariableScope, getPersistentState, getPriority, getProcessDefinitionId, getProcessInstance, getProcessInstanceId, getProcessVariables, getQueryVariables, getRevision, getRevisionNext, getSpecificVariable, getSpecificVariables, getSuspensionState, getTaskDefinition, getTaskDefinitionKey, getTaskLocalVariables, getTenantId, getVariableInstanceEntities, initializeVariableInstanceBackPointer, insert, isActivityIdUsedForDetails, isDeleted, isSuspended, loadVariableInstances, resolve, setAssignee, setAssignee, setAssigneeWithoutCascade, setCategory, setCategoryWithoutCascade, setCreateTime, setDelegationState, setDelegationStateString, setDeleted, setDescription, setDescriptionWithoutCascade, setDueDate, setDueDate, setDueDateWithoutCascade, setEventName, setExecution, setExecution, setExecutionId, setExecutionVariables, setFormKey, setFormKeyWithoutCascade, setLocalizedDescription, setLocalizedName, setName, setNameWithoutCascade, setOwner, setOwner, setOwnerWithoutCascade, setParentTaskId, setParentTaskIdWithoutCascade, setPriority, setPriority, setPriorityWithoutCascade, setProcessDefinitionId, setProcessInstance, setProcessInstanceId, setQueryVariables, setRevision, setSuspensionState, setTaskDefinition, setTaskDefinitionKey, setTaskDefinitionKeyWithoutCascade, setTenantId, toString, update, updateVariableInstance

    Methods inherited from class VariableScopeImpl

    collectVariableInstances, collectVariableNames, collectVariables, createVariableLocal, createVariableLocal, createVariablesLocal, deleteVariableInstanceForExplicitUserCall, deleteVariablesInstanceForLeavingScope, ensureVariableInstancesInitialized, getCachedElContext, getId, getSourceActivityExecution, getUsedVariablesCache, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, getVariableValues, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setId, setVariable, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface DelegateTask

    getId

    Methods inherited from interface PersistentObject

    getId, setId

    Methods inherited from interface Task

    delegate, getDelegationState, isSuspended, setAssignee, setCategory, setDelegationState, setDescription, setDueDate, setFormKey, setLocalizedDescription, setLocalizedName, setName, setOwner, setParentTaskId, setPriority, setTenantId

    Methods inherited from interface TaskInfo

    getAssignee, getCategory, getCreateTime, getDescription, getDueDate, getExecutionId, getFormKey, getId, getName, getOwner, getParentTaskId, getPriority, getProcessDefinitionId, getProcessInstanceId, getProcessVariables, getTaskDefinitionKey, getTaskLocalVariables, getTenantId

    Methods inherited from interface VariableScope

    createVariableLocal, getVariable, getVariable, getVariable, getVariableInstance, getVariableInstance, getVariableInstanceLocal, getVariableInstanceLocal, getVariableInstances, getVariableInstances, getVariableInstances, getVariableInstancesLocal, getVariableInstancesLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocal, getVariableNames, getVariableNamesLocal, getVariables, getVariables, getVariables, getVariablesLocal, getVariablesLocal, getVariablesLocal, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariables, setVariablesLocal
  • Constructor Details

    • VitruvioTaskEntity

      public VitruvioTaskEntity()
  • Method Details

    • getHistoricProcessInstance

      public VitruvioHistoricProcessInstance getHistoricProcessInstance()
      Specified by:
      getHistoricProcessInstance in interface VitruvioTask
    • setHistoricProcessInstance

      public void setHistoricProcessInstance(VitruvioHistoricProcessInstance instance)
    • getTaskPriority

      public Prioridade getTaskPriority()
      Specified by:
      getTaskPriority in interface VitruvioTask
    • getState

      public TaskState getState()
      Specified by:
      getState in interface VitruvioTask
    • setTaskState

      protected void setTaskState(TaskState state)
    • getReleaseTime

      public Date getReleaseTime()
      Specified by:
      getReleaseTime in interface VitruvioTask
    • setReleaseTime

      public void setReleaseTime(Date startTime)
    • setActionsAsShortcutJSON

      public void setActionsAsShortcutJSON(String json)
    • setActionsAsShortcuts

      public void setActionsAsShortcuts(TaskActionShortcut actionsAsShortcuts)
    • getActionsAsShortcuts

      public TaskActionShortcut getActionsAsShortcuts()
      Specified by:
      getActionsAsShortcuts in interface VitruvioTask
    • setHTMLStatus

      public void setHTMLStatus(String htmlStatus)
    • taskHTMLStatus

      public String taskHTMLStatus()
      Specified by:
      taskHTMLStatus in interface VitruvioTask
    • taskListBackgroundColor

      public String taskListBackgroundColor()
      Description copied from interface: VitruvioTask
      Cor da tarefa, para exibicao em listas (Background)
      Specified by:
      taskListBackgroundColor in interface VitruvioTask
      Returns:
    • setTaskListBackgroundColor

      public void setTaskListBackgroundColor(String color)
    • taskListForegroundColor

      public String taskListForegroundColor()
      Description copied from interface: VitruvioTask
      Cor da tarefa, para exibicao em listas (Foreground)
      Specified by:
      taskListForegroundColor in interface VitruvioTask
      Returns:
    • setTaskListForegroundColor

      public void setTaskListForegroundColor(String color)
    • setTaskListDescription

      public void setTaskListDescription(String desc)
    • taskListDescription

      public String taskListDescription()
      Description copied from interface: VitruvioTask
      Retorna uma descricao para ser usada por implementacoes que exibirem as tarefas em listas
      Specified by:
      taskListDescription in interface VitruvioTask
      Returns:
    • calendarStart

      public Date calendarStart()
      Description copied from interface: VitruvioTask
      Retorna a data inicial do calendário
      Specified by:
      calendarStart in interface VitruvioTask
    • setCalendarStart

      public void setCalendarStart(Date calendarStart)
    • calendarEnd

      public Date calendarEnd()
      Description copied from interface: VitruvioTask
      Retorna a data final do canlendário
      Specified by:
      calendarEnd in interface VitruvioTask
    • setCalendarEnd

      public void setCalendarEnd(Date calendarEnd)
    • setActiveCall

      public void setActiveCall(boolean activeCall)
    • isActiveCall

      public boolean isActiveCall()
      Description copied from interface: VitruvioTask
      Determina se a tarefa atual é uma convocacao ativa
      Specified by:
      isActiveCall in interface VitruvioTask
      Returns:
    • setTaskWeight

      public void setTaskWeight(int taskWeight)
    • taskWeight

      public int taskWeight()
      Description copied from interface: VitruvioTask
      Abstracacao da nocao de importancia desta tarefa em relação à tarefas similares, dependendo do contexto
      Specified by:
      taskWeight in interface VitruvioTask
      Returns:
    • setTransferAssigneeAllowed

      public void setTransferAssigneeAllowed(boolean transferAssigneeAllowed)
    • isTransferAssigneeAllowed

      public boolean isTransferAssigneeAllowed()
      Description copied from interface: VitruvioTask
      Determina se atarefa pode ser transferida usando a UI default do vitruvio
      Specified by:
      isTransferAssigneeAllowed in interface VitruvioTask
      Returns: