Content repository requirements
When you create a custom review zone provider, the content
repository must support the following:
Provide read and write permissions. Optionally, the contribute permission can be provided. (See Implementing review zone providers .) When the content repository does not support the contribute permission or if you cannot integrate with Adobe User Management, then implement the following methods as no-operation (or no-op, which does nothing) in your custom review zone provider:
The methods mentioned are not optional and must be implemented. Ensure that the supportsContributePermission returns false . For example, for a File System-based review zone provider, the methods in your implementation are as follows: public void grantPermission(String nodePath, List<String> usersWithReadPermission, List<String> usersWithReadWritePermission, Boolean applyToChild, Boolean inheritParent) throws PersistenceException, UserNotFoundException { // no-op } public void revokePermission(String nodePath, List<String> usersWithReadPermission, List<String> usersWithReadWritePermission, Boolean applyToChild) throws PersistenceException, UserNotFoundException{ // no-op } public void grantContributePermission(String nodePath, List<String> usersWithContributePermission, Boolean applyToChild, Boolean inheritParent) throws PersistenceException, UserNotFoundException{ //no-op } public void revokeContributePermission(String nodePath, List<String> usersWithContributePermission, Boolean applyToChild) throws PersistenceException, UserNotFoundException{ //no-op } public boolean supportsContributePermission()throws PersistenceException{ return false; } |
|
// Ethnio survey code removed