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<QName> |
getRegisteredQNames() |
boolean |
isContentClassRegistered(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(NamespaceService service) |
public void setNamespaceService(NamespaceService service)
public void register(String contentClass)
public Set<QName> getRegisteredQNames()
public boolean isContentClassRegistered(String contentClassName)
contentClassName - aspect name.true if this class will prevent renditions, else falsepublic boolean isContentClassRegistered(QName aspectQName)
aspectQName - aspect name.true if this aspect will prevent renditions, else falseCopyright © 2005–2020 Alfresco Software. All rights reserved.