public class RenditionPreventionRegistry extends 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 |
---|---|
Set<org.alfresco.service.namespace.QName> |
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(String contentClassName)
Checks if the specified type/aspect is registered as a marker for rendition prevention.
|
void |
register(String contentClass) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService service) |
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService service)
public void register(String contentClass)
public Set<org.alfresco.service.namespace.QName> getRegisteredQNames()
public boolean isContentClassRegistered(String contentClassName)
contentClassName
- aspect name.true
if this class will prevent renditions, else false
public boolean isContentClassRegistered(org.alfresco.service.namespace.QName aspectQName)
aspectQName
- aspect name.true
if this aspect will prevent renditions, else false
Copyright © 2005–2017 Alfresco Software. All rights reserved.