Uses of Interface
org.silverpeas.core.workflow.api.user.Replacement
-
-
Uses of Replacement in org.silverpeas.core.webapi.workflow
Methods in org.silverpeas.core.webapi.workflow with type parameters of type Replacement Modifier and Type Method Description <T extends Replacement<T>>
Collection<ReplacementEntity>ReplacementResource. getAllReplacements(String incumbentId, String substituteId)
Gets all the replacements that were created in the requested workflow.Methods in org.silverpeas.core.webapi.workflow with parameters of type Replacement Modifier and Type Method Description static ReplacementEntity
ReplacementEntity. asWebEntity(Replacement<?> replacement, URI uri)
-
Uses of Replacement in org.silverpeas.core.workflow.api.user
Classes in org.silverpeas.core.workflow.api.user with type parameters of type Replacement Modifier and Type Interface Description interface
Replacement<T extends Replacement<T>>
A replacement of a user by another one in a given period of time to exercise the responsibilities of the former for all the tasks in which he's implied.class
ReplacementList<T extends Replacement<T>>
A list dedicated toReplacement
instances.class
ReplacementList.FilterStream<R extends Replacement>
Methods in org.silverpeas.core.workflow.api.user with type parameters of type Replacement Modifier and Type Method Description <T extends Replacement<T>>
voidReplacement.Repository. delete(Replacement<T> replacement)
Deletes the specified replacement in this repository.<T extends Replacement<T>>
TReplacement.Constructor. during(Period period)
Sets the period of time the replacement will be performed and constructs it.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllByIncumbentAndByWorkflow(User user, String workflowInstanceId)
Finds all the replacements by the specified replaced user and by the workflow instance identifier.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllBySubstituteAndByWorkflow(User user, String workflowInstanceId)
Finds all the replacements by the specified substitute and by the workflow instance identifier.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllByUsersAndByWorkflow(User incumbent, User substitute, String workflowInstanceId)
Finds all the replacements between the two specified users and created in the specified workflow instance.<T extends Replacement<T>>
List<T>Replacement.Repository. findAllByWorkflow(String workflowInstanceId)
Finds all the replacements created in the specified workflow instance.<T extends Replacement<T>>
TReplacement.Repository. findById(String replacementId)
Gets the replacement with the specified unique identifier.static <T extends Replacement<T>>
Optional<T>Replacement. get(String replacementId)
Gets the replacement with the specified unique identifier.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAll(String workflowInstanceId)
Gets all the replacements that are defined in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllBy(User substitute, String workflowInstanceId)
Gets all the replacements exercised by the specified user in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllOf(User incumbent, String workflowInstanceId)
Gets all the replacements of the specified user in the specified workflow instance.static <T extends Replacement<T>>
ReplacementList<T>Replacement. getAllWith(User incumbent, User substitute, String workflowInstanceId)
Gets all the replacements in which the specified users are implied and that are defined in the specified workflow instance.<T extends Replacement<T>>
TReplacement.Repository. save(Replacement<T> replacement)
Saves or updates the specified replacement into this repository.Methods in org.silverpeas.core.workflow.api.user that return Replacement Modifier and Type Method Description Replacement<T>
Replacement. setPeriod(Period period)
Sets a new period in days over which this replacement will be enabled.Replacement<T>
Replacement. setSubstitute(User user)
Sets a new substitute to this replacement.Methods in org.silverpeas.core.workflow.api.user with parameters of type Replacement Modifier and Type Method Description <T extends Replacement<T>>
voidReplacement.Repository. delete(Replacement<T> replacement)
Deletes the specified replacement in this repository.default boolean
Replacement. isSameAs(Replacement<T> replacement)
Is this replacement same as the specified one?<T extends Replacement<T>>
TReplacement.Repository. save(Replacement<T> replacement)
Saves or updates the specified replacement into this repository. -
Uses of Replacement in org.silverpeas.core.workflow.engine.notification
Methods in org.silverpeas.core.workflow.engine.notification with parameters of type Replacement Modifier and Type Method Description protected void
AbstractReplacementNotificationBuilder. performNotificationResource(String language, Replacement resource, NotificationResourceData notificationResourceData)
protected void
AbstractReplacementNotificationBuilder. performTemplateData(String language, Replacement resource, SilverpeasTemplate template)
protected void
ToIncumbentReplacementNotificationBuilder. performTemplateData(String language, Replacement resource, SilverpeasTemplate template)
protected void
ToSubstituteReplacementNotificationBuilder. performTemplateData(String language, Replacement resource, SilverpeasTemplate template)
-
Uses of Replacement in org.silverpeas.core.workflow.engine.user
Classes in org.silverpeas.core.workflow.engine.user that implement Replacement Modifier and Type Class Description class
ReplacementImpl
Implementation of the replacement business object by using JPA for the persistence.Methods in org.silverpeas.core.workflow.engine.user with type parameters of type Replacement Modifier and Type Method Description <T extends Replacement<T>>
voidReplacementRepository. delete(Replacement<T> replacement)
<T extends Replacement<T>>
TReplacementRepository. save(Replacement<T> replacement)
Methods in org.silverpeas.core.workflow.engine.user with parameters of type Replacement Modifier and Type Method Description protected ReplacementEvent
ReplacementEventNotifier. createResourceEventFrom(ResourceEvent.Type type, Replacement... states)
<T extends Replacement<T>>
voidReplacementRepository. delete(Replacement<T> replacement)
<T extends Replacement<T>>
TReplacementRepository. save(Replacement<T> replacement)
Constructors in org.silverpeas.core.workflow.engine.user with parameters of type Replacement Constructor Description ReplacementEvent(ResourceEvent.Type type, Replacement... states)
Constructs a new event about a given replacement.
-