public interface PermissionManager extends PermissionFactory
FOLDER_PERMISSION, FRAGMENT_PERMISSION, PAGE_PERMISSION, PORTLET_PERMISSION
newPermission, newPermission, parseActions
boolean 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
SecurityException
void removePermission(JetspeedPermission permission) throws SecurityException
SecurityException
void updatePermission(JetspeedPermission permission) throws SecurityException
SecurityException
void grantPermission(JetspeedPermission permission, JetspeedPrincipal principal) throws SecurityException
SecurityException
void revokePermission(JetspeedPermission permission, JetspeedPrincipal principal) throws SecurityException
SecurityException
void grantPermissionOnlyTo(JetspeedPermission permission, List<JetspeedPrincipal> principals) throws SecurityException
SecurityException
void grantPermissionOnlyTo(JetspeedPermission permission, String principalType, List<JetspeedPrincipal> principals) throws SecurityException
SecurityException
void revokeAllPermissions(JetspeedPrincipal principal) throws SecurityException
SecurityException
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.