public class PermissionImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MOWService |
mowService |
| Constructor and Description |
|---|
PermissionImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected org.chromattic.api.ChromatticSession |
getChromatticSession() |
protected javax.jcr.Node |
getJCRNode(String path) |
MOWService |
getMOWService() |
HashMap<String,String[]> |
getPermission(String jcrPath) |
boolean |
hasPermission(PermissionType permissionType,
String jcrPath) |
boolean |
hasPermission(PermissionType permissionType,
String jcrPath,
org.exoplatform.services.security.Identity user) |
void |
setMOWService(MOWService mowService) |
void |
setPermission(HashMap<String,String[]> permissions,
String jcrPath) |
protected MOWService mowService
public void setMOWService(MOWService mowService)
public MOWService getMOWService()
public HashMap<String,String[]> getPermission(String jcrPath) throws WikiException
WikiExceptionpublic boolean hasPermission(PermissionType permissionType, String jcrPath)
public boolean hasPermission(PermissionType permissionType, String jcrPath, org.exoplatform.services.security.Identity user)
public void setPermission(HashMap<String,String[]> permissions, String jcrPath) throws WikiException
WikiExceptionprotected org.chromattic.api.ChromatticSession getChromatticSession()
protected javax.jcr.Node getJCRNode(String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.