Package org.opencms.ui.apps.publishqueue
Class CmsQueuedTable.Row
- java.lang.Object
-
- org.opencms.ui.apps.publishqueue.CmsQueuedTable.Row
-
- Enclosing class:
- CmsQueuedTable
public class CmsQueuedTable.Row extends java.lang.Object
Row bean for the bean item container.
-
-
Constructor Summary
Constructors Constructor Description Row(CmsPublishJobBase job, int sortType)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFilesCount()
Gets the file count.com.vaadin.server.Resource
getIcon()
Gets the icon.CmsPublishJobBase
getJob()
Gets the publish job.java.lang.String
getProject()
Gets the project name.java.util.List<?>
getResourceList()
Gets the resource list.java.lang.String
getResources()
Gets the resource list as a string.int
getSortType()
Used for initial sorting.java.util.Date
getStart()
Gets the start date of the job.java.lang.String
getStatus()
Gets the job state.java.lang.String
getStatusLocale()
Gets the user friendly label for the state.java.util.Date
getStop()
Gets the stop date for the job.java.lang.String
getUser()
Gets the name of the user who started the job.
-
-
-
Constructor Detail
-
Row
public Row(CmsPublishJobBase job, int sortType)
Creates a new instance.- Parameters:
job
- the underlying publish job
-
-
Method Detail
-
getFilesCount
public int getFilesCount()
Gets the file count.- Returns:
- the file count
-
getIcon
public com.vaadin.server.Resource getIcon()
Gets the icon.- Returns:
- the icon
-
getJob
public CmsPublishJobBase getJob()
Gets the publish job.- Returns:
- the publish job
-
getProject
public java.lang.String getProject()
Gets the project name.- Returns:
- the project name
-
getResourceList
public java.util.List<?> getResourceList()
Gets the resource list.- Returns:
- the resource list
-
getResources
public java.lang.String getResources()
Gets the resource list as a string.- Returns:
- the resource list string representation
-
getSortType
public int getSortType()
Used for initial sorting.- Returns:
- the sort type
-
getStart
public java.util.Date getStart()
Gets the start date of the job.- Returns:
- the start date
-
getStatus
public java.lang.String getStatus()
Gets the job state.- Returns:
- the job state
-
getStatusLocale
public java.lang.String getStatusLocale()
Gets the user friendly label for the state.- Returns:
- the user friendly state description
-
getStop
public java.util.Date getStop()
Gets the stop date for the job.- Returns:
- the stop date
-
getUser
public java.lang.String getUser()
Gets the name of the user who started the job.- Returns:
- the user name for the job
-
-