|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RolePersistence
Method Summary | |
---|---|
void |
addGroup(long pk,
Group group)
|
void |
addGroup(long pk,
long groupPK)
|
void |
addGroups(long pk,
java.util.List<Group> groups)
|
void |
addGroups(long pk,
long[] groupPKs)
|
void |
addPermission(long pk,
long permissionPK)
|
void |
addPermission(long pk,
Permission permission)
|
void |
addPermissions(long pk,
java.util.List<Permission> permissions)
|
void |
addPermissions(long pk,
long[] permissionPKs)
|
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
User user)
|
void |
addUsers(long pk,
java.util.List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
clearGroups(long pk)
|
void |
clearPermissions(long pk)
|
void |
clearUsers(long pk)
|
boolean |
containsGroup(long pk,
long groupPK)
|
boolean |
containsGroups(long pk)
|
boolean |
containsPermission(long pk,
long permissionPK)
|
boolean |
containsPermissions(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
int |
countByC_N(long companyId,
java.lang.String name)
|
int |
countByCompanyId(long companyId)
|
Role |
create(long roleId)
|
Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
Role |
fetchByC_N(long companyId,
java.lang.String name)
|
Role |
fetchByPrimaryKey(long roleId)
|
java.util.List<Role> |
findAll()
|
java.util.List<Role> |
findAll(int begin,
int end)
|
java.util.List<Role> |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Role |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
Role |
findByC_N(long companyId,
java.lang.String name)
|
Role |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Role |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Role[] |
findByCompanyId_PrevAndNext(long roleId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Role> |
findByCompanyId(long companyId)
|
java.util.List<Role> |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List<Role> |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Role |
findByPrimaryKey(long roleId)
|
java.util.List<Role> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<Role> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List<Group> |
getGroups(long pk)
|
java.util.List<Group> |
getGroups(long pk,
int begin,
int end)
|
java.util.List<Group> |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupsSize(long pk)
|
java.util.List<Permission> |
getPermissions(long pk)
|
java.util.List<Permission> |
getPermissions(long pk,
int begin,
int end)
|
java.util.List<Permission> |
getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getPermissionsSize(long pk)
|
java.util.List<User> |
getUsers(long pk)
|
java.util.List<User> |
getUsers(long pk,
int begin,
int end)
|
java.util.List<User> |
getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
Role |
remove(long roleId)
|
Role |
remove(Role role)
|
void |
removeAll()
|
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
void |
removeByCompanyId(long companyId)
|
void |
removeGroup(long pk,
Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
java.util.List<Group> groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
void |
removePermission(long pk,
long permissionPK)
|
void |
removePermission(long pk,
Permission permission)
|
void |
removePermissions(long pk,
java.util.List<Permission> permissions)
|
void |
removePermissions(long pk,
long[] permissionPKs)
|
void |
removeUser(long pk,
long userPK)
|
void |
removeUser(long pk,
User user)
|
void |
removeUsers(long pk,
java.util.List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setGroups(long pk,
java.util.List<Group> groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setPermissions(long pk,
java.util.List<Permission> permissions)
|
void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setUsers(long pk,
java.util.List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
Role |
update(Role role)
Deprecated. Use update(Role role, boolean merge) . |
Role |
update(Role role,
boolean merge)
Add, update, or merge, the entity. |
Role |
updateImpl(Role role,
boolean merge)
|
Method Detail |
---|
Role create(long roleId)
Role remove(long roleId) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role remove(Role role) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Role update(Role role) throws com.liferay.portal.SystemException
update(Role role, boolean merge)
.
com.liferay.portal.SystemException
Role update(Role role, boolean merge) throws com.liferay.portal.SystemException
role
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when role is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Role updateImpl(Role role, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Role findByPrimaryKey(long roleId) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role fetchByPrimaryKey(long roleId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findByCompanyId(long companyId, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Role findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role[] findByCompanyId_PrevAndNext(long roleId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role findByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role fetchByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Role findByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
Role fetchByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findAll(int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Role> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
void removeByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Group> getGroups(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<Group> getGroups(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<Group> getGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
int getGroupsSize(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsGroup(long pk, long groupPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsGroups(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void addGroup(long pk, Group group) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void addGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void addGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void clearGroups(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
void removeGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void removeGroup(long pk, Group group) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void removeGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void removeGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void setGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
void setGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchRoleException
java.util.List<Permission> getPermissions(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<Permission> getPermissions(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<Permission> getPermissions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
int getPermissionsSize(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsPermission(long pk, long permissionPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsPermissions(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addPermission(long pk, long permissionPK) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void addPermission(long pk, Permission permission) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void addPermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void addPermissions(long pk, java.util.List<Permission> permissions) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void clearPermissions(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
void removePermission(long pk, long permissionPK) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void removePermission(long pk, Permission permission) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void removePermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void removePermissions(long pk, java.util.List<Permission> permissions) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void setPermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
void setPermissions(long pk, java.util.List<Permission> permissions) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchRoleException
java.util.List<User> getUsers(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<User> getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
java.util.List<User> getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
int getUsersSize(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsUser(long pk, long userPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsUsers(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUser(long pk, long userPK) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void addUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void addUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void addUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void clearUsers(long pk) throws com.liferay.portal.SystemException, NoSuchRoleException
com.liferay.portal.SystemException
NoSuchRoleException
void removeUser(long pk, long userPK) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void removeUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void removeUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void removeUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void setUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
void setUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchUserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |