public class CmsPublishGroupList extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
It may be the case that there are too many resources to display. In this case, the instance will not contain the publish groups, but instead a publish list token which can be used later to reconstruct the publish list.
| Constructor and Description |
|---|
CmsPublishGroupList()
Default constructor.
|
CmsPublishGroupList(CmsPublishListToken token)
Constructs a new instance with a publish list token and an empty group list.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsPublishGroup> |
getGroups()
Gets the list of publish groups.
|
java.lang.String |
getOverrideWorkflowId()
Gets the override workflow id.
|
CmsPublishListToken |
getToken()
Returns the token.
|
java.lang.String |
getTooManyResourcesMessage()
Gets the message which should be displayed if the token is being used instead of the list of publish groups.
|
void |
setGroups(java.util.List<CmsPublishGroup> groups)
Sets the publish groups.
|
void |
setOverrideWorkflowId(java.lang.String id)
Sets the Override workflow.
|
void |
setTooManyResourcesMessage(java.lang.String tooManyResourcesMessage)
Sets the tooManyResourcesMessage.
|
public CmsPublishGroupList()
public CmsPublishGroupList(CmsPublishListToken token)
token - the publish list token to usepublic java.util.List<CmsPublishGroup> getGroups()
public java.lang.String getOverrideWorkflowId()
If this is not null, this indicates that the publish groups were fetched for a different workflow than that selected by default in the publish dialog, and that the publish dialog should change its selected workflow accordingly.
public CmsPublishListToken getToken()
public java.lang.String getTooManyResourcesMessage()
public void setGroups(java.util.List<CmsPublishGroup> groups)
groups - the list of publish groupspublic void setOverrideWorkflowId(java.lang.String id)
id - the id of the override workflowpublic void setTooManyResourcesMessage(java.lang.String tooManyResourcesMessage)
tooManyResourcesMessage - the tooManyResourcesMessage to set