public class CmsPublishResourceInfo
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符和类型 | 类和说明 |
---|---|
static class |
CmsPublishResourceInfo.Type
Reason value constants, when resources can not be published.
|
限定符 | 构造器和说明 |
---|---|
protected |
CmsPublishResourceInfo()
For serialization.
|
|
CmsPublishResourceInfo(java.lang.String value,
CmsPublishResourceInfo.Type type)
Creates a new publish resource additional information bean.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getNoPreviewReason()
Returns the no preview available reason.
|
CmsPublishResourceInfo.Type |
getType()
Returns the type.
|
java.lang.String |
getValue()
Returns the value.
|
boolean |
hasNoPreviewReason()
Returns if the no preview available reason is set.
|
boolean |
hasProblemType()
Returns if there is a problem type set.
|
void |
setNoPreviewReason(java.lang.String noPreviewReason)
Sets the no preview available reason.
|
public CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type)
value
- the additional infotype
- the additional info typeprotected CmsPublishResourceInfo()
public java.lang.String getNoPreviewReason()
public CmsPublishResourceInfo.Type getType()
public java.lang.String getValue()
public boolean hasNoPreviewReason()
true
if the no preview available reason is not emptypublic boolean hasProblemType()
true
if the problem type is setpublic void setNoPreviewReason(java.lang.String noPreviewReason)
noPreviewReason
- the no preview available reason