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 TypeMethodDescriptionvoidWywoł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()booleanvoidsetActivities(Set<ActivityEntity> activities) voidsetCreatedTime(Date created) voidsetDescription(String description) voidsetIndexes(List<IndexInfo> indexes) voidsetIndexLoaded(boolean indexLoaded) voidsetLastStateTime(Date lastStateTime) voidsetObjectId(Long objectId) voidsetProcessDefinition(ProcessDefinition processDefinition) voidsetProcessId(String processId) voidsetProcessState(ProcessStateEntity processState) voidsetRawName(String rawName) voidsetStartedTime(Date started) voidsetState(ProcessState state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getProcessIdin interfaceProcess- Returns:
- Id procesu
-
setProcessId
-
getName
-
getObjectId
- Specified by:
getObjectIdin interfaceProcess- Returns:
- Id obiektu, unikalne spośród wszystkich obiektów systemu
-
setObjectId
-
getDescription
- Specified by:
getDescriptionin interfaceProcess- Returns:
- Opis procesu
-
setDescription
-
getRawDescription
- Specified by:
getRawDescriptionin interfaceProcess- Returns:
- Opis procesu
-
getCreatedTime
- Specified by:
getCreatedTimein interfaceProcess- Returns:
- Czas utworzenia procesu
-
setCreatedTime
-
getStartedTime
- Specified by:
getStartedTimein interfaceProcess- Returns:
- Czas wystartowania procesu
-
setStartedTime
-
getLastStateTime
- Specified by:
getLastStateTimein interfaceProcess- Returns:
- Czas ostatniej zmiany stanu procesu
-
setLastStateTime
-
getLimitTime
- Specified by:
getLimitTimein interfaceProcess- Returns:
- Czas deadline'u procesu
-
getProcessState
-
setProcessState
-
getState
-
setState
-
getProcessDefinition
- Specified by:
getProcessDefinitionin interfaceProcess- Returns:
- Definicja procesu
-
setProcessDefinition
-
getActivities
-
setActivities
-
getIndexes
-
setIndexes
-
addIndex
-
getIndex
Description copied from interface:ProcessWywołanie metody gdy indeksy nie są załadowane rzuci wyjątek -
getIndexValue
Description copied from interface:ProcessWywołanie metody gdy indeksy nie są załadowane rzuci wyjątek- Specified by:
getIndexValuein interfaceProcess- Parameters:
id- Id zmiennej procesu- Returns:
- Wartość zmiennej
-
getRawName
- Specified by:
getRawNamein interfaceProcess- Returns:
- Nazwa procesu
-
setRawName
-
isIndexLoaded
public boolean isIndexLoaded()- Specified by:
isIndexLoadedin interfaceProcess- Returns:
- true jeżeli indeksy procesu są załadowane
-
setIndexLoaded
public void setIndexLoaded(boolean indexLoaded)
-