|
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<Role>
com.liferay.portal.service.persistence.RolePersistenceImpl
public class RolePersistenceImpl
RolePersistence,
RoleUtil| Nested Class Summary | |
|---|---|
protected class |
RolePersistenceImpl.AddGroup
|
protected class |
RolePersistenceImpl.AddPermission
|
protected class |
RolePersistenceImpl.AddUser
|
protected class |
RolePersistenceImpl.ClearGroups
|
protected class |
RolePersistenceImpl.ClearPermissions
|
protected class |
RolePersistenceImpl.ClearUsers
|
protected class |
RolePersistenceImpl.ContainsGroup
|
protected class |
RolePersistenceImpl.ContainsPermission
|
protected class |
RolePersistenceImpl.ContainsUser
|
protected class |
RolePersistenceImpl.RemoveGroup
|
protected class |
RolePersistenceImpl.RemovePermission
|
protected class |
RolePersistenceImpl.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 | |
|---|---|
RolePersistenceImpl()
|
|
| 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 |
addPermission(long pk,
long permissionPK)
|
void |
addPermission(long pk,
Permission permission)
|
void |
addPermissions(long pk,
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,
List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
afterPropertiesSet()
|
void |
cacheResult(List<Role> roles)
|
void |
cacheResult(Role role)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(Role role)
Clears the cache for one instance of this model. |
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,
String name)
|
int |
countByCompanyId(long companyId)
|
int |
countBySubtype(String subtype)
|
int |
countByT_S(int type,
String subtype)
|
Role |
create(long roleId)
|
Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
Role |
fetchByC_N(long companyId,
String name)
|
Role |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
|
Role |
fetchByPrimaryKey(long roleId)
|
Role |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<Role> |
findAll()
|
List<Role> |
findAll(int start,
int end)
|
List<Role> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Role |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
Role |
findByC_N(long companyId,
String name)
|
Role |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
Role |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
Role[] |
findByCompanyId_PrevAndNext(long roleId,
long companyId,
OrderByComparator orderByComparator)
|
List<Role> |
findByCompanyId(long companyId)
|
List<Role> |
findByCompanyId(long companyId,
int start,
int end)
|
List<Role> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
Role |
findByPrimaryKey(long roleId)
|
Role |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
Role |
findBySubtype_First(String subtype,
OrderByComparator orderByComparator)
|
Role |
findBySubtype_Last(String subtype,
OrderByComparator orderByComparator)
|
Role[] |
findBySubtype_PrevAndNext(long roleId,
String subtype,
OrderByComparator orderByComparator)
|
List<Role> |
findBySubtype(String subtype)
|
List<Role> |
findBySubtype(String subtype,
int start,
int end)
|
List<Role> |
findBySubtype(String subtype,
int start,
int end,
OrderByComparator orderByComparator)
|
Role |
findByT_S_First(int type,
String subtype,
OrderByComparator orderByComparator)
|
Role |
findByT_S_Last(int type,
String subtype,
OrderByComparator orderByComparator)
|
Role[] |
findByT_S_PrevAndNext(long roleId,
int type,
String subtype,
OrderByComparator orderByComparator)
|
List<Role> |
findByT_S(int type,
String subtype)
|
List<Role> |
findByT_S(int type,
String subtype,
int start,
int end)
|
List<Role> |
findByT_S(int type,
String subtype,
int start,
int end,
OrderByComparator orderByComparator)
|
protected Role |
getByCompanyId_PrevAndNext(Session session,
Role role,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Role |
getBySubtype_PrevAndNext(Session session,
Role role,
String subtype,
OrderByComparator orderByComparator,
boolean previous)
|
protected Role |
getByT_S_PrevAndNext(Session session,
Role role,
int type,
String subtype,
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<Permission> |
getPermissions(long pk)
|
List<Permission> |
getPermissions(long pk,
int start,
int end)
|
List<Permission> |
getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getPermissionsSize(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)
|
Role |
remove(long roleId)
|
Role |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
void |
removeByC_N(long companyId,
String name)
|
void |
removeByCompanyId(long companyId)
|
void |
removeBySubtype(String subtype)
|
void |
removeByT_S(int type,
String subtype)
|
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 Role |
removeImpl(Role role)
Removes the model instance from the database. |
void |
removePermission(long pk,
long permissionPK)
|
void |
removePermission(long pk,
Permission permission)
|
void |
removePermissions(long pk,
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,
List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setGroups(long pk,
List<Group> groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setPermissions(long pk,
List<Permission> permissions)
|
void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setUsers(long pk,
List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
protected Role |
toUnwrappedModel(Role role)
|
Role |
updateImpl(Role role,
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_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_SUBTYPE
public static final FinderPath FINDER_PATH_COUNT_BY_SUBTYPE
public static final FinderPath FINDER_PATH_FETCH_BY_C_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_N
public static final FinderPath FINDER_PATH_FIND_BY_T_S
public static final FinderPath FINDER_PATH_COUNT_BY_T_S
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_C
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_PERMISSIONS
public static final FinderPath FINDER_PATH_GET_PERMISSIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_PERMISSION
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 RolePersistenceImpl.ContainsGroup containsGroup
protected RolePersistenceImpl.AddGroup addGroup
protected RolePersistenceImpl.ClearGroups clearGroups
protected RolePersistenceImpl.RemoveGroup removeGroup
protected RolePersistenceImpl.ContainsPermission containsPermission
protected RolePersistenceImpl.AddPermission addPermission
protected RolePersistenceImpl.ClearPermissions clearPermissions
protected RolePersistenceImpl.RemovePermission removePermission
protected RolePersistenceImpl.ContainsUser containsUser
protected RolePersistenceImpl.AddUser addUser
protected RolePersistenceImpl.ClearUsers clearUsers
protected RolePersistenceImpl.RemoveUser removeUser
| Constructor Detail |
|---|
public RolePersistenceImpl()
| Method Detail |
|---|
public void cacheResult(Role role)
cacheResult in interface RolePersistencepublic void cacheResult(List<Role> roles)
cacheResult in interface RolePersistencepublic 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<Role>clearCache in class BasePersistenceImpl<Role>public void clearCache(Role role)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Role>clearCache in class BasePersistenceImpl<Role>role - the instance of this model to clear the cache forpublic Role create(long roleId)
create in interface RolePersistence
public Role remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<Role>remove in class BasePersistenceImpl<Role>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 Role remove(long roleId)
throws NoSuchRoleException,
SystemException
remove in interface RolePersistenceNoSuchRoleException
SystemException
protected Role removeImpl(Role role)
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<Role>role - the model instance to remove
SystemException - if a system exception occurred
public Role updateImpl(Role role,
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 RolePersistenceupdateImpl in class BasePersistenceImpl<Role>role - 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 Role toUnwrappedModel(Role role)
public Role findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<Role>findByPrimaryKey in class BasePersistenceImpl<Role>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 Role findByPrimaryKey(long roleId)
throws NoSuchRoleException,
SystemException
findByPrimaryKey in interface RolePersistenceNoSuchRoleException
SystemException
public Role fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<Role>fetchByPrimaryKey in class BasePersistenceImpl<Role>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 Role fetchByPrimaryKey(long roleId)
throws SystemException
fetchByPrimaryKey in interface RolePersistenceSystemException
public List<Role> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface RolePersistenceSystemException
public List<Role> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface RolePersistenceSystemException
public List<Role> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface RolePersistenceSystemException
public Role findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByCompanyId_First in interface RolePersistenceNoSuchRoleException
SystemException
public Role findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByCompanyId_Last in interface RolePersistenceNoSuchRoleException
SystemException
public Role[] findByCompanyId_PrevAndNext(long roleId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByCompanyId_PrevAndNext in interface RolePersistenceNoSuchRoleException
SystemException
protected Role getByCompanyId_PrevAndNext(Session session,
Role role,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<Role> findBySubtype(String subtype)
throws SystemException
findBySubtype in interface RolePersistenceSystemException
public List<Role> findBySubtype(String subtype,
int start,
int end)
throws SystemException
findBySubtype in interface RolePersistenceSystemException
public List<Role> findBySubtype(String subtype,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findBySubtype in interface RolePersistenceSystemException
public Role findBySubtype_First(String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findBySubtype_First in interface RolePersistenceNoSuchRoleException
SystemException
public Role findBySubtype_Last(String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findBySubtype_Last in interface RolePersistenceNoSuchRoleException
SystemException
public Role[] findBySubtype_PrevAndNext(long roleId,
String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findBySubtype_PrevAndNext in interface RolePersistenceNoSuchRoleException
SystemException
protected Role getBySubtype_PrevAndNext(Session session,
Role role,
String subtype,
OrderByComparator orderByComparator,
boolean previous)
public Role findByC_N(long companyId,
String name)
throws NoSuchRoleException,
SystemException
findByC_N in interface RolePersistenceNoSuchRoleException
SystemException
public Role fetchByC_N(long companyId,
String name)
throws SystemException
fetchByC_N in interface RolePersistenceSystemException
public Role fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
throws SystemException
fetchByC_N in interface RolePersistenceSystemException
public List<Role> findByT_S(int type,
String subtype)
throws SystemException
findByT_S in interface RolePersistenceSystemException
public List<Role> findByT_S(int type,
String subtype,
int start,
int end)
throws SystemException
findByT_S in interface RolePersistenceSystemException
public List<Role> findByT_S(int type,
String subtype,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByT_S in interface RolePersistenceSystemException
public Role findByT_S_First(int type,
String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByT_S_First in interface RolePersistenceNoSuchRoleException
SystemException
public Role findByT_S_Last(int type,
String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByT_S_Last in interface RolePersistenceNoSuchRoleException
SystemException
public Role[] findByT_S_PrevAndNext(long roleId,
int type,
String subtype,
OrderByComparator orderByComparator)
throws NoSuchRoleException,
SystemException
findByT_S_PrevAndNext in interface RolePersistenceNoSuchRoleException
SystemException
protected Role getByT_S_PrevAndNext(Session session,
Role role,
int type,
String subtype,
OrderByComparator orderByComparator,
boolean previous)
public Role findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchRoleException,
SystemException
findByC_C_C in interface RolePersistenceNoSuchRoleException
SystemException
public Role fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
fetchByC_C_C in interface RolePersistenceSystemException
public Role fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws SystemException
fetchByC_C_C in interface RolePersistenceSystemException
public List<Role> findAll()
throws SystemException
findAll in interface RolePersistenceSystemException
public List<Role> findAll(int start,
int end)
throws SystemException
findAll in interface RolePersistenceSystemException
public List<Role> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface RolePersistenceSystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface RolePersistenceSystemException
public void removeBySubtype(String subtype)
throws SystemException
removeBySubtype in interface RolePersistenceSystemException
public void removeByC_N(long companyId,
String name)
throws NoSuchRoleException,
SystemException
removeByC_N in interface RolePersistenceNoSuchRoleException
SystemException
public void removeByT_S(int type,
String subtype)
throws SystemException
removeByT_S in interface RolePersistenceSystemException
public void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchRoleException,
SystemException
removeByC_C_C in interface RolePersistenceNoSuchRoleException
SystemException
public void removeAll()
throws SystemException
removeAll in interface RolePersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface RolePersistenceSystemException
public int countBySubtype(String subtype)
throws SystemException
countBySubtype in interface RolePersistenceSystemException
public int countByC_N(long companyId,
String name)
throws SystemException
countByC_N in interface RolePersistenceSystemException
public int countByT_S(int type,
String subtype)
throws SystemException
countByT_S in interface RolePersistenceSystemException
public int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
countByC_C_C in interface RolePersistenceSystemException
public int countAll()
throws SystemException
countAll in interface RolePersistenceSystemException
public List<Group> getGroups(long pk)
throws SystemException
getGroups in interface RolePersistenceSystemException
public List<Group> getGroups(long pk,
int start,
int end)
throws SystemException
getGroups in interface RolePersistenceSystemException
public List<Group> getGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getGroups in interface RolePersistenceSystemException
public int getGroupsSize(long pk)
throws SystemException
getGroupsSize in interface RolePersistenceSystemException
public boolean containsGroup(long pk,
long groupPK)
throws SystemException
containsGroup in interface RolePersistenceSystemException
public boolean containsGroups(long pk)
throws SystemException
containsGroups in interface RolePersistenceSystemException
public void addGroup(long pk,
long groupPK)
throws SystemException
addGroup in interface RolePersistenceSystemException
public void addGroup(long pk,
Group group)
throws SystemException
addGroup in interface RolePersistenceSystemException
public void addGroups(long pk,
long[] groupPKs)
throws SystemException
addGroups in interface RolePersistenceSystemException
public void addGroups(long pk,
List<Group> groups)
throws SystemException
addGroups in interface RolePersistenceSystemException
public void clearGroups(long pk)
throws SystemException
clearGroups in interface RolePersistenceSystemException
public void removeGroup(long pk,
long groupPK)
throws SystemException
removeGroup in interface RolePersistenceSystemException
public void removeGroup(long pk,
Group group)
throws SystemException
removeGroup in interface RolePersistenceSystemException
public void removeGroups(long pk,
long[] groupPKs)
throws SystemException
removeGroups in interface RolePersistenceSystemException
public void removeGroups(long pk,
List<Group> groups)
throws SystemException
removeGroups in interface RolePersistenceSystemException
public void setGroups(long pk,
long[] groupPKs)
throws SystemException
setGroups in interface RolePersistenceSystemException
public void setGroups(long pk,
List<Group> groups)
throws SystemException
setGroups in interface RolePersistenceSystemException
public List<Permission> getPermissions(long pk)
throws SystemException
getPermissions in interface RolePersistenceSystemException
public List<Permission> getPermissions(long pk,
int start,
int end)
throws SystemException
getPermissions in interface RolePersistenceSystemException
public List<Permission> getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getPermissions in interface RolePersistenceSystemException
public int getPermissionsSize(long pk)
throws SystemException
getPermissionsSize in interface RolePersistenceSystemException
public boolean containsPermission(long pk,
long permissionPK)
throws SystemException
containsPermission in interface RolePersistenceSystemException
public boolean containsPermissions(long pk)
throws SystemException
containsPermissions in interface RolePersistenceSystemException
public void addPermission(long pk,
long permissionPK)
throws SystemException
addPermission in interface RolePersistenceSystemException
public void addPermission(long pk,
Permission permission)
throws SystemException
addPermission in interface RolePersistenceSystemException
public void addPermissions(long pk,
long[] permissionPKs)
throws SystemException
addPermissions in interface RolePersistenceSystemException
public void addPermissions(long pk,
List<Permission> permissions)
throws SystemException
addPermissions in interface RolePersistenceSystemException
public void clearPermissions(long pk)
throws SystemException
clearPermissions in interface RolePersistenceSystemException
public void removePermission(long pk,
long permissionPK)
throws SystemException
removePermission in interface RolePersistenceSystemException
public void removePermission(long pk,
Permission permission)
throws SystemException
removePermission in interface RolePersistenceSystemException
public void removePermissions(long pk,
long[] permissionPKs)
throws SystemException
removePermissions in interface RolePersistenceSystemException
public void removePermissions(long pk,
List<Permission> permissions)
throws SystemException
removePermissions in interface RolePersistenceSystemException
public void setPermissions(long pk,
long[] permissionPKs)
throws SystemException
setPermissions in interface RolePersistenceSystemException
public void setPermissions(long pk,
List<Permission> permissions)
throws SystemException
setPermissions in interface RolePersistenceSystemException
public List<User> getUsers(long pk)
throws SystemException
getUsers in interface RolePersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end)
throws SystemException
getUsers in interface RolePersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getUsers in interface RolePersistenceSystemException
public int getUsersSize(long pk)
throws SystemException
getUsersSize in interface RolePersistenceSystemException
public boolean containsUser(long pk,
long userPK)
throws SystemException
containsUser in interface RolePersistenceSystemException
public boolean containsUsers(long pk)
throws SystemException
containsUsers in interface RolePersistenceSystemException
public void addUser(long pk,
long userPK)
throws SystemException
addUser in interface RolePersistenceSystemException
public void addUser(long pk,
User user)
throws SystemException
addUser in interface RolePersistenceSystemException
public void addUsers(long pk,
long[] userPKs)
throws SystemException
addUsers in interface RolePersistenceSystemException
public void addUsers(long pk,
List<User> users)
throws SystemException
addUsers in interface RolePersistenceSystemException
public void clearUsers(long pk)
throws SystemException
clearUsers in interface RolePersistenceSystemException
public void removeUser(long pk,
long userPK)
throws SystemException
removeUser in interface RolePersistenceSystemException
public void removeUser(long pk,
User user)
throws SystemException
removeUser in interface RolePersistenceSystemException
public void removeUsers(long pk,
long[] userPKs)
throws SystemException
removeUsers in interface RolePersistenceSystemException
public void removeUsers(long pk,
List<User> users)
throws SystemException
removeUsers in interface RolePersistenceSystemException
public void setUsers(long pk,
long[] userPKs)
throws SystemException
setUsers in interface RolePersistenceSystemException
public void setUsers(long pk,
List<User> users)
throws SystemException
setUsers in interface RolePersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||