Package de.xima.fc.gui.model.project
Class ProjectViewModel
- java.lang.Object
-
- de.xima.fc.gui.model.project.AEntityViewModel<Projekt>
-
- de.xima.fc.gui.model.project.ProjectViewModel
-
- All Implemented Interfaces:
IEntityViewModel<Projekt>
,Serializable
,Comparable<ProjectViewModel>
public class ProjectViewModel extends AEntityViewModel<Projekt> implements Comparable<ProjectViewModel>
Model for displaying only the necessary information of a project- Author:
- XIMA MEDIA GmbH, Dresden - Norman Lorenz - 07.07.2020
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.model.project.AEntityViewModel
id
-
-
Method Summary
-
Methods inherited from class de.xima.fc.gui.model.project.AEntityViewModel
equals, getId, hashCode
-
-
-
-
Method Detail
-
isOnline
public boolean isOnline()
-
isWorkflowVersionInvalid
public boolean isWorkflowVersionInvalid()
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getGroupName
public String getGroupName()
-
setGroupName
public void setGroupName(String groupName)
-
isActive
public boolean isActive()
-
getScope
public String getScope()
-
isCustomScope
public boolean isCustomScope()
-
getActiveVersionId
public Long getActiveVersionId()
-
getActiveWorkflowVersionId
public Long getActiveWorkflowVersionId()
-
isEditingAllowed
public boolean isEditingAllowed()
-
setEditingAllowed
public void setEditingAllowed(boolean editingAllowed)
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
-
getUnreadRecordCount
public int getUnreadRecordCount()
-
getTotalRecordCount
public int getTotalRecordCount()
-
getCustomProjectMenuUrl
public URL getCustomProjectMenuUrl()
-
setCustomProjectMenuUrl
public void setCustomProjectMenuUrl(URL customProjectMenuUrl)
-
getProvideUri
public String getProvideUri()
-
getPreviewUri
public String getPreviewUri()
-
getDesignerUri
public String getDesignerUri()
-
getThumbnailUri
public String getThumbnailUri()
-
getWorkflowDesignerUri
public String getWorkflowDesignerUri()
-
getProjectLinkMenu
public org.primefaces.model.menu.MenuModel getProjectLinkMenu()
-
isShowGroupHeader
public boolean isShowGroupHeader()
-
setShowGroupHeader
public void setShowGroupHeader(boolean showGroupHeader)
-
update
public void update(IEntityContext ec, Benutzer user, List<BenutzerGruppe> userGroups, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
updateUris
public void updateUris(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
updateRecordData
public void updateRecordData(IEntityContext ec)
-
compareTo
public int compareTo(ProjectViewModel o)
- Specified by:
compareTo
in interfaceComparable<ProjectViewModel>
-
toString
public String toString()
- Overrides:
toString
in classAEntityViewModel<Projekt>
-
-