|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<Permission>
com.liferay.portal.service.persistence.PermissionPersistenceImpl
public class PermissionPersistenceImpl
PermissionPersistence,
PermissionUtil| Nested Class Summary | |
|---|---|
protected class |
PermissionPersistenceImpl.AddGroup
|
protected class |
PermissionPersistenceImpl.AddRole
|
protected class |
PermissionPersistenceImpl.AddUser
|
protected class |
PermissionPersistenceImpl.ClearGroups
|
protected class |
PermissionPersistenceImpl.ClearRoles
|
protected class |
PermissionPersistenceImpl.ClearUsers
|
protected class |
PermissionPersistenceImpl.ContainsGroup
|
protected class |
PermissionPersistenceImpl.ContainsRole
|
protected class |
PermissionPersistenceImpl.ContainsUser
|
protected class |
PermissionPersistenceImpl.RemoveGroup
|
protected class |
PermissionPersistenceImpl.RemoveRole
|
protected class |
PermissionPersistenceImpl.RemoveUser
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
PermissionPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addGroup(long pk,
Group group)
|
void |
addGroup(long pk,
long groupPK)
|
void |
addGroups(long pk,
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,
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,
List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
afterPropertiesSet()
|
void |
cacheResult(List<Permission> permissions)
|
void |
cacheResult(Permission permission)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(Permission permission)
Clears the cache for one instance of this model. |
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(String actionId,
long resourceId)
|
int |
countByResourceId(long resourceId)
|
Permission |
create(long permissionId)
|
Permission |
fetchByA_R(String actionId,
long resourceId)
|
Permission |
fetchByA_R(String actionId,
long resourceId,
boolean retrieveFromCache)
|
Permission |
fetchByPrimaryKey(long permissionId)
|
Permission |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<Permission> |
findAll()
|
List<Permission> |
findAll(int start,
int end)
|
List<Permission> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Permission |
findByA_R(String actionId,
long resourceId)
|
Permission |
findByPrimaryKey(long permissionId)
|
Permission |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
Permission |
findByResourceId_First(long resourceId,
OrderByComparator orderByComparator)
|
Permission |
findByResourceId_Last(long resourceId,
OrderByComparator orderByComparator)
|
Permission[] |
findByResourceId_PrevAndNext(long permissionId,
long resourceId,
OrderByComparator orderByComparator)
|
List<Permission> |
findByResourceId(long resourceId)
|
List<Permission> |
findByResourceId(long resourceId,
int start,
int end)
|
List<Permission> |
findByResourceId(long resourceId,
int start,
int end,
OrderByComparator orderByComparator)
|
protected Permission |
getByResourceId_PrevAndNext(Session session,
Permission permission,
long resourceId,
OrderByComparator orderByComparator,
boolean previous)
|
List<Group> |
getGroups(long pk)
|
List<Group> |
getGroups(long pk,
int start,
int end)
|
List<Group> |
getGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getGroupsSize(long pk)
|
List<Role> |
getRoles(long pk)
|
List<Role> |
getRoles(long pk,
int start,
int end)
|
List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getRolesSize(long pk)
|
List<User> |
getUsers(long pk)
|
List<User> |
getUsers(long pk,
int start,
int end)
|
List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getUsersSize(long pk)
|
Permission |
remove(long permissionId)
|
Permission |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByA_R(String actionId,
long resourceId)
|
void |
removeByResourceId(long resourceId)
|
void |
removeGroup(long pk,
Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
List<Group> groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
protected Permission |
removeImpl(Permission permission)
Removes the model instance from the database. |
void |
removeRole(long pk,
long rolePK)
|
void |
removeRole(long pk,
Role role)
|
void |
removeRoles(long pk,
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,
List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setGroups(long pk,
List<Group> groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setRoles(long pk,
List<Role> roles)
|
void |
setRoles(long pk,
long[] rolePKs)
|
void |
setUsers(long pk,
List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
protected Permission |
toUnwrappedModel(Permission permission)
|
Permission |
updateImpl(Permission permission,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_RESOURCEID
public static final FinderPath FINDER_PATH_COUNT_BY_RESOURCEID
public static final FinderPath FINDER_PATH_FETCH_BY_A_R
public static final FinderPath FINDER_PATH_COUNT_BY_A_R
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_GROUPS
public static final FinderPath FINDER_PATH_GET_GROUPS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_GROUP
public static final FinderPath FINDER_PATH_GET_ROLES
public static final FinderPath FINDER_PATH_GET_ROLES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ROLE
public static final FinderPath FINDER_PATH_GET_USERS
public static final FinderPath FINDER_PATH_GET_USERS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_USER
@BeanReference(type=AccountPersistence.class) protected AccountPersistence accountPersistence
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrgGroupPermissionPersistence.class) protected OrgGroupPermissionPersistence orgGroupPermissionPersistence
@BeanReference(type=OrgGroupRolePersistence.class) protected OrgGroupRolePersistence orgGroupRolePersistence
@BeanReference(type=OrgLaborPersistence.class) protected OrgLaborPersistence orgLaborPersistence
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence
@BeanReference(type=PermissionPersistence.class) protected PermissionPersistence permissionPersistence
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=PortletPersistence.class) protected PortletPersistence portletPersistence
@BeanReference(type=PortletItemPersistence.class) protected PortletItemPersistence portletItemPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ReleasePersistence.class) protected ReleasePersistence releasePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=ResourceCodePersistence.class) protected ResourceCodePersistence resourceCodePersistence
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=ServiceComponentPersistence.class) protected ServiceComponentPersistence serviceComponentPersistence
@BeanReference(type=ShardPersistence.class) protected ShardPersistence shardPersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=TicketPersistence.class) protected TicketPersistence ticketPersistence
@BeanReference(type=TeamPersistence.class) protected TeamPersistence teamPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
@BeanReference(type=UserGroupGroupRolePersistence.class) protected UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence
@BeanReference(type=UserTrackerPersistence.class) protected UserTrackerPersistence userTrackerPersistence
@BeanReference(type=UserTrackerPathPersistence.class) protected UserTrackerPathPersistence userTrackerPathPersistence
@BeanReference(type=WebDAVPropsPersistence.class) protected WebDAVPropsPersistence webDAVPropsPersistence
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
protected PermissionPersistenceImpl.ContainsGroup containsGroup
protected PermissionPersistenceImpl.AddGroup addGroup
protected PermissionPersistenceImpl.ClearGroups clearGroups
protected PermissionPersistenceImpl.RemoveGroup removeGroup
protected PermissionPersistenceImpl.ContainsRole containsRole
protected PermissionPersistenceImpl.AddRole addRole
protected PermissionPersistenceImpl.ClearRoles clearRoles
protected PermissionPersistenceImpl.RemoveRole removeRole
protected PermissionPersistenceImpl.ContainsUser containsUser
protected PermissionPersistenceImpl.AddUser addUser
protected PermissionPersistenceImpl.ClearUsers clearUsers
protected PermissionPersistenceImpl.RemoveUser removeUser
| Constructor Detail |
|---|
public PermissionPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(Permission permission)
cacheResult in interface PermissionPersistencepublic void cacheResult(List<Permission> permissions)
cacheResult in interface PermissionPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<Permission>clearCache in class BasePersistenceImpl<Permission>public void clearCache(Permission permission)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Permission>clearCache in class BasePersistenceImpl<Permission>permission - the instance of this model to clear the cache forpublic Permission create(long permissionId)
create in interface PermissionPersistence
public Permission remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<Permission>remove in class BasePersistenceImpl<Permission>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public Permission remove(long permissionId)
throws NoSuchPermissionException,
SystemException
remove in interface PermissionPersistenceNoSuchPermissionException
SystemException
protected Permission removeImpl(Permission permission)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<Permission>permission - the model instance to remove
SystemException - if a system exception occurred
public Permission updateImpl(Permission permission,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface PermissionPersistenceupdateImpl in class BasePersistenceImpl<Permission>permission - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected Permission toUnwrappedModel(Permission permission)
public Permission findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<Permission>findByPrimaryKey in class BasePersistenceImpl<Permission>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public Permission findByPrimaryKey(long permissionId)
throws NoSuchPermissionException,
SystemException
findByPrimaryKey in interface PermissionPersistenceNoSuchPermissionException
SystemException
public Permission fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<Permission>fetchByPrimaryKey in class BasePersistenceImpl<Permission>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public Permission fetchByPrimaryKey(long permissionId)
throws SystemException
fetchByPrimaryKey in interface PermissionPersistenceSystemException
public List<Permission> findByResourceId(long resourceId)
throws SystemException
findByResourceId in interface PermissionPersistenceSystemException
public List<Permission> findByResourceId(long resourceId,
int start,
int end)
throws SystemException
findByResourceId in interface PermissionPersistenceSystemException
public List<Permission> findByResourceId(long resourceId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByResourceId in interface PermissionPersistenceSystemException
public Permission findByResourceId_First(long resourceId,
OrderByComparator orderByComparator)
throws NoSuchPermissionException,
SystemException
findByResourceId_First in interface PermissionPersistenceNoSuchPermissionException
SystemException
public Permission findByResourceId_Last(long resourceId,
OrderByComparator orderByComparator)
throws NoSuchPermissionException,
SystemException
findByResourceId_Last in interface PermissionPersistenceNoSuchPermissionException
SystemException
public Permission[] findByResourceId_PrevAndNext(long permissionId,
long resourceId,
OrderByComparator orderByComparator)
throws NoSuchPermissionException,
SystemException
findByResourceId_PrevAndNext in interface PermissionPersistenceNoSuchPermissionException
SystemException
protected Permission getByResourceId_PrevAndNext(Session session,
Permission permission,
long resourceId,
OrderByComparator orderByComparator,
boolean previous)
public Permission findByA_R(String actionId,
long resourceId)
throws NoSuchPermissionException,
SystemException
findByA_R in interface PermissionPersistenceNoSuchPermissionException
SystemException
public Permission fetchByA_R(String actionId,
long resourceId)
throws SystemException
fetchByA_R in interface PermissionPersistenceSystemException
public Permission fetchByA_R(String actionId,
long resourceId,
boolean retrieveFromCache)
throws SystemException
fetchByA_R in interface PermissionPersistenceSystemException
public List<Permission> findAll()
throws SystemException
findAll in interface PermissionPersistenceSystemException
public List<Permission> findAll(int start,
int end)
throws SystemException
findAll in interface PermissionPersistenceSystemException
public List<Permission> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface PermissionPersistenceSystemException
public void removeByResourceId(long resourceId)
throws SystemException
removeByResourceId in interface PermissionPersistenceSystemException
public void removeByA_R(String actionId,
long resourceId)
throws NoSuchPermissionException,
SystemException
removeByA_R in interface PermissionPersistenceNoSuchPermissionException
SystemException
public void removeAll()
throws SystemException
removeAll in interface PermissionPersistenceSystemException
public int countByResourceId(long resourceId)
throws SystemException
countByResourceId in interface PermissionPersistenceSystemException
public int countByA_R(String actionId,
long resourceId)
throws SystemException
countByA_R in interface PermissionPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface PermissionPersistenceSystemException
public List<Group> getGroups(long pk)
throws SystemException
getGroups in interface PermissionPersistenceSystemException
public List<Group> getGroups(long pk,
int start,
int end)
throws SystemException
getGroups in interface PermissionPersistenceSystemException
public List<Group> getGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getGroups in interface PermissionPersistenceSystemException
public int getGroupsSize(long pk)
throws SystemException
getGroupsSize in interface PermissionPersistenceSystemException
public boolean containsGroup(long pk,
long groupPK)
throws SystemException
containsGroup in interface PermissionPersistenceSystemException
public boolean containsGroups(long pk)
throws SystemException
containsGroups in interface PermissionPersistenceSystemException
public void addGroup(long pk,
long groupPK)
throws SystemException
addGroup in interface PermissionPersistenceSystemException
public void addGroup(long pk,
Group group)
throws SystemException
addGroup in interface PermissionPersistenceSystemException
public void addGroups(long pk,
long[] groupPKs)
throws SystemException
addGroups in interface PermissionPersistenceSystemException
public void addGroups(long pk,
List<Group> groups)
throws SystemException
addGroups in interface PermissionPersistenceSystemException
public void clearGroups(long pk)
throws SystemException
clearGroups in interface PermissionPersistenceSystemException
public void removeGroup(long pk,
long groupPK)
throws SystemException
removeGroup in interface PermissionPersistenceSystemException
public void removeGroup(long pk,
Group group)
throws SystemException
removeGroup in interface PermissionPersistenceSystemException
public void removeGroups(long pk,
long[] groupPKs)
throws SystemException
removeGroups in interface PermissionPersistenceSystemException
public void removeGroups(long pk,
List<Group> groups)
throws SystemException
removeGroups in interface PermissionPersistenceSystemException
public void setGroups(long pk,
long[] groupPKs)
throws SystemException
setGroups in interface PermissionPersistenceSystemException
public void setGroups(long pk,
List<Group> groups)
throws SystemException
setGroups in interface PermissionPersistenceSystemException
public List<Role> getRoles(long pk)
throws SystemException
getRoles in interface PermissionPersistenceSystemException
public List<Role> getRoles(long pk,
int start,
int end)
throws SystemException
getRoles in interface PermissionPersistenceSystemException
public List<Role> getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getRoles in interface PermissionPersistenceSystemException
public int getRolesSize(long pk)
throws SystemException
getRolesSize in interface PermissionPersistenceSystemException
public boolean containsRole(long pk,
long rolePK)
throws SystemException
containsRole in interface PermissionPersistenceSystemException
public boolean containsRoles(long pk)
throws SystemException
containsRoles in interface PermissionPersistenceSystemException
public void addRole(long pk,
long rolePK)
throws SystemException
addRole in interface PermissionPersistenceSystemException
public void addRole(long pk,
Role role)
throws SystemException
addRole in interface PermissionPersistenceSystemException
public void addRoles(long pk,
long[] rolePKs)
throws SystemException
addRoles in interface PermissionPersistenceSystemException
public void addRoles(long pk,
List<Role> roles)
throws SystemException
addRoles in interface PermissionPersistenceSystemException
public void clearRoles(long pk)
throws SystemException
clearRoles in interface PermissionPersistenceSystemException
public void removeRole(long pk,
long rolePK)
throws SystemException
removeRole in interface PermissionPersistenceSystemException
public void removeRole(long pk,
Role role)
throws SystemException
removeRole in interface PermissionPersistenceSystemException
public void removeRoles(long pk,
long[] rolePKs)
throws SystemException
removeRoles in interface PermissionPersistenceSystemException
public void removeRoles(long pk,
List<Role> roles)
throws SystemException
removeRoles in interface PermissionPersistenceSystemException
public void setRoles(long pk,
long[] rolePKs)
throws SystemException
setRoles in interface PermissionPersistenceSystemException
public void setRoles(long pk,
List<Role> roles)
throws SystemException
setRoles in interface PermissionPersistenceSystemException
public List<User> getUsers(long pk)
throws SystemException
getUsers in interface PermissionPersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end)
throws SystemException
getUsers in interface PermissionPersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getUsers in interface PermissionPersistenceSystemException
public int getUsersSize(long pk)
throws SystemException
getUsersSize in interface PermissionPersistenceSystemException
public boolean containsUser(long pk,
long userPK)
throws SystemException
containsUser in interface PermissionPersistenceSystemException
public boolean containsUsers(long pk)
throws SystemException
containsUsers in interface PermissionPersistenceSystemException
public void addUser(long pk,
long userPK)
throws SystemException
addUser in interface PermissionPersistenceSystemException
public void addUser(long pk,
User user)
throws SystemException
addUser in interface PermissionPersistenceSystemException
public void addUsers(long pk,
long[] userPKs)
throws SystemException
addUsers in interface PermissionPersistenceSystemException
public void addUsers(long pk,
List<User> users)
throws SystemException
addUsers in interface PermissionPersistenceSystemException
public void clearUsers(long pk)
throws SystemException
clearUsers in interface PermissionPersistenceSystemException
public void removeUser(long pk,
long userPK)
throws SystemException
removeUser in interface PermissionPersistenceSystemException
public void removeUser(long pk,
User user)
throws SystemException
removeUser in interface PermissionPersistenceSystemException
public void removeUsers(long pk,
long[] userPKs)
throws SystemException
removeUsers in interface PermissionPersistenceSystemException
public void removeUsers(long pk,
List<User> users)
throws SystemException
removeUsers in interface PermissionPersistenceSystemException
public void setUsers(long pk,
long[] userPKs)
throws SystemException
setUsers in interface PermissionPersistenceSystemException
public void setUsers(long pk,
List<User> users)
throws SystemException
setUsers in interface PermissionPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||