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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AProjectEventData(Mandant client, Benutzer user, Locale locale, Projekt project)
-
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, getLocale, getUser, 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, getDefaultSystemState, getLocale, getUser
-
-
-
-
Field Detail
-
project
protected Projekt project
-
-
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.
-
getToStringBuilder
protected org.apache.commons.lang3.builder.ToStringBuilder getToStringBuilder()
- Overrides:
getToStringBuilder
in classAWorkflowEventData
-
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.
-
-