com.liferay.portal.service.persistence
Interface PermissionPersistence
- All Superinterfaces:
- BasePersistence<Permission>
public interface PermissionPersistence
- extends BasePersistence<Permission>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
PermissionPersistenceImpl
,
PermissionUtil
- Generated:
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 |
cacheResult(java.util.List<Permission> permissions)
|
void |
cacheResult(Permission permission)
|
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 |
fetchByA_R(java.lang.String actionId,
long resourceId,
boolean retrieveFromCache)
|
Permission |
fetchByPrimaryKey(long permissionId)
|
java.util.List<Permission> |
findAll()
|
java.util.List<Permission> |
findAll(int start,
int end)
|
java.util.List<Permission> |
findAll(int start,
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 start,
int end)
|
java.util.List<Permission> |
findByResourceId(long resourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Group> |
getGroups(long pk)
|
java.util.List<Group> |
getGroups(long pk,
int start,
int end)
|
java.util.List<Group> |
getGroups(long pk,
int start,
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 start,
int end)
|
java.util.List<Role> |
getRoles(long pk,
int start,
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 start,
int end)
|
java.util.List<User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
Permission |
remove(long permissionId)
|
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 |
updateImpl(Permission permission,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(Permission permission)
cacheResult
void cacheResult(java.util.List<Permission> permissions)
create
Permission create(long permissionId)
remove
Permission remove(long permissionId)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
updateImpl
Permission updateImpl(Permission permission,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
Permission findByPrimaryKey(long permissionId)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
Permission fetchByPrimaryKey(long permissionId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByResourceId
java.util.List<Permission> findByResourceId(long resourceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByResourceId
java.util.List<Permission> findByResourceId(long resourceId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByResourceId
java.util.List<Permission> findByResourceId(long resourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByResourceId_First
Permission findByResourceId_First(long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
findByResourceId_Last
Permission findByResourceId_Last(long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
findByResourceId_PrevAndNext
Permission[] findByResourceId_PrevAndNext(long permissionId,
long resourceId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
findByA_R
Permission findByA_R(java.lang.String actionId,
long resourceId)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
fetchByA_R
Permission fetchByA_R(java.lang.String actionId,
long resourceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByA_R
Permission fetchByA_R(java.lang.String actionId,
long resourceId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Permission> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Permission> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<Permission> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByResourceId
void removeByResourceId(long resourceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByA_R
void removeByA_R(java.lang.String actionId,
long resourceId)
throws NoSuchPermissionException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchPermissionException
com.liferay.portal.kernel.exception.SystemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByResourceId
int countByResourceId(long resourceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByA_R
int countByA_R(java.lang.String actionId,
long resourceId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroups
java.util.List<Group> getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupsSize
int getGroupsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsGroup
boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsGroups
boolean containsGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroup
void addGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroup
void addGroup(long pk,
Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroups
void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroups
void addGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearGroups
void clearGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroup
void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroup
void removeGroup(long pk,
Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroups
void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeGroups
void removeGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setGroups
void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setGroups
void setGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRoles
java.util.List<Role> getRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRoles
java.util.List<Role> getRoles(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRoles
java.util.List<Role> getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRolesSize
int getRolesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsRole
boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsRoles
boolean containsRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addRole
void addRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addRole
void addRole(long pk,
Role role)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addRoles
void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addRoles
void addRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearRoles
void clearRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeRole
void removeRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeRole
void removeRole(long pk,
Role role)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeRoles
void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeRoles
void removeRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setRoles
void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setRoles
void setRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsersSize
int getUsersSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUser
boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUsers
boolean containsUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
void addUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
void addUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearUsers
void clearUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
void removeUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
void removeUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException