com.dotmarketing.cms.factories
Class PublicRoleFactory
java.lang.Object
RoleUtil
com.dotmarketing.cms.factories.PublicRoleFactory
public class PublicRoleFactory
- extends RoleUtil
- Author:
- David
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicRoleFactory
public PublicRoleFactory()
addRoleToUser
public static void addRoleToUser(java.lang.String roleId,
User user)
findRoleByName
public static Role findRoleByName(java.lang.String name)
getCMSAdminRole
public static Role getCMSAdminRole()
throws java.lang.Exception
- Throws:
java.lang.Exception
containsRole
public static boolean containsRole(Role[] roles,
Role role)
getAllNoSystemRoles
public static java.util.List<Role> getAllNoSystemRoles()
getAllRoles
public static java.util.List<Role> getAllRoles()
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.