Package de.xima.fc.gui.model.project
Class ProjectWrapper
- java.lang.Object
-
- de.xima.fc.gui.model.project.ProjectWrapper
-
- All Implemented Interfaces:
IDataContainer
,IEntityWrapper<Projekt>
,Serializable
public class ProjectWrapper extends Object implements IEntityWrapper<Projekt>
Wrapper model for projects in a user sessions. Allows for lazy access.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectWrapper(Projekt project, Benutzer user, List<BenutzerGruppe> userGroups, boolean userHasUpdatePermission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Projekt
getEntity()
boolean
isEditable()
boolean
isUpdatable()
void
updateData()
Should update data when called
-
-
-
Constructor Detail
-
ProjectWrapper
public ProjectWrapper(Projekt project, Benutzer user, List<BenutzerGruppe> userGroups, boolean userHasUpdatePermission)
-
-
Method Detail
-
getEntity
public Projekt getEntity()
- Specified by:
getEntity
in interfaceIEntityWrapper<Projekt>
-
isEditable
public boolean isEditable()
-
isUpdatable
public boolean isUpdatable()
-
updateData
public void updateData()
Description copied from interface:IDataContainer
Should update data when called- Specified by:
updateData
in interfaceIDataContainer
-
-