public abstract class AbstractRepositoryCapabilities extends Object implements RepositoryCapabilities
Modifier and Type | Field and Description |
---|---|
protected Map<String,Boolean> |
capabilities
Map of Alfresco Specific capabilities.
|
CAPABILITY_COMMENTS_COUNT, CAPABILITY_LIKE
Constructor and Description |
---|
AbstractRepositoryCapabilities() |
Modifier and Type | Method and Description |
---|---|
boolean |
doesSupportCapability(String capability)
Determines whether the repository supports the given capability.
|
boolean |
doesSupportCommentsCount()
Comment count is only available since Alfresco V4.
|
boolean |
doesSupportLikingNodes()
Like action and LikeService are only available since Alfresco V4.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doesSupportActivitiWorkflowEngine, doesSupportJBPMWorkflowEngine, doesSupportMyFiles, doesSupportPublicAPI, doesSupportSharedFiles
public boolean doesSupportLikingNodes()
doesSupportLikingNodes
in interface RepositoryCapabilities
public boolean doesSupportCommentsCount()
doesSupportCommentsCount
in interface RepositoryCapabilities
public boolean doesSupportCapability(String capability)
doesSupportCapability
in interface RepositoryCapabilities
capability
- : One of the constant present in RepositoryCapabilities
interface.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.