public class RenditionPreventionRegistry
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RenditionPreventionRegistry.SelfRegisteringClassName
A utility class which ensures that the specified aspect/type name is registered.
|
| Constructor and Description |
|---|
RenditionPreventionRegistry() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getRegisteredQNames() |
boolean |
isContentClassRegistered(org.alfresco.service.namespace.QName aspectQName)
Checks if the specified type/aspect is registered as a marker for rendition prevention.
|
boolean |
isContentClassRegistered(java.lang.String contentClassName)
Checks if the specified type/aspect is registered as a marker for rendition prevention.
|
void |
register(java.lang.String contentClass) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService service) |
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService service)
public void register(java.lang.String contentClass)
public java.util.Set getRegisteredQNames()
public boolean isContentClassRegistered(java.lang.String contentClassName)
contentClassName - aspect name.true if this class will prevent renditions, else falsepublic boolean isContentClassRegistered(org.alfresco.service.namespace.QName aspectQName)
contentClassName - aspect name.true if this aspect will prevent renditions, else falseCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.