Package org.bgerp.dao.expression
Class ProcessChangeExpressionObject
java.lang.Object
org.bgerp.dao.expression.ExpressionContextAccessingObject
org.bgerp.dao.expression.ProcessChangeExpressionObject
- All Implemented Interfaces:
 ExpressionObject
- Direct Known Subclasses:
 ProcessChangeFunctions
Expression object for performing process related operations.
- 
Field Summary
Fields inherited from class org.bgerp.dao.expression.ExpressionContextAccessingObject
context - 
Constructor Summary
ConstructorsConstructorDescriptionProcessChangeExpressionObject(Process process, DynActionForm form, Connection con)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddExecutors(Set<Integer> ids) Добавляет исполнителей в процесс.voidaddExecutors(Set<Integer> groupIds, Set<Integer> userIds, int roleId) Adds process executers with defined groups and roles.voidДобавляет группы решения в процесс.voiddelete()Delete the current process.voiddeleteExecutors(Set<Integer> ids) Удаляет исполнителей процесса.voiddeleteGroups(Set<Integer> ids) Удаляет группы решения процесса и связанных с ними исполнителейvoidemailNotifyExecutors(int paramId, String subject, String text) Deprecated.voidemailNotifyUsers(Collection<Integer> userIds, int paramId, String subject, String text) Deprecated.voidsetPriority(int value) Sets process priority.voidChanges process status.void 
- 
Constructor Details
- 
ProcessChangeExpressionObject
 
 - 
 - 
Method Details
- 
toContext
- Specified by:
 toContextin interfaceExpressionObject- Overrides:
 toContextin classExpressionContextAccessingObject
 - 
delete
Delete the current process.- Throws:
 Exception
 - 
addGroups
Добавляет группы решения в процесс.- Parameters:
 groupIds-roleId-- Throws:
 Exception
 - 
deleteGroups
Удаляет группы решения процесса и связанных с ними исполнителей- Parameters:
 ids- коды групп решения.- Throws:
 Exception
 - 
addExecutors
Добавляет исполнителей в процесс. Группы решения уже должны быть установлены. При этом каждый из добавляемых исполнителей должен входить только в одну из этих групп.- Parameters:
 ids-- Throws:
 Exception
 - 
addExecutors
Adds process executers with defined groups and roles. Execution groups have to be already added.- Parameters:
 groupIds- the group IDs, ornullfor adding to all execution groupsuserIds- the executor IDs to be addedroleId- the role >= 0 or -1 for adding to execution groups with any role- Throws:
 Exception
 - 
deleteExecutors
Удаляет исполнителей процесса.- Parameters:
 ids- коды пользователей.- Throws:
 Exception
 - 
setPriority
Sets process priority.- Parameters:
 value- the value.- Throws:
 Exception
 - 
setStatus
Changes process status.- Parameters:
 value- status ID.- Throws:
 Exception
 - 
emailNotifyExecutors
@Deprecated public void emailNotifyExecutors(int paramId, String subject, String text) throws Exception Deprecated.- Throws:
 Exception
 - 
emailNotifyUsers
@Deprecated public void emailNotifyUsers(Collection<Integer> userIds, int paramId, String subject, String text) throws Exception Deprecated.- Throws:
 Exception
 
 -