|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.ejb.RoleUtil
com.dotmarketing.cms.factories.PublicRoleFactory
public class PublicRoleFactory
| Field Summary |
|---|
| Fields inherited from class com.liferay.portal.ejb.RoleUtil |
|---|
LISTENER, PERSISTENCE |
| Constructor Summary | |
|---|---|
PublicRoleFactory()
|
|
| Method Summary | |
|---|---|
static void |
addRoleToUser(java.lang.String roleId,
com.liferay.portal.model.User user)
|
static boolean |
containsRole(com.liferay.portal.model.Role[] roles,
com.liferay.portal.model.Role role)
|
static com.liferay.portal.model.Role |
findRoleByName(java.lang.String name)
|
static java.util.List<com.liferay.portal.model.Role> |
getAllNoSystemRoles()
|
static java.util.List<com.liferay.portal.model.Role> |
getAllRoles()
|
static com.liferay.portal.model.Role |
getCMSAdminRole()
|
static int |
getCountRolesWithNameLike(java.lang.String name)
Deprecated. |
static com.liferay.portal.model.Role |
getRoleById(java.lang.String roleId)
|
static java.util.List<com.liferay.portal.model.Role> |
getRolesWithNameLike(java.lang.String name)
Deprecated. |
static java.util.List<com.liferay.portal.model.Role> |
getRolesWithNameLike(java.lang.String filter,
int start,
int limit)
|
static com.liferay.portal.model.Role |
saveRole(com.liferay.portal.model.Role r)
|
| Methods inherited from class com.liferay.portal.ejb.RoleUtil |
|---|
addGroup, addGroup, addGroups, addGroups, addUser, addUser, addUsers, addUsers, clearGroups, clearUsers, containsGroup, containsGroup, containsUser, containsUser, countByC_N, countByCompanyId, create, findAll, findByC_N, findByCompanyId_First, findByCompanyId_Last, findByCompanyId_PrevAndNext, findByCompanyId, findByCompanyId, findByCompanyId, findByPrimaryKey, getGroups, getGroups, getGroups, getGroupsSize, getUsers, getUsers, getUsers, getUsersSize, remove, removeByC_N, removeByCompanyId, removeGroup, removeGroup, removeGroups, removeGroups, removeUser, removeUser, removeUsers, removeUsers, setGroups, setGroups, setUsers, setUsers, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublicRoleFactory()
| Method Detail |
|---|
public static com.liferay.portal.model.Role getRoleById(java.lang.String roleId)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
public static void addRoleToUser(java.lang.String roleId,
com.liferay.portal.model.User user)
public static com.liferay.portal.model.Role findRoleByName(java.lang.String name)
public static com.liferay.portal.model.Role getCMSAdminRole()
throws DotDataException
DotDataException
public static boolean containsRole(com.liferay.portal.model.Role[] roles,
com.liferay.portal.model.Role role)
public static java.util.List<com.liferay.portal.model.Role> getAllNoSystemRoles()
public static java.util.List<com.liferay.portal.model.Role> getAllRoles()
public static java.util.List<com.liferay.portal.model.Role> getRolesWithNameLike(java.lang.String name)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
name -
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
public static int getCountRolesWithNameLike(java.lang.String name)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
name - to filter
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
public static java.util.List<com.liferay.portal.model.Role> getRolesWithNameLike(java.lang.String filter,
int start,
int limit)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemExceptionpublic static com.liferay.portal.model.Role saveRole(com.liferay.portal.model.Role r)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||