Package org.opencms.ade.publish.shared
Class CmsPublishResourceInfo
- java.lang.Object
-
- org.opencms.ade.publish.shared.CmsPublishResourceInfo
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsPublishResourceInfo extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
A publish resource additional information bean.- Since:
- 7.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsPublishResourceInfo.Type
Reason value constants, when resources can not be published.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsPublishResourceInfo()
For serialization.CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type)
Creates a new publish resource additional information bean.CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type, boolean hidden)
Creates a new publish resource additional information bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsPublishResourceInfo.Type
getType()
Returns the type.java.lang.String
getValue()
Returns the value.boolean
hasProblemType()
Returns if there is a problem type set.boolean
isHidden()
Returns true if the publish resource should be hidden.
-
-
-
Constructor Detail
-
CmsPublishResourceInfo
public CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type)
Creates a new publish resource additional information bean.- Parameters:
value
- the additional infotype
- the additional info type
-
CmsPublishResourceInfo
public CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type, boolean hidden)
Creates a new publish resource additional information bean.- Parameters:
value
- the additional infotype
- the additional info typehidden
- flag to hide the publish resource
-
CmsPublishResourceInfo
protected CmsPublishResourceInfo()
For serialization.
-
-
Method Detail
-
getType
public CmsPublishResourceInfo.Type getType()
Returns the type.- Returns:
- the type
-
getValue
public java.lang.String getValue()
Returns the value.- Returns:
- the value
-
hasProblemType
public boolean hasProblemType()
Returns if there is a problem type set.- Returns:
true
if the problem type is set
-
isHidden
public boolean isHidden()
Returns true if the publish resource should be hidden.- Returns:
- true if the publish resource should be hidden
-
-