Package ru.bgcrm.model.process
Class ProcessManager.Mutator
java.lang.Object
ru.bgcrm.model.process.ProcessManager.Mutator
- Enclosing class:
ProcessManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ProcessManager.MutatoraddAddressParam(int paramId, @NotNull ParameterAddressValue address) @NotNull ProcessManager.MutatoraddBlobParam(int paramId, String value) @NotNull ProcessManager.MutatoraddDateParam(int paramId, @NotNull Date date) @NotNull ProcessManager.MutatoraddDateTimeParam(int paramId, @NotNull Date date) addDescription(String message) addDescription(String message, String pattern) @NotNull ProcessManager.MutatoraddFileParam(int paramId, @org.jetbrains.annotations.NotNull byte[] bytes, String fileName) @NotNull ProcessManager.MutatoraddFileParam(int paramId, @NotNull FileData fileData) addlink(int processId) @NotNull ProcessManager.Mutatoraddlink(CommonObjectLink link) @NotNull ProcessManager.Mutator@NotNull ProcessManager.Mutatoraddlink(@Nullable CommonContract commonContract) @NotNull ProcessManager.MutatoraddLinkIfNotExist(int processId) @NotNull ProcessManager.MutatoraddLinkIfNotExist(@Nullable Customer customer) @NotNull ProcessManager.MutatoraddLinkIfNotExist(@Nullable Process process) addLinkIfNotExist(@Nullable CommonContract commonContract) @NotNull ProcessManager.MutatoraddLinkIfNotExist(@Nullable Contract contract) @NotNull ProcessManager.MutatoraddListParam(int paramId, Set<Integer> values) @NotNull ProcessManager.MutatoraddPhoneParam(int paramId, @NotNull String phone, @NotNull String format) @NotNull ProcessManager.MutatoraddPhoneParam(int paramId, @NotNull String phone, @NotNull String format, @NotNull String comment) @NotNull ProcessManager.MutatoraddPhoneParam(int paramId, @NotNull ParameterPhoneValue phone) @NotNull ProcessManager.MutatoraddTextParam(int paramId, String value) applyAndUpdate(Consumer<Process> function) copyParam(int fromObjectId, int paramId) @NotNull ProcessvoidlinkObject(String typeId, int id, String title) voidlinkObjectIfNotExist(String typeId, int id, String title) @NotNull ProcessManager.MutatorsetDescription(@NotNull String description) setExecutor(User user, int roleId) @NotNull ProcessManager.Mutator@NotNull ProcessManager.MutatorsetStatus(int statusId) @NotNull ProcessManager.MutatorupdateTreeParam(int paramId, @NotNull String... values)
-
Constructor Details
-
Mutator
-
-
Method Details
-
setDescription
@NotNull public @NotNull ProcessManager.Mutator setDescription(@NotNull @NotNull String description) throws BGException - Throws:
BGException
-
setHeader
@NotNull public @NotNull ProcessManager.Mutator setHeader(@NotNull @NotNull String header) throws BGException - Throws:
BGException
-
addDescription
- Throws:
BGException
-
addDescription
- Throws:
BGException
-
setStatus
- Throws:
BGException
-
addTextParam
@NotNull public @NotNull ProcessManager.Mutator addTextParam(int paramId, String value) throws BGException - Throws:
BGException
-
addBlobParam
@NotNull public @NotNull ProcessManager.Mutator addBlobParam(int paramId, String value) throws BGException - Throws:
BGException
-
addListParam
@NotNull public @NotNull ProcessManager.Mutator addListParam(int paramId, Set<Integer> values) throws BGException - Throws:
BGException
-
updateTreeParam
@NotNull public @NotNull ProcessManager.Mutator updateTreeParam(int paramId, @NotNull @NotNull String... values) throws BGException - Throws:
BGException
-
addPhoneParam
@NotNull public @NotNull ProcessManager.Mutator addPhoneParam(int paramId, @NotNull @NotNull String phone, @NotNull @NotNull String format) throws BGException - Throws:
BGException
-
addPhoneParam
@NotNull public @NotNull ProcessManager.Mutator addPhoneParam(int paramId, @NotNull @NotNull ParameterPhoneValue phone) throws BGException - Throws:
BGException
-
addPhoneParam
@NotNull public @NotNull ProcessManager.Mutator addPhoneParam(int paramId, @NotNull @NotNull String phone, @NotNull @NotNull String format, @NotNull @NotNull String comment) throws BGException - Throws:
BGException
-
addDateTimeParam
@NotNull public @NotNull ProcessManager.Mutator addDateTimeParam(int paramId, @NotNull @NotNull Date date) throws BGException - Throws:
BGException
-
addDateParam
@NotNull public @NotNull ProcessManager.Mutator addDateParam(int paramId, @NotNull @NotNull Date date) throws BGException - Throws:
BGException
-
addAddressParam
@NotNull public @NotNull ProcessManager.Mutator addAddressParam(int paramId, @NotNull @NotNull ParameterAddressValue address) throws BGException - Throws:
BGException
-
addFileParam
@NotNull public @NotNull ProcessManager.Mutator addFileParam(int paramId, @NotNull @NotNull FileData fileData) throws BGException - Throws:
BGException
-
addFileParam
@NotNull public @NotNull ProcessManager.Mutator addFileParam(int paramId, @NotNull @org.jetbrains.annotations.NotNull byte[] bytes, String fileName) throws BGException - Throws:
BGException
-
addlink
@NotNull public @NotNull ProcessManager.Mutator addlink(@Nullable @Nullable Contract contract) throws BGException - Throws:
BGException
-
addlink
@NotNull public @NotNull ProcessManager.Mutator addlink(@Nullable @Nullable Customer customer) throws BGException - Throws:
BGException
-
addlink
@NotNull public @NotNull ProcessManager.Mutator addlink(@Nullable @Nullable Process process) throws BGException - Throws:
BGException
-
addlink
@NotNull public @NotNull ProcessManager.Mutator addlink(@Nullable @Nullable Process process, String objectType) throws BGException - Throws:
BGException
-
addlink
public ProcessManager.Mutator addlink(@Nullable @Nullable CommonContract commonContract) throws BGException - Throws:
BGException
-
addlink
- Throws:
BGException
-
addLinkIfNotExist
@NotNull public @NotNull ProcessManager.Mutator addLinkIfNotExist(@Nullable @Nullable Contract contract) throws BGException - Throws:
BGException
-
addLinkIfNotExist
@NotNull public @NotNull ProcessManager.Mutator addLinkIfNotExist(@Nullable @Nullable Customer customer) throws BGException - Throws:
BGException
-
addLinkIfNotExist
@NotNull public @NotNull ProcessManager.Mutator addLinkIfNotExist(@Nullable @Nullable Process process) throws BGException - Throws:
BGException
-
addLinkIfNotExist
public ProcessManager.Mutator addLinkIfNotExist(@Nullable @Nullable CommonContract commonContract) throws BGException - Throws:
BGException
-
addLinkIfNotExist
- Throws:
BGException
-
getProcess
-
applyAndUpdate
- Throws:
BGException
-
linkObject
- Throws:
BGException
-
linkObjectIfNotExist
- Throws:
BGException
-
copyParam
- Throws:
BGException
-
addlink
- Throws:
BGException
-
addlink
- Throws:
BGException
-
addLinkIfNotExist
- Throws:
BGException
-
setExecutor
-