Package de.xima.fc.gui.model.version
Class ProjectVersionModel
- java.lang.Object
-
- de.xima.fc.gui.model.version.ProjectVersionModel
-
- All Implemented Interfaces:
Serializable
public class ProjectVersionModel extends Object implements Serializable
Model class for the editing the list of project versions, including form versions and workflow versions. Also contains methods for loading and saving the versions.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectVersionModel(AProjectDetailsBean projectDetails, Benutzer user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectVersionEntry
copy(ProjectVersionEntry item)
ProjectVersionEntry
createNew()
Creates a new project version, including a form and workflow version.void
delete(ProjectVersionEntry item)
List<ProjectVersionEntry>
getAll()
ProjectVersionEntry
getSelected()
boolean
isEmptyList()
void
save()
void
setSelected(ProjectVersionEntry selected)
-
-
-
Constructor Detail
-
ProjectVersionModel
public ProjectVersionModel(AProjectDetailsBean projectDetails, Benutzer user)
-
-
Method Detail
-
copy
public ProjectVersionEntry copy(ProjectVersionEntry item)
-
createNew
public ProjectVersionEntry createNew()
Creates a new project version, including a form and workflow version. When the project uses the old workflow, no workflow version is created.- Returns:
- A project version entry with the new form and workflow version.
-
delete
public void delete(ProjectVersionEntry item)
-
getAll
public List<ProjectVersionEntry> getAll()
-
getSelected
public ProjectVersionEntry getSelected()
-
isEmptyList
public boolean isEmptyList()
-
save
public void save()
-
setSelected
public void setSelected(ProjectVersionEntry selected)
-
-