Class AProjectEventData
java.lang.Object
de.xima.fc.workflow.event.AWorkflowEventData
de.xima.fc.workflow.event.AProjectEventData
- All Implemented Interfaces:
IProjectProvidingEvent, IWorkflowEventData, Serializable
- Direct Known Subclasses:
AFormRecordEventData
public abstract class AProjectEventData
extends AWorkflowEventData
implements IProjectProvidingEvent
Base POJO class implementing the methods of
IProjectProvidingEvent.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.builder.ToStringBuildervoidMethods inherited from class AWorkflowEventData
getClient, getClock, getLocale, getUserModel, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IWorkflowEventData
getClient, getClock, getDefaultSystemState, getLocale, getUser, getUserModel, getWorkflowExecutionPostProcessors
-
Field Details
-
project
-
-
Constructor Details
-
AProjectEventData
protected AProjectEventData(Mandant client, IUser user, Locale locale, Clock clock, Projekt project) - Parameters:
client- Client context for the workflow execution.user- User who initiated the event.locale- Locale to use during workflow execution for locale-sensitive operations.clock- The clock to use for obtaining the current time.project- Project for which to run the workflow.- Since:
- 8.0.0
-
AProjectEventData
Deprecated.- Parameters:
client- Client context for the workflow execution.user- User who initiated the event.locale- Locale to use during workflow execution for locale-sensitive operations.project- Project for which to run the workflow.
-
-
Method Details
-
getProject
- Specified by:
getProjectin interfaceIProjectProvidingEvent- Returns:
- The project of the event. Only triggers belonging to the
Projekt.getActiveWorkflowVersion()are fired.
-
update
- Specified by:
updatein interfaceIProjectProvidingEvent- Parameters:
project- Updates the project. This will always be the same project, but may reflect a new state in the database.
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()- Overrides:
getToStringBuilderin classAWorkflowEventData
-
AProjectEventData(Mandant, IUser, Locale, Clock, Projekt).