|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionPersistence
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 |
addRole(long pk,
long rolePK)
|
void |
addRole(long pk,
Role role)
|
void |
addRoles(long pk,
java.util.List<Role> roles)
|
void |
addRoles(long pk,
long[] rolePKs)
|
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 |
clearRoles(long pk)
|
void |
clearUsers(long pk)
|
boolean |
containsGroup(long pk,
long groupPK)
|
boolean |
containsGroups(long pk)
|
boolean |
containsRole(long pk,
long rolePK)
|
boolean |
containsRoles(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByA_R(java.lang.String actionId,
long resourceId)
|
int |
countByResourceId(long resourceId)
|
Permission |
create(long permissionId)
|
Permission |
fetchByA_R(java.lang.String actionId,
long resourceId)
|
Permission |
fetchByPrimaryKey(long permissionId)
|
java.util.List<Permission> |
findAll()
|
java.util.List<Permission> |
findAll(int begin,
int end)
|
java.util.List<Permission> |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Permission |
findByA_R(java.lang.String actionId,
long resourceId)
|
Permission |
findByPrimaryKey(long permissionId)
|
Permission |
findByResourceId_First(long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Permission |
findByResourceId_Last(long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Permission[] |
findByResourceId_PrevAndNext(long permissionId,
long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Permission> |
findByResourceId(long resourceId)
|
java.util.List<Permission> |
findByResourceId(long resourceId,
int begin,
int end)
|
java.util.List<Permission> |
findByResourceId(long resourceId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Permission> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<Permission> |
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<Role> |
getRoles(long pk)
|
java.util.List<Role> |
getRoles(long pk,
int begin,
int end)
|
java.util.List<Role> |
getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getRolesSize(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)
|
Permission |
remove(long permissionId)
|
Permission |
remove(Permission permission)
|
void |
removeAll()
|
void |
removeByA_R(java.lang.String actionId,
long resourceId)
|
void |
removeByResourceId(long resourceId)
|
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 |
removeRole(long pk,
long rolePK)
|
void |
removeRole(long pk,
Role role)
|
void |
removeRoles(long pk,
java.util.List<Role> roles)
|
void |
removeRoles(long pk,
long[] rolePKs)
|
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 |
setRoles(long pk,
java.util.List<Role> roles)
|
void |
setRoles(long pk,
long[] rolePKs)
|
void |
setUsers(long pk,
java.util.List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
Permission |
update(Permission permission)
Deprecated. Use update(Permission permission, boolean merge) . |
Permission |
update(Permission permission,
boolean merge)
Add, update, or merge, the entity. |
Permission |
updateImpl(Permission permission,
boolean merge)
|
Method Detail |
---|
Permission create(long permissionId)
Permission remove(long permissionId) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission remove(Permission permission) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Permission update(Permission permission) throws com.liferay.portal.SystemException
update(Permission permission, boolean merge)
.
com.liferay.portal.SystemException
Permission update(Permission permission, boolean merge) throws com.liferay.portal.SystemException
permission
- 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 permission is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Permission updateImpl(Permission permission, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Permission findByPrimaryKey(long permissionId) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission fetchByPrimaryKey(long permissionId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findByResourceId(long resourceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findByResourceId(long resourceId, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findByResourceId(long resourceId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Permission findByResourceId_First(long resourceId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission findByResourceId_Last(long resourceId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission[] findByResourceId_PrevAndNext(long permissionId, long resourceId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission findByA_R(java.lang.String actionId, long resourceId) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
Permission fetchByA_R(java.lang.String actionId, long resourceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findAll(int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Permission> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByResourceId(long resourceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByA_R(java.lang.String actionId, long resourceId) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByResourceId(long resourceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByA_R(java.lang.String actionId, long resourceId) 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, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<Group> getGroups(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<Group> getGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
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, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void addGroup(long pk, Group group) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void addGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void addGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void clearGroups(long pk) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
void removeGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void removeGroup(long pk, Group group) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void removeGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void removeGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void setGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
void setGroups(long pk, java.util.List<Group> groups) throws com.liferay.portal.SystemException, NoSuchGroupException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchPermissionException
java.util.List<Role> getRoles(long pk) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<Role> getRoles(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<Role> getRoles(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
int getRolesSize(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsRole(long pk, long rolePK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsRoles(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addRole(long pk, long rolePK) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void addRole(long pk, Role role) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void addRoles(long pk, long[] rolePKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void addRoles(long pk, java.util.List<Role> roles) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void clearRoles(long pk) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
void removeRole(long pk, long rolePK) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void removeRole(long pk, Role role) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void removeRoles(long pk, long[] rolePKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void removeRoles(long pk, java.util.List<Role> roles) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void setRoles(long pk, long[] rolePKs) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
void setRoles(long pk, java.util.List<Role> roles) throws com.liferay.portal.SystemException, NoSuchRoleException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchPermissionException
java.util.List<User> getUsers(long pk) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<User> getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
java.util.List<User> getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
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, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void addUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void addUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void addUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void clearUsers(long pk) throws com.liferay.portal.SystemException, NoSuchPermissionException
com.liferay.portal.SystemException
NoSuchPermissionException
void removeUser(long pk, long userPK) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void removeUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void removeUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void removeUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void setUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
void setUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchPermissionException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchUserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |