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 SummaryConstructors
- 
Method SummaryModifier 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- 
NoPermissionsValidatorpublic NoPermissionsValidator()
 
- 
- 
Method Details- 
findInvalidResourcesDescription copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidatorFinds the resources which should be excluded.- Specified by:
- findInvalidResourcesin interface- CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
- resources- the set of input resources
- Returns:
- the excluded resources
- See Also:
 
- 
getInfoForResourceDescription copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidatorGets the status information for an excluded resource.- Specified by:
- getInfoForResourcein interface- CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
- resource- the resource for which to get the status
- Returns:
- the status for the resource
- See Also:
 
 
-