public class CmsPublishOptions
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
PARAM_CONTAINERPAGE
Parameter name for the container page structure id.
|
static java.lang.String |
PARAM_CONTENT
Parameter name for the content structure id.
|
static java.lang.String |
PARAM_DETAIL
Parameter name for the detail content structure id.
|
static java.lang.String |
PARAM_ENABLE_INCLUDE_CONTENTS
Parameter for enabling the 'add contents' check box.
|
static java.lang.String |
PARAM_FILES
The name of the parameter used for passing in the list of resources.
|
static java.lang.String |
PARAM_INCLUDE_CONTENTS
The name of the parameter which controls whether to add sub-resources of folders.
|
static java.lang.String |
PARAM_START_WITH_CURRENT_PAGE
Parameter for indicating that the initial project should be the 'current page' virtual project.
|
构造器和说明 |
---|
CmsPublishOptions()
Creates a new publish options bean.
|
CmsPublishOptions(boolean includeRelated,
boolean includeSiblings,
CmsUUID projectId)
Creates a new publish options bean.
|
CmsPublishOptions(java.util.Map<java.lang.String,java.lang.String> params)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Gets the additional publish parameters.
|
CmsUUID |
getProjectId()
Returns the project id.
|
boolean |
isIncludeRelated()
Checks if to include related resources.
|
boolean |
isIncludeSiblings()
Checks if to include siblings.
|
void |
setIncludeRelated(boolean includeRelated)
Sets the flag to include related resources.
|
void |
setIncludeSiblings(boolean includeSiblings)
Sets the flag to include siblings.
|
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> params)
Sets the additional publish parameters.
|
void |
setProjectId(CmsUUID projectId)
Sets the id of the project to publish.
|
public static final java.lang.String PARAM_CONTAINERPAGE
public static final java.lang.String PARAM_CONTENT
public static final java.lang.String PARAM_DETAIL
public static final java.lang.String PARAM_ENABLE_INCLUDE_CONTENTS
public static final java.lang.String PARAM_FILES
public static final java.lang.String PARAM_INCLUDE_CONTENTS
public static final java.lang.String PARAM_START_WITH_CURRENT_PAGE
public CmsPublishOptions()
public CmsPublishOptions(boolean includeRelated, boolean includeSiblings, CmsUUID projectId)
includeRelated
- Flag to include related resourcesincludeSiblings
- Flag to include siblingsprojectId
- The id of the project to publishpublic CmsPublishOptions(java.util.Map<java.lang.String,java.lang.String> params)
params
- the additional publish parameterspublic java.util.Map<java.lang.String,java.lang.String> getParameters()
public CmsUUID getProjectId()
public boolean isIncludeRelated()
true
if to include related resourcespublic boolean isIncludeSiblings()
true
if to include siblingspublic void setIncludeRelated(boolean includeRelated)
includeRelated
- the flag to setpublic void setIncludeSiblings(boolean includeSiblings)
includeSiblings
- the flag to setpublic void setParameters(java.util.Map<java.lang.String,java.lang.String> params)
params
- the additional parameters to setpublic void setProjectId(CmsUUID projectId)
projectId
- the id to set