Class ProcessEntity
java.lang.Object
com.suncode.pwfl.workflow.process.ProcessEntity
- All Implemented Interfaces:
Process
Klasa przechowująca dane o procesie.
- Author:
- Paweł Rosolak 27-09-2012
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Wywołanie metody gdy indeksy nie są załadowane rzuci wyjątekgetIndexValue
(String id) Wywołanie metody gdy indeksy nie są załadowane rzuci wyjątekgetName()
getState()
boolean
void
setActivities
(Set<ActivityEntity> activities) void
setCreatedTime
(Date created) void
setDescription
(String description) void
setIndexes
(List<IndexInfo> indexes) void
setIndexLoaded
(boolean indexLoaded) void
setLastStateTime
(Date lastStateTime) void
setObjectId
(Long objectId) void
setProcessDefinition
(ProcessDefinition processDefinition) void
setProcessId
(String processId) void
setProcessState
(ProcessStateEntity processState) void
setRawName
(String rawName) void
setStartedTime
(Date started) void
setState
(ProcessState state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.suncode.pwfl.workflow.process.Process
getObjectVersion, getResourceRequesterId
-
Field Details
-
JOIN_ACTIVITIES
Pozwala dołączyć zadania procesu- See Also:
-
JOIN_PROCESS_DEFINITION
Pozwala dołączyć definicję procesu- See Also:
-
-
Constructor Details
-
ProcessEntity
-
ProcessEntity
public ProcessEntity()
-
-
Method Details
-
getProcessId
- Specified by:
getProcessId
in interfaceProcess
- Returns:
- Id procesu
-
setProcessId
-
getName
-
getObjectId
- Specified by:
getObjectId
in interfaceProcess
- Returns:
- Id obiektu, unikalne spośród wszystkich obiektów systemu
-
setObjectId
-
getDescription
- Specified by:
getDescription
in interfaceProcess
- Returns:
- Opis procesu
-
setDescription
-
getRawDescription
- Specified by:
getRawDescription
in interfaceProcess
- Returns:
- Opis procesu
-
getCreatedTime
- Specified by:
getCreatedTime
in interfaceProcess
- Returns:
- Czas utworzenia procesu
-
setCreatedTime
-
getStartedTime
- Specified by:
getStartedTime
in interfaceProcess
- Returns:
- Czas wystartowania procesu
-
setStartedTime
-
getLastStateTime
- Specified by:
getLastStateTime
in interfaceProcess
- Returns:
- Czas ostatniej zmiany stanu procesu
-
setLastStateTime
-
getLimitTime
- Specified by:
getLimitTime
in interfaceProcess
- Returns:
- Czas deadline'u procesu
-
getProcessState
-
setProcessState
-
getState
-
setState
-
getProcessDefinition
- Specified by:
getProcessDefinition
in interfaceProcess
- Returns:
- Definicja procesu
-
setProcessDefinition
-
getActivities
-
setActivities
-
getIndexes
-
setIndexes
-
addIndex
-
getIndex
Description copied from interface:Process
Wywołanie metody gdy indeksy nie są załadowane rzuci wyjątek -
getIndexValue
Description copied from interface:Process
Wywołanie metody gdy indeksy nie są załadowane rzuci wyjątek- Specified by:
getIndexValue
in interfaceProcess
- Parameters:
id
- Id zmiennej procesu- Returns:
- Wartość zmiennej
-
getRawName
- Specified by:
getRawName
in interfaceProcess
- Returns:
- Nazwa procesu
-
setRawName
-
isIndexLoaded
public boolean isIndexLoaded()- Specified by:
isIndexLoaded
in interfaceProcess
- Returns:
- true jeżeli indeksy procesu są załadowane
-
setIndexLoaded
public void setIndexLoaded(boolean indexLoaded)
-