This class implements the typical mime type and extension filter. This will be a registered bean with the component manager that application components can extend to control the list of mime types and the list of acceptable extentions.
The list of mime types to allow. The passed in content resource will be tested to see if the resouce's primary mime type is included in the list (ie "text" for "text/xml") and then the whole mime type will be tested for existence in the list.
public boolean isViewAll()
public void setViewAll(boolean viewAll)
boolean to indicate if all resources should be viewable. If this is false, then the viewable resources will be based on the mime types and extention set in the other properties.
This method controls which "create" actions are allowed for ContentCollections.
Filtering "create" actions based on mimetype and extension is not yet
supported very well, so this may require tweaking over time.