org.exoplatform.wiki.mow.core.api.wiki
Class PermissionImpl

java.lang.Object
  extended by org.exoplatform.wiki.mow.api.Permission
      extended by org.exoplatform.wiki.mow.core.api.wiki.PermissionImpl

public class PermissionImpl
extends Permission

Created by The eXo Platform SAS Author : phongth phongth@exoplatform.com October 27, 2011


Field Summary
 
Fields inherited from class org.exoplatform.wiki.mow.api.Permission
mowService
 
Constructor Summary
PermissionImpl()
           
 
Method Summary
 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 setPermission(HashMap<String,String[]> permissions, String jcrPath)
           
 
Methods inherited from class org.exoplatform.wiki.mow.api.Permission
getChromatticSession, getJCRNode, getMOWService, setMOWService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionImpl

public PermissionImpl()
Method Detail

getPermission

public HashMap<String,String[]> getPermission(String jcrPath)
                                       throws Exception
Specified by:
getPermission in class Permission
Throws:
Exception

hasPermission

public boolean hasPermission(PermissionType permissionType,
                             String jcrPath)
                      throws Exception
Specified by:
hasPermission in class Permission
Throws:
Exception

hasPermission

public boolean hasPermission(PermissionType permissionType,
                             String jcrPath,
                             org.exoplatform.services.security.Identity user)
                      throws Exception
Specified by:
hasPermission in class Permission
Throws:
Exception

setPermission

public void setPermission(HashMap<String,String[]> permissions,
                          String jcrPath)
                   throws Exception
Specified by:
setPermission in class Permission
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.