public class CmsDefaultResourceStatusProvider
extends java.lang.Object
| 构造器和说明 |
|---|
CmsDefaultResourceStatusProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CmsRelationTargetListBean |
getContainerpageRelationTargets(CmsObject cms,
CmsUUID source,
java.util.List<CmsUUID> additionalIds,
boolean cancelIfChanged)
Gets the relation targets for a resource.
|
CmsResourceStatusBean |
getResourceStatus(CmsObject cms,
CmsUUID structureId,
java.lang.String contentLocale,
boolean includeTargets,
java.util.List<CmsUUID> additionalStructureIds)
Collects all the data to display in the resource status dialog.
|
protected java.util.List<CmsResourceStatusRelationBean> |
getTargets(CmsObject cms,
CmsUUID structureId,
java.util.List<CmsUUID> additionalStructureIds)
Gets the list of relation targets for a resource.
|
public static CmsRelationTargetListBean getContainerpageRelationTargets(CmsObject cms, CmsUUID source, java.util.List<CmsUUID> additionalIds, boolean cancelIfChanged) throws CmsException
cms - the current CMS contextsource - the structure id of the resource for which we want the relation targetsadditionalIds - the structure ids of additional resources to include with the relation targetscancelIfChanged - if this is true, this method will stop immediately if it finds a changed resource among the relation targetsCmsException - if something goes wrongpublic CmsResourceStatusBean getResourceStatus(CmsObject cms, CmsUUID structureId, java.lang.String contentLocale, boolean includeTargets, java.util.List<CmsUUID> additionalStructureIds) throws CmsException
cms - the current CMS contextstructureId - the structure id of the resource for which we want the informationcontentLocale - the content localeincludeTargets - true if relation targets should be includedadditionalStructureIds - structure ids of additional resources to include with the relation targetsCmsException - if something goes wrongprotected java.util.List<CmsResourceStatusRelationBean> getTargets(CmsObject cms, CmsUUID structureId, java.util.List<CmsUUID> additionalStructureIds) throws CmsException
cms - the current CMS contextstructureId - the structure id of the resource for which we want the relation targetsadditionalStructureIds - structure ids of additional resources to include with the relation targetCmsException - if something goes wrong