Package de.xima.fc.workflow.event
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 ofIProjectProvidingEvent
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Projekt
getProject()
protected org.apache.commons.lang3.builder.ToStringBuilder
getToStringBuilder()
void
update(Projekt project)
-
Methods inherited from class de.xima.fc.workflow.event.AWorkflowEventData
getClient, getClock, getLocale, getUserModel, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.workflow.event.IWorkflowEventData
getClient, getClock, getDefaultSystemState, getLocale, getUser, getUserModel, getWorkflowExecutionPostProcessors
-
-
-
-
Field Detail
-
project
protected Projekt project
-
-
Constructor Detail
-
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 protected AProjectEventData(Mandant client, IUser user, Locale locale, Projekt project)
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 Detail
-
getProject
public Projekt getProject()
- Specified by:
getProject
in interfaceIProjectProvidingEvent
- Returns:
- The project of the event. Only triggers belonging to the
Projekt.getActiveWorkflowVersion()
are fired.
-
update
public void update(Projekt project)
- Specified by:
update
in 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:
getToStringBuilder
in classAWorkflowEventData
-
-