Package org.opencms.workflow
Class CmsExtendedRealProjectWrapper
java.lang.Object
org.opencms.ade.publish.CmsRealProjectVirtualWrapper
org.opencms.workflow.CmsExtendedRealProjectWrapper
- All Implemented Interfaces:
I_CmsVirtualProject
Project wrapper which specially handles the 'release' workflow by reading resources of a project regardless of publish permissions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the resources of the virtual project.Methods inherited from class org.opencms.ade.publish.CmsRealProjectVirtualWrapper
getProjectBean, getProjectId, getRelatedResourceProvider, isAutoSelectable
-
Constructor Details
-
CmsExtendedRealProjectWrapper
Creates a new wrapper instance.- Parameters:
id
- the project id
-
-
Method Details
-
getResources
public List<CmsResource> getResources(CmsObject cms, Map<String, String> params, String workflowId) throws CmsExceptionDescription copied from interface:I_CmsVirtualProject
Gets the resources of the virtual project.- Specified by:
getResources
in interfaceI_CmsVirtualProject
- Overrides:
getResources
in classCmsRealProjectVirtualWrapper
- Parameters:
cms
- the CMS context to useparams
- the publish parametersworkflowId
- the workflow id- Returns:
- the generated list of resources
- Throws:
CmsException
- if something goes wrong- See Also:
-