Package org.opencms.workflow
Class CmsDefaultPublishResourceFormatter.NoPermissionsValidator
java.lang.Object
org.opencms.workflow.CmsDefaultPublishResourceFormatter.NoPermissionsValidator
- All Implemented Interfaces:
CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Enclosing class:
- CmsDefaultPublishResourceFormatter
public class CmsDefaultPublishResourceFormatter.NoPermissionsValidator
extends Object
implements CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Validator which excludes resources for which the user has no publish permissions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindInvalidResources
(Set<CmsResource> resources) Finds the resources which should be excluded.getInfoForResource
(CmsResource resource) Gets the status information for an excluded resource.
-
Constructor Details
-
NoPermissionsValidator
public NoPermissionsValidator()
-
-
Method Details
-
findInvalidResources
Description copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Finds the resources which should be excluded.- Specified by:
findInvalidResources
in interfaceCmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
resources
- the set of input resources- Returns:
- the excluded resources
- See Also:
-
getInfoForResource
Description copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Gets the status information for an excluded resource.- Specified by:
getInfoForResource
in interfaceCmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
resource
- the resource for which to get the status- Returns:
- the status for the resource
- See Also:
-