public interface PermissionManager extends PermissionFactory
FOLDER_PERMISSION, FRAGMENT_PERMISSION, PAGE_PERMISSION, PORTLET_PERMISSIONnewPermission, newPermission, parseActionsboolean permissionExists(JetspeedPermission permission)
Permissions getPermissions(JetspeedPrincipal principal)
Permissions getPermissions(Principal[] principals)
List<JetspeedPermission> getPermissions()
List<JetspeedPermission> getPermissions(String typeName)
List<JetspeedPermission> getPermissions(String typeName, String nameFilter)
List<JetspeedPrincipal> getPrincipals(JetspeedPermission permission)
List<JetspeedPrincipal> getPrincipals(JetspeedPermission permission, String principalType)
void addPermission(JetspeedPermission permission) throws SecurityException
SecurityExceptionvoid removePermission(JetspeedPermission permission) throws SecurityException
SecurityExceptionvoid updatePermission(JetspeedPermission permission) throws SecurityException
SecurityExceptionvoid grantPermission(JetspeedPermission permission, JetspeedPrincipal principal) throws SecurityException
SecurityExceptionvoid revokePermission(JetspeedPermission permission, JetspeedPrincipal principal) throws SecurityException
SecurityExceptionvoid grantPermissionOnlyTo(JetspeedPermission permission, List<JetspeedPrincipal> principals) throws SecurityException
SecurityExceptionvoid grantPermissionOnlyTo(JetspeedPermission permission, String principalType, List<JetspeedPrincipal> principals) throws SecurityException
SecurityExceptionvoid revokeAllPermissions(JetspeedPrincipal principal) throws SecurityException
SecurityExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.