|
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<Group>
com.liferay.portal.service.persistence.GroupPersistenceImpl
public class GroupPersistenceImpl
GroupPersistence,
GroupUtil| 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 | |
|---|---|
GroupPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addOrganization(long pk,
long organizationPK)
|
void |
addOrganization(long pk,
Organization organization)
|
void |
addOrganizations(long pk,
List<Organization> organizations)
|
void |
addOrganizations(long pk,
long[] organizationPKs)
|
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 |
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 |
addUserGroup(long pk,
long userGroupPK)
|
void |
addUserGroup(long pk,
UserGroup userGroup)
|
void |
addUserGroups(long pk,
List<UserGroup> userGroups)
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
|
void |
addUsers(long pk,
List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
afterPropertiesSet()
|
void |
cacheResult(Group group)
|
void |
cacheResult(List<Group> groups)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(Group group)
Clears the cache for one instance of this model. |
void |
clearOrganizations(long pk)
|
void |
clearPermissions(long pk)
|
void |
clearRoles(long pk)
|
void |
clearUserGroups(long pk)
|
void |
clearUsers(long pk)
|
boolean |
containsOrganization(long pk,
long organizationPK)
|
boolean |
containsOrganizations(long pk)
|
boolean |
containsPermission(long pk,
long permissionPK)
|
boolean |
containsPermissions(long pk)
|
boolean |
containsRole(long pk,
long rolePK)
|
boolean |
containsRoles(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUserGroup(long pk,
long userGroupPK)
|
boolean |
containsUserGroups(long pk)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
|
int |
countByC_F(long companyId,
String friendlyURL)
|
int |
countByC_L_N(long companyId,
long liveGroupId,
String name)
|
int |
countByC_N(long companyId,
String name)
|
int |
countByCompanyId(long companyId)
|
int |
countByLiveGroupId(long liveGroupId)
|
int |
countByT_A(int type,
boolean active)
|
Group |
create(long groupId)
|
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
|
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name,
boolean retrieveFromCache)
|
Group |
fetchByC_F(long companyId,
String friendlyURL)
|
Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
|
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name)
|
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name,
boolean retrieveFromCache)
|
Group |
fetchByC_N(long companyId,
String name)
|
Group |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
|
Group |
fetchByLiveGroupId(long liveGroupId)
|
Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
|
Group |
fetchByPrimaryKey(long groupId)
|
Group |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<Group> |
findAll()
|
List<Group> |
findAll(int start,
int end)
|
List<Group> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
|
Group |
findByC_F(long companyId,
String friendlyURL)
|
Group |
findByC_L_N(long companyId,
long liveGroupId,
String name)
|
Group |
findByC_N(long companyId,
String name)
|
Group |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
Group |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
|
List<Group> |
findByCompanyId(long companyId)
|
List<Group> |
findByCompanyId(long companyId,
int start,
int end)
|
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
Group |
findByLiveGroupId(long liveGroupId)
|
Group |
findByPrimaryKey(long groupId)
|
Group |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
Group |
findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
|
Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
|
Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
|
List<Group> |
findByT_A(int type,
boolean active)
|
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
|
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
|
protected Group |
getByCompanyId_PrevAndNext(Session session,
Group group,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Group |
getByT_A_PrevAndNext(Session session,
Group group,
int type,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
|
List<Organization> |
getOrganizations(long pk)
|
List<Organization> |
getOrganizations(long pk,
int start,
int end)
|
List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getOrganizationsSize(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<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<UserGroup> |
getUserGroups(long pk)
|
List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
|
List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getUserGroupsSize(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)
|
Group |
remove(long groupId)
|
Group |
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_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
|
void |
removeByC_F(long companyId,
String friendlyURL)
|
void |
removeByC_L_N(long companyId,
long liveGroupId,
String name)
|
void |
removeByC_N(long companyId,
String name)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByLiveGroupId(long liveGroupId)
|
void |
removeByT_A(int type,
boolean active)
|
protected Group |
removeImpl(Group group)
Removes the model instance from the database. |
void |
removeOrganization(long pk,
long organizationPK)
|
void |
removeOrganization(long pk,
Organization organization)
|
void |
removeOrganizations(long pk,
List<Organization> organizations)
|
void |
removeOrganizations(long pk,
long[] organizationPKs)
|
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 |
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 |
removeUserGroup(long pk,
long userGroupPK)
|
void |
removeUserGroup(long pk,
UserGroup userGroup)
|
void |
removeUserGroups(long pk,
List<UserGroup> userGroups)
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
void |
removeUsers(long pk,
List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setOrganizations(long pk,
List<Organization> organizations)
|
void |
setOrganizations(long pk,
long[] organizationPKs)
|
void |
setPermissions(long pk,
List<Permission> permissions)
|
void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setRoles(long pk,
List<Role> roles)
|
void |
setRoles(long pk,
long[] rolePKs)
|
void |
setUserGroups(long pk,
List<UserGroup> userGroups)
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
|
void |
setUsers(long pk,
List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
protected Group |
toUnwrappedModel(Group group)
|
Group |
updateImpl(Group group,
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_FETCH_BY_LIVEGROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID
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_FETCH_BY_C_F
public static final FinderPath FINDER_PATH_COUNT_BY_C_F
public static final FinderPath FINDER_PATH_FIND_BY_T_A
public static final FinderPath FINDER_PATH_COUNT_BY_T_A
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_FETCH_BY_C_L_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_L_N
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_L_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_L_N
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_ORGANIZATIONS
public static final FinderPath FINDER_PATH_GET_ORGANIZATIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ORGANIZATION
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_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_USERGROUPS
public static final FinderPath FINDER_PATH_GET_USERGROUPS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_USERGROUP
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
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=BlogsEntryPersistence.class) protected BlogsEntryPersistence blogsEntryPersistence
@BeanReference(type=BlogsStatsUserPersistence.class) protected BlogsStatsUserPersistence blogsStatsUserPersistence
@BeanReference(type=BookmarksFolderPersistence.class) protected BookmarksFolderPersistence bookmarksFolderPersistence
@BeanReference(type=CalEventPersistence.class) protected CalEventPersistence calEventPersistence
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=IGFolderPersistence.class) protected IGFolderPersistence igFolderPersistence
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=MBBanPersistence.class) protected MBBanPersistence mbBanPersistence
@BeanReference(type=MBCategoryPersistence.class) protected MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=PollsQuestionPersistence.class) protected PollsQuestionPersistence pollsQuestionPersistence
@BeanReference(type=ShoppingCartPersistence.class) protected ShoppingCartPersistence shoppingCartPersistence
@BeanReference(type=ShoppingCategoryPersistence.class) protected ShoppingCategoryPersistence shoppingCategoryPersistence
@BeanReference(type=ShoppingCouponPersistence.class) protected ShoppingCouponPersistence shoppingCouponPersistence
@BeanReference(type=ShoppingOrderPersistence.class) protected ShoppingOrderPersistence shoppingOrderPersistence
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=TasksProposalPersistence.class) protected TasksProposalPersistence tasksProposalPersistence
@BeanReference(type=WikiNodePersistence.class) protected WikiNodePersistence wikiNodePersistence
protected GroupPersistenceImpl.ContainsOrganization containsOrganization
protected GroupPersistenceImpl.AddOrganization addOrganization
protected GroupPersistenceImpl.ClearOrganizations clearOrganizations
protected GroupPersistenceImpl.RemoveOrganization removeOrganization
protected GroupPersistenceImpl.ContainsPermission containsPermission
protected GroupPersistenceImpl.AddPermission addPermission
protected GroupPersistenceImpl.ClearPermissions clearPermissions
protected GroupPersistenceImpl.RemovePermission removePermission
protected GroupPersistenceImpl.ContainsRole containsRole
protected GroupPersistenceImpl.AddRole addRole
protected GroupPersistenceImpl.ClearRoles clearRoles
protected GroupPersistenceImpl.RemoveRole removeRole
protected GroupPersistenceImpl.ContainsUserGroup containsUserGroup
protected GroupPersistenceImpl.AddUserGroup addUserGroup
protected GroupPersistenceImpl.ClearUserGroups clearUserGroups
protected GroupPersistenceImpl.RemoveUserGroup removeUserGroup
protected GroupPersistenceImpl.ContainsUser containsUser
protected GroupPersistenceImpl.AddUser addUser
protected GroupPersistenceImpl.ClearUsers clearUsers
protected GroupPersistenceImpl.RemoveUser removeUser
| Constructor Detail |
|---|
public GroupPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(Group group)
cacheResult in interface GroupPersistencepublic void cacheResult(List<Group> groups)
cacheResult in interface GroupPersistencepublic 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<Group>clearCache in class BasePersistenceImpl<Group>public void clearCache(Group group)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Group>clearCache in class BasePersistenceImpl<Group>group - the instance of this model to clear the cache forpublic Group create(long groupId)
create in interface GroupPersistence
public Group remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<Group>remove in class BasePersistenceImpl<Group>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 Group remove(long groupId)
throws NoSuchGroupException,
SystemException
remove in interface GroupPersistenceNoSuchGroupException
SystemException
protected Group removeImpl(Group group)
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<Group>group - the model instance to remove
SystemException - if a system exception occurred
public Group updateImpl(Group group,
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 GroupPersistenceupdateImpl in class BasePersistenceImpl<Group>group - 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 Group toUnwrappedModel(Group group)
public Group findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<Group>findByPrimaryKey in class BasePersistenceImpl<Group>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 Group findByPrimaryKey(long groupId)
throws NoSuchGroupException,
SystemException
findByPrimaryKey in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<Group>fetchByPrimaryKey in class BasePersistenceImpl<Group>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 Group fetchByPrimaryKey(long groupId)
throws SystemException
fetchByPrimaryKey in interface GroupPersistenceSystemException
public List<Group> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface GroupPersistenceSystemException
public List<Group> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
findByCompanyId in interface GroupPersistenceSystemException
public List<Group> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByCompanyId in interface GroupPersistenceSystemException
public Group findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByCompanyId_First in interface GroupPersistenceNoSuchGroupException
SystemException
public Group findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByCompanyId_Last in interface GroupPersistenceNoSuchGroupException
SystemException
public Group[] findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByCompanyId_PrevAndNext in interface GroupPersistenceNoSuchGroupException
SystemException
protected Group getByCompanyId_PrevAndNext(Session session,
Group group,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public Group findByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
SystemException
findByLiveGroupId in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByLiveGroupId(long liveGroupId)
throws SystemException
fetchByLiveGroupId in interface GroupPersistenceSystemException
public Group fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
throws SystemException
fetchByLiveGroupId in interface GroupPersistenceSystemException
public Group findByC_N(long companyId,
String name)
throws NoSuchGroupException,
SystemException
findByC_N in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByC_N(long companyId,
String name)
throws SystemException
fetchByC_N in interface GroupPersistenceSystemException
public Group fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
throws SystemException
fetchByC_N in interface GroupPersistenceSystemException
public Group findByC_F(long companyId,
String friendlyURL)
throws NoSuchGroupException,
SystemException
findByC_F in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByC_F(long companyId,
String friendlyURL)
throws SystemException
fetchByC_F in interface GroupPersistenceSystemException
public Group fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
throws SystemException
fetchByC_F in interface GroupPersistenceSystemException
public List<Group> findByT_A(int type,
boolean active)
throws SystemException
findByT_A in interface GroupPersistenceSystemException
public List<Group> findByT_A(int type,
boolean active,
int start,
int end)
throws SystemException
findByT_A in interface GroupPersistenceSystemException
public List<Group> findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByT_A in interface GroupPersistenceSystemException
public Group findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByT_A_First in interface GroupPersistenceNoSuchGroupException
SystemException
public Group findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByT_A_Last in interface GroupPersistenceNoSuchGroupException
SystemException
public Group[] findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
findByT_A_PrevAndNext in interface GroupPersistenceNoSuchGroupException
SystemException
protected Group getByT_A_PrevAndNext(Session session,
Group group,
int type,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
public Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
SystemException
findByC_C_C in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
fetchByC_C_C in interface GroupPersistenceSystemException
public Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws SystemException
fetchByC_C_C in interface GroupPersistenceSystemException
public Group findByC_L_N(long companyId,
long liveGroupId,
String name)
throws NoSuchGroupException,
SystemException
findByC_L_N in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByC_L_N(long companyId,
long liveGroupId,
String name)
throws SystemException
fetchByC_L_N in interface GroupPersistenceSystemException
public Group fetchByC_L_N(long companyId,
long liveGroupId,
String name,
boolean retrieveFromCache)
throws SystemException
fetchByC_L_N in interface GroupPersistenceSystemException
public Group findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
throws NoSuchGroupException,
SystemException
findByC_C_L_N in interface GroupPersistenceNoSuchGroupException
SystemException
public Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
throws SystemException
fetchByC_C_L_N in interface GroupPersistenceSystemException
public Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name,
boolean retrieveFromCache)
throws SystemException
fetchByC_C_L_N in interface GroupPersistenceSystemException
public List<Group> findAll()
throws SystemException
findAll in interface GroupPersistenceSystemException
public List<Group> findAll(int start,
int end)
throws SystemException
findAll in interface GroupPersistenceSystemException
public List<Group> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface GroupPersistenceSystemException
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface GroupPersistenceSystemException
public void removeByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
SystemException
removeByLiveGroupId in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeByC_N(long companyId,
String name)
throws NoSuchGroupException,
SystemException
removeByC_N in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeByC_F(long companyId,
String friendlyURL)
throws NoSuchGroupException,
SystemException
removeByC_F in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeByT_A(int type,
boolean active)
throws SystemException
removeByT_A in interface GroupPersistenceSystemException
public void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
SystemException
removeByC_C_C in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeByC_L_N(long companyId,
long liveGroupId,
String name)
throws NoSuchGroupException,
SystemException
removeByC_L_N in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
throws NoSuchGroupException,
SystemException
removeByC_C_L_N in interface GroupPersistenceNoSuchGroupException
SystemException
public void removeAll()
throws SystemException
removeAll in interface GroupPersistenceSystemException
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface GroupPersistenceSystemException
public int countByLiveGroupId(long liveGroupId)
throws SystemException
countByLiveGroupId in interface GroupPersistenceSystemException
public int countByC_N(long companyId,
String name)
throws SystemException
countByC_N in interface GroupPersistenceSystemException
public int countByC_F(long companyId,
String friendlyURL)
throws SystemException
countByC_F in interface GroupPersistenceSystemException
public int countByT_A(int type,
boolean active)
throws SystemException
countByT_A in interface GroupPersistenceSystemException
public int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
countByC_C_C in interface GroupPersistenceSystemException
public int countByC_L_N(long companyId,
long liveGroupId,
String name)
throws SystemException
countByC_L_N in interface GroupPersistenceSystemException
public int countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
throws SystemException
countByC_C_L_N in interface GroupPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface GroupPersistenceSystemException
public List<Organization> getOrganizations(long pk)
throws SystemException
getOrganizations in interface GroupPersistenceSystemException
public List<Organization> getOrganizations(long pk,
int start,
int end)
throws SystemException
getOrganizations in interface GroupPersistenceSystemException
public List<Organization> getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getOrganizations in interface GroupPersistenceSystemException
public int getOrganizationsSize(long pk)
throws SystemException
getOrganizationsSize in interface GroupPersistenceSystemException
public boolean containsOrganization(long pk,
long organizationPK)
throws SystemException
containsOrganization in interface GroupPersistenceSystemException
public boolean containsOrganizations(long pk)
throws SystemException
containsOrganizations in interface GroupPersistenceSystemException
public void addOrganization(long pk,
long organizationPK)
throws SystemException
addOrganization in interface GroupPersistenceSystemException
public void addOrganization(long pk,
Organization organization)
throws SystemException
addOrganization in interface GroupPersistenceSystemException
public void addOrganizations(long pk,
long[] organizationPKs)
throws SystemException
addOrganizations in interface GroupPersistenceSystemException
public void addOrganizations(long pk,
List<Organization> organizations)
throws SystemException
addOrganizations in interface GroupPersistenceSystemException
public void clearOrganizations(long pk)
throws SystemException
clearOrganizations in interface GroupPersistenceSystemException
public void removeOrganization(long pk,
long organizationPK)
throws SystemException
removeOrganization in interface GroupPersistenceSystemException
public void removeOrganization(long pk,
Organization organization)
throws SystemException
removeOrganization in interface GroupPersistenceSystemException
public void removeOrganizations(long pk,
long[] organizationPKs)
throws SystemException
removeOrganizations in interface GroupPersistenceSystemException
public void removeOrganizations(long pk,
List<Organization> organizations)
throws SystemException
removeOrganizations in interface GroupPersistenceSystemException
public void setOrganizations(long pk,
long[] organizationPKs)
throws SystemException
setOrganizations in interface GroupPersistenceSystemException
public void setOrganizations(long pk,
List<Organization> organizations)
throws SystemException
setOrganizations in interface GroupPersistenceSystemException
public List<Permission> getPermissions(long pk)
throws SystemException
getPermissions in interface GroupPersistenceSystemException
public List<Permission> getPermissions(long pk,
int start,
int end)
throws SystemException
getPermissions in interface GroupPersistenceSystemException
public List<Permission> getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getPermissions in interface GroupPersistenceSystemException
public int getPermissionsSize(long pk)
throws SystemException
getPermissionsSize in interface GroupPersistenceSystemException
public boolean containsPermission(long pk,
long permissionPK)
throws SystemException
containsPermission in interface GroupPersistenceSystemException
public boolean containsPermissions(long pk)
throws SystemException
containsPermissions in interface GroupPersistenceSystemException
public void addPermission(long pk,
long permissionPK)
throws SystemException
addPermission in interface GroupPersistenceSystemException
public void addPermission(long pk,
Permission permission)
throws SystemException
addPermission in interface GroupPersistenceSystemException
public void addPermissions(long pk,
long[] permissionPKs)
throws SystemException
addPermissions in interface GroupPersistenceSystemException
public void addPermissions(long pk,
List<Permission> permissions)
throws SystemException
addPermissions in interface GroupPersistenceSystemException
public void clearPermissions(long pk)
throws SystemException
clearPermissions in interface GroupPersistenceSystemException
public void removePermission(long pk,
long permissionPK)
throws SystemException
removePermission in interface GroupPersistenceSystemException
public void removePermission(long pk,
Permission permission)
throws SystemException
removePermission in interface GroupPersistenceSystemException
public void removePermissions(long pk,
long[] permissionPKs)
throws SystemException
removePermissions in interface GroupPersistenceSystemException
public void removePermissions(long pk,
List<Permission> permissions)
throws SystemException
removePermissions in interface GroupPersistenceSystemException
public void setPermissions(long pk,
long[] permissionPKs)
throws SystemException
setPermissions in interface GroupPersistenceSystemException
public void setPermissions(long pk,
List<Permission> permissions)
throws SystemException
setPermissions in interface GroupPersistenceSystemException
public List<Role> getRoles(long pk)
throws SystemException
getRoles in interface GroupPersistenceSystemException
public List<Role> getRoles(long pk,
int start,
int end)
throws SystemException
getRoles in interface GroupPersistenceSystemException
public List<Role> getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getRoles in interface GroupPersistenceSystemException
public int getRolesSize(long pk)
throws SystemException
getRolesSize in interface GroupPersistenceSystemException
public boolean containsRole(long pk,
long rolePK)
throws SystemException
containsRole in interface GroupPersistenceSystemException
public boolean containsRoles(long pk)
throws SystemException
containsRoles in interface GroupPersistenceSystemException
public void addRole(long pk,
long rolePK)
throws SystemException
addRole in interface GroupPersistenceSystemException
public void addRole(long pk,
Role role)
throws SystemException
addRole in interface GroupPersistenceSystemException
public void addRoles(long pk,
long[] rolePKs)
throws SystemException
addRoles in interface GroupPersistenceSystemException
public void addRoles(long pk,
List<Role> roles)
throws SystemException
addRoles in interface GroupPersistenceSystemException
public void clearRoles(long pk)
throws SystemException
clearRoles in interface GroupPersistenceSystemException
public void removeRole(long pk,
long rolePK)
throws SystemException
removeRole in interface GroupPersistenceSystemException
public void removeRole(long pk,
Role role)
throws SystemException
removeRole in interface GroupPersistenceSystemException
public void removeRoles(long pk,
long[] rolePKs)
throws SystemException
removeRoles in interface GroupPersistenceSystemException
public void removeRoles(long pk,
List<Role> roles)
throws SystemException
removeRoles in interface GroupPersistenceSystemException
public void setRoles(long pk,
long[] rolePKs)
throws SystemException
setRoles in interface GroupPersistenceSystemException
public void setRoles(long pk,
List<Role> roles)
throws SystemException
setRoles in interface GroupPersistenceSystemException
public List<UserGroup> getUserGroups(long pk)
throws SystemException
getUserGroups in interface GroupPersistenceSystemException
public List<UserGroup> getUserGroups(long pk,
int start,
int end)
throws SystemException
getUserGroups in interface GroupPersistenceSystemException
public List<UserGroup> getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getUserGroups in interface GroupPersistenceSystemException
public int getUserGroupsSize(long pk)
throws SystemException
getUserGroupsSize in interface GroupPersistenceSystemException
public boolean containsUserGroup(long pk,
long userGroupPK)
throws SystemException
containsUserGroup in interface GroupPersistenceSystemException
public boolean containsUserGroups(long pk)
throws SystemException
containsUserGroups in interface GroupPersistenceSystemException
public void addUserGroup(long pk,
long userGroupPK)
throws SystemException
addUserGroup in interface GroupPersistenceSystemException
public void addUserGroup(long pk,
UserGroup userGroup)
throws SystemException
addUserGroup in interface GroupPersistenceSystemException
public void addUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
addUserGroups in interface GroupPersistenceSystemException
public void addUserGroups(long pk,
List<UserGroup> userGroups)
throws SystemException
addUserGroups in interface GroupPersistenceSystemException
public void clearUserGroups(long pk)
throws SystemException
clearUserGroups in interface GroupPersistenceSystemException
public void removeUserGroup(long pk,
long userGroupPK)
throws SystemException
removeUserGroup in interface GroupPersistenceSystemException
public void removeUserGroup(long pk,
UserGroup userGroup)
throws SystemException
removeUserGroup in interface GroupPersistenceSystemException
public void removeUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
removeUserGroups in interface GroupPersistenceSystemException
public void removeUserGroups(long pk,
List<UserGroup> userGroups)
throws SystemException
removeUserGroups in interface GroupPersistenceSystemException
public void setUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
setUserGroups in interface GroupPersistenceSystemException
public void setUserGroups(long pk,
List<UserGroup> userGroups)
throws SystemException
setUserGroups in interface GroupPersistenceSystemException
public List<User> getUsers(long pk)
throws SystemException
getUsers in interface GroupPersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end)
throws SystemException
getUsers in interface GroupPersistenceSystemException
public List<User> getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getUsers in interface GroupPersistenceSystemException
public int getUsersSize(long pk)
throws SystemException
getUsersSize in interface GroupPersistenceSystemException
public boolean containsUser(long pk,
long userPK)
throws SystemException
containsUser in interface GroupPersistenceSystemException
public boolean containsUsers(long pk)
throws SystemException
containsUsers in interface GroupPersistenceSystemException
public void addUser(long pk,
long userPK)
throws SystemException
addUser in interface GroupPersistenceSystemException
public void addUser(long pk,
User user)
throws SystemException
addUser in interface GroupPersistenceSystemException
public void addUsers(long pk,
long[] userPKs)
throws SystemException
addUsers in interface GroupPersistenceSystemException
public void addUsers(long pk,
List<User> users)
throws SystemException
addUsers in interface GroupPersistenceSystemException
public void clearUsers(long pk)
throws SystemException
clearUsers in interface GroupPersistenceSystemException
public void removeUser(long pk,
long userPK)
throws SystemException
removeUser in interface GroupPersistenceSystemException
public void removeUser(long pk,
User user)
throws SystemException
removeUser in interface GroupPersistenceSystemException
public void removeUsers(long pk,
long[] userPKs)
throws SystemException
removeUsers in interface GroupPersistenceSystemException
public void removeUsers(long pk,
List<User> users)
throws SystemException
removeUsers in interface GroupPersistenceSystemException
public void setUsers(long pk,
long[] userPKs)
throws SystemException
setUsers in interface GroupPersistenceSystemException
public void setUsers(long pk,
List<User> users)
throws SystemException
setUsers in interface GroupPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||