com.liferay.portal.service.persistence
Class GroupPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
      extended by com.liferay.portal.service.persistence.GroupPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>, com.liferay.portal.service.persistence.GroupPersistence

public class GroupPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
implements com.liferay.portal.service.persistence.GroupPersistence

The persistence implementation for the group service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
GroupPersistence, GroupUtil
Generated:

Nested Class Summary
protected  class GroupPersistenceImpl.AddOrganization
           
protected  class GroupPersistenceImpl.AddPermission
           
protected  class GroupPersistenceImpl.AddRole
           
protected  class GroupPersistenceImpl.AddUser
           
protected  class GroupPersistenceImpl.AddUserGroup
           
protected  class GroupPersistenceImpl.ClearOrganizations
           
protected  class GroupPersistenceImpl.ClearPermissions
           
protected  class GroupPersistenceImpl.ClearRoles
           
protected  class GroupPersistenceImpl.ClearUserGroups
           
protected  class GroupPersistenceImpl.ClearUsers
           
protected  class GroupPersistenceImpl.ContainsOrganization
           
protected  class GroupPersistenceImpl.ContainsPermission
           
protected  class GroupPersistenceImpl.ContainsRole
           
protected  class GroupPersistenceImpl.ContainsUser
           
protected  class GroupPersistenceImpl.ContainsUserGroup
           
protected  class GroupPersistenceImpl.RemoveOrganization
           
protected  class GroupPersistenceImpl.RemovePermission
           
protected  class GroupPersistenceImpl.RemoveRole
           
protected  class GroupPersistenceImpl.RemoveUser
           
protected  class GroupPersistenceImpl.RemoveUserGroup
           
 
Field Summary
protected  com.liferay.portal.service.persistence.AccountPersistence accountPersistence
           
protected  GroupPersistenceImpl.AddOrganization addOrganization
           
protected  GroupPersistenceImpl.AddPermission addPermission
           
protected  com.liferay.portal.service.persistence.AddressPersistence addressPersistence
           
protected  GroupPersistenceImpl.AddRole addRole
           
protected  GroupPersistenceImpl.AddUser addUser
           
protected  GroupPersistenceImpl.AddUserGroup addUserGroup
           
protected  com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
           
protected  com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence
           
protected  com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence
           
protected  com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence
           
protected  com.liferay.portal.service.persistence.BrowserTrackerPersistence browserTrackerPersistence
           
protected  com.liferay.portlet.calendar.service.persistence.CalEventPersistence calEventPersistence
           
protected  com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence
           
protected  GroupPersistenceImpl.ClearOrganizations clearOrganizations
           
protected  GroupPersistenceImpl.ClearPermissions clearPermissions
           
protected  GroupPersistenceImpl.ClearRoles clearRoles
           
protected  GroupPersistenceImpl.ClearUserGroups clearUserGroups
           
protected  GroupPersistenceImpl.ClearUsers clearUsers
           
protected  com.liferay.portal.service.persistence.ClusterGroupPersistence clusterGroupPersistence
           
protected  com.liferay.portal.service.persistence.CompanyPersistence companyPersistence
           
protected  com.liferay.portal.service.persistence.ContactPersistence contactPersistence
           
protected  GroupPersistenceImpl.ContainsOrganization containsOrganization
           
protected  GroupPersistenceImpl.ContainsPermission containsPermission
           
protected  GroupPersistenceImpl.ContainsRole containsRole
           
protected  GroupPersistenceImpl.ContainsUser containsUser
           
protected  GroupPersistenceImpl.ContainsUserGroup containsUserGroup
           
protected  com.liferay.portal.service.persistence.CountryPersistence countryPersistence
           
protected  com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ORGANIZATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_PERMISSION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ROLE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_USER
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_USERGROUP
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_L_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_F
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_A
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_L_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_F
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_L_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_LIVEGROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ORGANIZATIONS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ORGANIZATIONS_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_PERMISSIONS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_PERMISSIONS_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ROLES
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ROLES_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERGROUPS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERGROUPS_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERS_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.persistence.ImagePersistence imagePersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence
           
protected  com.liferay.portal.service.persistence.LayoutBranchPersistence layoutBranchPersistence
           
protected  com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence
           
protected  com.liferay.portal.service.persistence.LayoutPrototypePersistence layoutPrototypePersistence
           
protected  com.liferay.portal.service.persistence.LayoutRevisionPersistence layoutRevisionPersistence
           
protected  com.liferay.portal.service.persistence.LayoutSetBranchPersistence layoutSetBranchPersistence
           
protected  com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence
           
protected  com.liferay.portal.service.persistence.LayoutSetPrototypePersistence layoutSetPrototypePersistence
           
protected  com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence
           
protected  com.liferay.portal.service.persistence.LockPersistence lockPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence
           
protected  com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence
           
protected  com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence
           
protected  com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence
           
protected  com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence
           
protected  com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence
           
protected  com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence
           
protected  com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence
           
protected  com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence
           
protected  com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence
           
protected  com.liferay.portal.service.persistence.PhonePersistence phonePersistence
           
protected  com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence
           
protected  com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence
           
protected  com.liferay.portal.service.persistence.PortalPreferencesPersistence portalPreferencesPersistence
           
protected  com.liferay.portal.service.persistence.PortletItemPersistence portletItemPersistence
           
protected  com.liferay.portal.service.persistence.PortletPersistence portletPersistence
           
protected  com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence
           
protected  com.liferay.portal.service.persistence.RegionPersistence regionPersistence
           
protected  com.liferay.portal.service.persistence.ReleasePersistence releasePersistence
           
protected  GroupPersistenceImpl.RemoveOrganization removeOrganization
           
protected  GroupPersistenceImpl.RemovePermission removePermission
           
protected  GroupPersistenceImpl.RemoveRole removeRole
           
protected  GroupPersistenceImpl.RemoveUser removeUser
           
protected  GroupPersistenceImpl.RemoveUserGroup removeUserGroup
           
protected  com.liferay.portal.service.persistence.RepositoryEntryPersistence repositoryEntryPersistence
           
protected  com.liferay.portal.service.persistence.RepositoryPersistence repositoryPersistence
           
protected  com.liferay.portal.service.persistence.ResourceActionPersistence resourceActionPersistence
           
protected  com.liferay.portal.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence
           
protected  com.liferay.portal.service.persistence.ResourceBlockPersistence resourceBlockPersistence
           
protected  com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence
           
protected  com.liferay.portal.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence
           
protected  com.liferay.portal.service.persistence.RolePersistence rolePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
           
protected  com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence
           
protected  com.liferay.portal.service.persistence.ShardPersistence shardPersistence
           
protected  com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence
           
protected  com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence shoppingCategoryPersistence
           
protected  com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence shoppingCouponPersistence
           
protected  com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence shoppingOrderPersistence
           
protected  com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence
           
protected  com.liferay.portal.service.persistence.TeamPersistence teamPersistence
           
protected  com.liferay.portal.service.persistence.TicketPersistence ticketPersistence
           
protected  com.liferay.portal.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence
           
protected  com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence
           
protected  com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence
           
protected  com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence
           
protected  com.liferay.portal.service.persistence.UserNotificationEventPersistence userNotificationEventPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence
           
protected  com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence
           
protected  com.liferay.portal.service.persistence.VirtualHostPersistence virtualHostPersistence
           
protected  com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence
           
protected  com.liferay.portal.service.persistence.WebsitePersistence websitePersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence
           
protected  com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
           
protected  com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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)
          Adds an association between the group and the organization.
 void addOrganization(long pk, com.liferay.portal.model.Organization organization)
          Adds an association between the group and the organization.
 void addOrganizations(long pk, java.util.List<com.liferay.portal.model.Organization> organizations)
          Adds an association between the group and the organizations.
 void addOrganizations(long pk, long[] organizationPKs)
          Adds an association between the group and the organizations.
 void addPermission(long pk, long permissionPK)
          Adds an association between the group and the permission.
 void addPermission(long pk, com.liferay.portal.model.Permission permission)
          Adds an association between the group and the permission.
 void addPermissions(long pk, java.util.List<com.liferay.portal.model.Permission> permissions)
          Adds an association between the group and the permissions.
 void addPermissions(long pk, long[] permissionPKs)
          Adds an association between the group and the permissions.
 void addRole(long pk, long rolePK)
          Adds an association between the group and the role.
 void addRole(long pk, com.liferay.portal.model.Role role)
          Adds an association between the group and the role.
 void addRoles(long pk, java.util.List<com.liferay.portal.model.Role> roles)
          Adds an association between the group and the roles.
 void addRoles(long pk, long[] rolePKs)
          Adds an association between the group and the roles.
 void addUser(long pk, long userPK)
          Adds an association between the group and the user.
 void addUser(long pk, com.liferay.portal.model.User user)
          Adds an association between the group and the user.
 void addUserGroup(long pk, long userGroupPK)
          Adds an association between the group and the user group.
 void addUserGroup(long pk, com.liferay.portal.model.UserGroup userGroup)
          Adds an association between the group and the user group.
 void addUserGroups(long pk, java.util.List<com.liferay.portal.model.UserGroup> userGroups)
          Adds an association between the group and the user groups.
 void addUserGroups(long pk, long[] userGroupPKs)
          Adds an association between the group and the user groups.
 void addUsers(long pk, java.util.List<com.liferay.portal.model.User> users)
          Adds an association between the group and the users.
 void addUsers(long pk, long[] userPKs)
          Adds an association between the group and the users.
 void afterPropertiesSet()
          Initializes the group persistence.
 void cacheResult(com.liferay.portal.model.Group group)
          Caches the group in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portal.model.Group> groups)
          Caches the groups in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all groups.
 void clearCache(com.liferay.portal.model.Group group)
          Clears the cache for the group.
 void clearCache(java.util.List<com.liferay.portal.model.Group> groups)
           
 void clearOrganizations(long pk)
          Clears all associations between the group and its organizations.
 void clearPermissions(long pk)
          Clears all associations between the group and its permissions.
 void clearRoles(long pk)
          Clears all associations between the group and its roles.
protected  void clearUniqueFindersCache(com.liferay.portal.model.Group group)
           
 void clearUserGroups(long pk)
          Clears all associations between the group and its user groups.
 void clearUsers(long pk)
          Clears all associations between the group and its users.
 boolean containsOrganization(long pk, long organizationPK)
          Returns true if the organization is associated with the group.
 boolean containsOrganizations(long pk)
          Returns true if the group has any organizations associated with it.
 boolean containsPermission(long pk, long permissionPK)
          Returns true if the permission is associated with the group.
 boolean containsPermissions(long pk)
          Returns true if the group has any permissions associated with it.
 boolean containsRole(long pk, long rolePK)
          Returns true if the role is associated with the group.
 boolean containsRoles(long pk)
          Returns true if the group has any roles associated with it.
 boolean containsUser(long pk, long userPK)
          Returns true if the user is associated with the group.
 boolean containsUserGroup(long pk, long userGroupPK)
          Returns true if the user group is associated with the group.
 boolean containsUserGroups(long pk)
          Returns true if the group has any user groups associated with it.
 boolean containsUsers(long pk)
          Returns true if the group has any users associated with it.
 int countAll()
          Returns the number of groups.
 int countByC_C_C(long companyId, long classNameId, long classPK)
          Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
 int countByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
          Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?.
 int countByC_F(long companyId, java.lang.String friendlyURL)
          Returns the number of groups where companyId = ? and friendlyURL = ?.
 int countByC_L_N(long companyId, long liveGroupId, java.lang.String name)
          Returns the number of groups where companyId = ? and liveGroupId = ? and name = ?.
 int countByC_N(long companyId, java.lang.String name)
          Returns the number of groups where companyId = ? and name = ?.
 int countByCompanyId(long companyId)
          Returns the number of groups where companyId = ?.
 int countByLiveGroupId(long liveGroupId)
          Returns the number of groups where liveGroupId = ?.
 int countByT_A(int type, boolean active)
          Returns the number of groups where type = ? and active = ?.
 com.liferay.portal.model.Group create(long groupId)
          Creates a new group with the primary key.
 void destroy()
           
 com.liferay.portal.model.Group fetchByC_C_C(long companyId, long classNameId, long classPK)
          Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
          Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
          Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name, boolean retrieveFromCache)
          Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByC_F(long companyId, java.lang.String friendlyURL)
          Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByC_F(long companyId, java.lang.String friendlyURL, boolean retrieveFromCache)
          Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByC_L_N(long companyId, long liveGroupId, java.lang.String name)
          Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByC_L_N(long companyId, long liveGroupId, java.lang.String name, boolean retrieveFromCache)
          Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByC_N(long companyId, java.lang.String name)
          Returns the group where companyId = ? and name = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByC_N(long companyId, java.lang.String name, boolean retrieveFromCache)
          Returns the group where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
          Returns the group where liveGroupId = ? or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId, boolean retrieveFromCache)
          Returns the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
          Returns the group with the primary key or returns null if it could not be found.
 com.liferay.portal.model.Group fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the group with the primary key or returns null if it could not be found.
 java.util.List<com.liferay.portal.model.Group> findAll()
          Returns all the groups.
 java.util.List<com.liferay.portal.model.Group> findAll(int start, int end)
          Returns a range of all the groups.
 java.util.List<com.liferay.portal.model.Group> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the groups.
 com.liferay.portal.model.Group findByC_C_C(long companyId, long classNameId, long classPK)
          Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
          Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByC_F(long companyId, java.lang.String friendlyURL)
          Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByC_L_N(long companyId, long liveGroupId, java.lang.String name)
          Returns the group where companyId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByC_N(long companyId, java.lang.String name)
          Returns the group where companyId = ? and name = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first group in the ordered set where companyId = ?.
 com.liferay.portal.model.Group findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last group in the ordered set where companyId = ?.
 com.liferay.portal.model.Group[] findByCompanyId_PrevAndNext(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the groups before and after the current group in the ordered set where companyId = ?.
 java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId)
          Returns all the groups where companyId = ?.
 java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the groups where companyId = ?.
 java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the groups where companyId = ?.
 com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
          Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByPrimaryKey(long groupId)
          Returns the group with the primary key or throws a NoSuchGroupException if it could not be found.
 com.liferay.portal.model.Group findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the group with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portal.model.Group findByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first group in the ordered set where type = ? and active = ?.
 com.liferay.portal.model.Group findByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last group in the ordered set where type = ? and active = ?.
 com.liferay.portal.model.Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the groups before and after the current group in the ordered set where type = ? and active = ?.
 java.util.List<com.liferay.portal.model.Group> findByT_A(int type, boolean active)
          Returns all the groups where type = ? and active = ?.
 java.util.List<com.liferay.portal.model.Group> findByT_A(int type, boolean active, int start, int end)
          Returns a range of all the groups where type = ? and active = ?.
 java.util.List<com.liferay.portal.model.Group> findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the groups where type = ? and active = ?.
protected  com.liferay.portal.model.Group getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.model.Group group, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portal.model.Group getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.model.Group group, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk)
          Returns all the organizations associated with the group.
 java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk, int start, int end)
          Returns a range of all the organizations associated with the group.
 java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the organizations associated with the group.
 int getOrganizationsSize(long pk)
          Returns the number of organizations associated with the group.
 java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk)
          Returns all the permissions associated with the group.
 java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk, int start, int end)
          Returns a range of all the permissions associated with the group.
 java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the permissions associated with the group.
 int getPermissionsSize(long pk)
          Returns the number of permissions associated with the group.
 java.util.List<com.liferay.portal.model.Role> getRoles(long pk)
          Returns all the roles associated with the group.
 java.util.List<com.liferay.portal.model.Role> getRoles(long pk, int start, int end)
          Returns a range of all the roles associated with the group.
 java.util.List<com.liferay.portal.model.Role> getRoles(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the roles associated with the group.
 int getRolesSize(long pk)
          Returns the number of roles associated with the group.
 java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk)
          Returns all the user groups associated with the group.
 java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk, int start, int end)
          Returns a range of all the user groups associated with the group.
 java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the user groups associated with the group.
 int getUserGroupsSize(long pk)
          Returns the number of user groups associated with the group.
 java.util.List<com.liferay.portal.model.User> getUsers(long pk)
          Returns all the users associated with the group.
 java.util.List<com.liferay.portal.model.User> getUsers(long pk, int start, int end)
          Returns a range of all the users associated with the group.
 java.util.List<com.liferay.portal.model.User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the users associated with the group.
 int getUsersSize(long pk)
          Returns the number of users associated with the group.
 com.liferay.portal.model.Group remove(long groupId)
          Removes the group with the primary key from the database.
 com.liferay.portal.model.Group remove(java.io.Serializable primaryKey)
          Removes the group with the primary key from the database.
 void removeAll()
          Removes all the groups from the database.
 void removeByC_C_C(long companyId, long classNameId, long classPK)
          Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
 void removeByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
          Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? from the database.
 void removeByC_F(long companyId, java.lang.String friendlyURL)
          Removes the group where companyId = ? and friendlyURL = ? from the database.
 void removeByC_L_N(long companyId, long liveGroupId, java.lang.String name)
          Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database.
 void removeByC_N(long companyId, java.lang.String name)
          Removes the group where companyId = ? and name = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the groups where companyId = ? from the database.
 void removeByLiveGroupId(long liveGroupId)
          Removes the group where liveGroupId = ? from the database.
 void removeByT_A(int type, boolean active)
          Removes all the groups where type = ? and active = ? from the database.
protected  com.liferay.portal.model.Group removeImpl(com.liferay.portal.model.Group group)
           
 void removeOrganization(long pk, long organizationPK)
          Removes the association between the group and the organization.
 void removeOrganization(long pk, com.liferay.portal.model.Organization organization)
          Removes the association between the group and the organization.
 void removeOrganizations(long pk, java.util.List<com.liferay.portal.model.Organization> organizations)
          Removes the association between the group and the organizations.
 void removeOrganizations(long pk, long[] organizationPKs)
          Removes the association between the group and the organizations.
 void removePermission(long pk, long permissionPK)
          Removes the association between the group and the permission.
 void removePermission(long pk, com.liferay.portal.model.Permission permission)
          Removes the association between the group and the permission.
 void removePermissions(long pk, java.util.List<com.liferay.portal.model.Permission> permissions)
          Removes the association between the group and the permissions.
 void removePermissions(long pk, long[] permissionPKs)
          Removes the association between the group and the permissions.
 void removeRole(long pk, long rolePK)
          Removes the association between the group and the role.
 void removeRole(long pk, com.liferay.portal.model.Role role)
          Removes the association between the group and the role.
 void removeRoles(long pk, java.util.List<com.liferay.portal.model.Role> roles)
          Removes the association between the group and the roles.
 void removeRoles(long pk, long[] rolePKs)
          Removes the association between the group and the roles.
 void removeUser(long pk, long userPK)
          Removes the association between the group and the user.
 void removeUser(long pk, com.liferay.portal.model.User user)
          Removes the association between the group and the user.
 void removeUserGroup(long pk, long userGroupPK)
          Removes the association between the group and the user group.
 void removeUserGroup(long pk, com.liferay.portal.model.UserGroup userGroup)
          Removes the association between the group and the user group.
 void removeUserGroups(long pk, java.util.List<com.liferay.portal.model.UserGroup> userGroups)
          Removes the association between the group and the user groups.
 void removeUserGroups(long pk, long[] userGroupPKs)
          Removes the association between the group and the user groups.
 void removeUsers(long pk, java.util.List<com.liferay.portal.model.User> users)
          Removes the association between the group and the users.
 void removeUsers(long pk, long[] userPKs)
          Removes the association between the group and the users.
 void setOrganizations(long pk, java.util.List<com.liferay.portal.model.Organization> organizations)
          Sets the organizations associated with the group, removing and adding associations as necessary.
 void setOrganizations(long pk, long[] organizationPKs)
          Sets the organizations associated with the group, removing and adding associations as necessary.
 void setPermissions(long pk, java.util.List<com.liferay.portal.model.Permission> permissions)
          Sets the permissions associated with the group, removing and adding associations as necessary.
 void setPermissions(long pk, long[] permissionPKs)
          Sets the permissions associated with the group, removing and adding associations as necessary.
 void setRoles(long pk, java.util.List<com.liferay.portal.model.Role> roles)
          Sets the roles associated with the group, removing and adding associations as necessary.
 void setRoles(long pk, long[] rolePKs)
          Sets the roles associated with the group, removing and adding associations as necessary.
 void setUserGroups(long pk, java.util.List<com.liferay.portal.model.UserGroup> userGroups)
          Sets the user groups associated with the group, removing and adding associations as necessary.
 void setUserGroups(long pk, long[] userGroupPKs)
          Sets the user groups associated with the group, removing and adding associations as necessary.
 void setUsers(long pk, java.util.List<com.liferay.portal.model.User> users)
          Sets the users associated with the group, removing and adding associations as necessary.
 void setUsers(long pk, long[] userPKs)
          Sets the users associated with the group, removing and adding associations as necessary.
protected  com.liferay.portal.model.Group toUnwrappedModel(com.liferay.portal.model.Group group)
           
 com.liferay.portal.model.Group updateImpl(com.liferay.portal.model.Group group, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, 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
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FETCH_BY_LIVEGROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_LIVEGROUPID

FINDER_PATH_COUNT_BY_LIVEGROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID

FINDER_PATH_FETCH_BY_C_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N

FINDER_PATH_COUNT_BY_C_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N

FINDER_PATH_FETCH_BY_C_F

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_F

FINDER_PATH_COUNT_BY_C_F

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_F

FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A

FINDER_PATH_COUNT_BY_T_A

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_A

FINDER_PATH_FETCH_BY_C_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_C

FINDER_PATH_COUNT_BY_C_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_C

FINDER_PATH_FETCH_BY_C_L_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_L_N

FINDER_PATH_COUNT_BY_C_L_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L_N

FINDER_PATH_FETCH_BY_C_C_L_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_L_N

FINDER_PATH_COUNT_BY_C_C_L_N

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_L_N

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_ORGANIZATIONS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ORGANIZATIONS

FINDER_PATH_GET_ORGANIZATIONS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ORGANIZATIONS_SIZE

FINDER_PATH_CONTAINS_ORGANIZATION

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ORGANIZATION

FINDER_PATH_GET_PERMISSIONS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_PERMISSIONS

FINDER_PATH_GET_PERMISSIONS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_PERMISSIONS_SIZE

FINDER_PATH_CONTAINS_PERMISSION

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_PERMISSION

FINDER_PATH_GET_ROLES

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ROLES

FINDER_PATH_GET_ROLES_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ROLES_SIZE

FINDER_PATH_CONTAINS_ROLE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ROLE

FINDER_PATH_GET_USERGROUPS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERGROUPS

FINDER_PATH_GET_USERGROUPS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERGROUPS_SIZE

FINDER_PATH_CONTAINS_USERGROUP

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_USERGROUP

FINDER_PATH_GET_USERS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERS

FINDER_PATH_GET_USERS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_USERS_SIZE

FINDER_PATH_CONTAINS_USER

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_USER

accountPersistence

@BeanReference(type=com.liferay.portal.service.persistence.AccountPersistence.class)
protected com.liferay.portal.service.persistence.AccountPersistence accountPersistence

addressPersistence

@BeanReference(type=com.liferay.portal.service.persistence.AddressPersistence.class)
protected com.liferay.portal.service.persistence.AddressPersistence addressPersistence

browserTrackerPersistence

@BeanReference(type=com.liferay.portal.service.persistence.BrowserTrackerPersistence.class)
protected com.liferay.portal.service.persistence.BrowserTrackerPersistence browserTrackerPersistence

classNamePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ClassNamePersistence.class)
protected com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence

clusterGroupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ClusterGroupPersistence.class)
protected com.liferay.portal.service.persistence.ClusterGroupPersistence clusterGroupPersistence

companyPersistence

@BeanReference(type=com.liferay.portal.service.persistence.CompanyPersistence.class)
protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence

contactPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ContactPersistence.class)
protected com.liferay.portal.service.persistence.ContactPersistence contactPersistence

countryPersistence

@BeanReference(type=com.liferay.portal.service.persistence.CountryPersistence.class)
protected com.liferay.portal.service.persistence.CountryPersistence countryPersistence

emailAddressPersistence

@BeanReference(type=com.liferay.portal.service.persistence.EmailAddressPersistence.class)
protected com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

imagePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ImagePersistence.class)
protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence

layoutPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutPersistence.class)
protected com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence

layoutBranchPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutBranchPersistence.class)
protected com.liferay.portal.service.persistence.LayoutBranchPersistence layoutBranchPersistence

layoutPrototypePersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutPrototypePersistence.class)
protected com.liferay.portal.service.persistence.LayoutPrototypePersistence layoutPrototypePersistence

layoutRevisionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutRevisionPersistence.class)
protected com.liferay.portal.service.persistence.LayoutRevisionPersistence layoutRevisionPersistence

layoutSetPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutSetPersistence.class)
protected com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence

layoutSetBranchPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutSetBranchPersistence.class)
protected com.liferay.portal.service.persistence.LayoutSetBranchPersistence layoutSetBranchPersistence

layoutSetPrototypePersistence

@BeanReference(type=com.liferay.portal.service.persistence.LayoutSetPrototypePersistence.class)
protected com.liferay.portal.service.persistence.LayoutSetPrototypePersistence layoutSetPrototypePersistence

listTypePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ListTypePersistence.class)
protected com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence

lockPersistence

@BeanReference(type=com.liferay.portal.service.persistence.LockPersistence.class)
protected com.liferay.portal.service.persistence.LockPersistence lockPersistence

membershipRequestPersistence

@BeanReference(type=com.liferay.portal.service.persistence.MembershipRequestPersistence.class)
protected com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence

organizationPersistence

@BeanReference(type=com.liferay.portal.service.persistence.OrganizationPersistence.class)
protected com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence

orgGroupPermissionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.OrgGroupPermissionPersistence.class)
protected com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence

orgGroupRolePersistence

@BeanReference(type=com.liferay.portal.service.persistence.OrgGroupRolePersistence.class)
protected com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence

orgLaborPersistence

@BeanReference(type=com.liferay.portal.service.persistence.OrgLaborPersistence.class)
protected com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence

passwordPolicyPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PasswordPolicyPersistence.class)
protected com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence

passwordPolicyRelPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PasswordPolicyRelPersistence.class)
protected com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence

passwordTrackerPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PasswordTrackerPersistence.class)
protected com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence

permissionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PermissionPersistence.class)
protected com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence

phonePersistence

@BeanReference(type=com.liferay.portal.service.persistence.PhonePersistence.class)
protected com.liferay.portal.service.persistence.PhonePersistence phonePersistence

pluginSettingPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PluginSettingPersistence.class)
protected com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence

portalPreferencesPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PortalPreferencesPersistence.class)
protected com.liferay.portal.service.persistence.PortalPreferencesPersistence portalPreferencesPersistence

portletPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PortletPersistence.class)
protected com.liferay.portal.service.persistence.PortletPersistence portletPersistence

portletItemPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PortletItemPersistence.class)
protected com.liferay.portal.service.persistence.PortletItemPersistence portletItemPersistence

portletPreferencesPersistence

@BeanReference(type=com.liferay.portal.service.persistence.PortletPreferencesPersistence.class)
protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence

regionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.RegionPersistence.class)
protected com.liferay.portal.service.persistence.RegionPersistence regionPersistence

releasePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ReleasePersistence.class)
protected com.liferay.portal.service.persistence.ReleasePersistence releasePersistence

repositoryPersistence

@BeanReference(type=com.liferay.portal.service.persistence.RepositoryPersistence.class)
protected com.liferay.portal.service.persistence.RepositoryPersistence repositoryPersistence

repositoryEntryPersistence

@BeanReference(type=com.liferay.portal.service.persistence.RepositoryEntryPersistence.class)
protected com.liferay.portal.service.persistence.RepositoryEntryPersistence repositoryEntryPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceActionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourceActionPersistence.class)
protected com.liferay.portal.service.persistence.ResourceActionPersistence resourceActionPersistence

resourceBlockPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourceBlockPersistence.class)
protected com.liferay.portal.service.persistence.ResourceBlockPersistence resourceBlockPersistence

resourceBlockPermissionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourceBlockPermissionPersistence.class)
protected com.liferay.portal.service.persistence.ResourceBlockPermissionPersistence resourceBlockPermissionPersistence

resourceCodePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourceCodePersistence.class)
protected com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence

resourcePermissionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePermissionPersistence.class)
protected com.liferay.portal.service.persistence.ResourcePermissionPersistence resourcePermissionPersistence

resourceTypePermissionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourceTypePermissionPersistence.class)
protected com.liferay.portal.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence

rolePersistence

@BeanReference(type=com.liferay.portal.service.persistence.RolePersistence.class)
protected com.liferay.portal.service.persistence.RolePersistence rolePersistence

serviceComponentPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ServiceComponentPersistence.class)
protected com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence

shardPersistence

@BeanReference(type=com.liferay.portal.service.persistence.ShardPersistence.class)
protected com.liferay.portal.service.persistence.ShardPersistence shardPersistence

subscriptionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.SubscriptionPersistence.class)
protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence

teamPersistence

@BeanReference(type=com.liferay.portal.service.persistence.TeamPersistence.class)
protected com.liferay.portal.service.persistence.TeamPersistence teamPersistence

ticketPersistence

@BeanReference(type=com.liferay.portal.service.persistence.TicketPersistence.class)
protected com.liferay.portal.service.persistence.TicketPersistence ticketPersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userGroupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserGroupPersistence.class)
protected com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence

userGroupGroupRolePersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserGroupGroupRolePersistence.class)
protected com.liferay.portal.service.persistence.UserGroupGroupRolePersistence userGroupGroupRolePersistence

userGroupRolePersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserGroupRolePersistence.class)
protected com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence

userIdMapperPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserIdMapperPersistence.class)
protected com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence

userNotificationEventPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserNotificationEventPersistence.class)
protected com.liferay.portal.service.persistence.UserNotificationEventPersistence userNotificationEventPersistence

userTrackerPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserTrackerPersistence.class)
protected com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence

userTrackerPathPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserTrackerPathPersistence.class)
protected com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence

virtualHostPersistence

@BeanReference(type=com.liferay.portal.service.persistence.VirtualHostPersistence.class)
protected com.liferay.portal.service.persistence.VirtualHostPersistence virtualHostPersistence

webDAVPropsPersistence

@BeanReference(type=com.liferay.portal.service.persistence.WebDAVPropsPersistence.class)
protected com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence

websitePersistence

@BeanReference(type=com.liferay.portal.service.persistence.WebsitePersistence.class)
protected com.liferay.portal.service.persistence.WebsitePersistence websitePersistence

workflowDefinitionLinkPersistence

@BeanReference(type=com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence.class)
protected com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence

workflowInstanceLinkPersistence

@BeanReference(type=com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence.class)
protected com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetVocabularyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence

blogsEntryPersistence

@BeanReference(type=com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence.class)
protected com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence

blogsStatsUserPersistence

@BeanReference(type=com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence.class)
protected com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence

bookmarksFolderPersistence

@BeanReference(type=com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence.class)
protected com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence bookmarksFolderPersistence

calEventPersistence

@BeanReference(type=com.liferay.portlet.calendar.service.persistence.CalEventPersistence.class)
protected com.liferay.portlet.calendar.service.persistence.CalEventPersistence calEventPersistence

dlFileEntryTypePersistence

@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence.class)
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence dlFileEntryTypePersistence

journalArticlePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticlePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence

journalStructurePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalStructurePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence

journalTemplatePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence

mbBanPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBBanPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence

mbCategoryPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence

mbStatsUserPersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence

pollsQuestionPersistence

@BeanReference(type=com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence.class)
protected com.liferay.portlet.polls.service.persistence.PollsQuestionPersistence pollsQuestionPersistence

shoppingCartPersistence

@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence.class)
protected com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence

shoppingCategoryPersistence

@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence.class)
protected com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence shoppingCategoryPersistence

shoppingCouponPersistence

@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence.class)
protected com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence shoppingCouponPersistence

shoppingOrderPersistence

@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence.class)
protected com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence shoppingOrderPersistence

scFrameworkVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence

scProductEntryPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence

wikiNodePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiNodePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence

containsOrganization

protected GroupPersistenceImpl.ContainsOrganization containsOrganization

addOrganization

protected GroupPersistenceImpl.AddOrganization addOrganization

clearOrganizations

protected GroupPersistenceImpl.ClearOrganizations clearOrganizations

removeOrganization

protected GroupPersistenceImpl.RemoveOrganization removeOrganization

containsPermission

protected GroupPersistenceImpl.ContainsPermission containsPermission

addPermission

protected GroupPersistenceImpl.AddPermission addPermission

clearPermissions

protected GroupPersistenceImpl.ClearPermissions clearPermissions

removePermission

protected GroupPersistenceImpl.RemovePermission removePermission

containsRole

protected GroupPersistenceImpl.ContainsRole containsRole

addRole

protected GroupPersistenceImpl.AddRole addRole

clearRoles

protected GroupPersistenceImpl.ClearRoles clearRoles

removeRole

protected GroupPersistenceImpl.RemoveRole removeRole

containsUserGroup

protected GroupPersistenceImpl.ContainsUserGroup containsUserGroup

addUserGroup

protected GroupPersistenceImpl.AddUserGroup addUserGroup

clearUserGroups

protected GroupPersistenceImpl.ClearUserGroups clearUserGroups

removeUserGroup

protected GroupPersistenceImpl.RemoveUserGroup removeUserGroup

containsUser

protected GroupPersistenceImpl.ContainsUser containsUser

addUser

protected GroupPersistenceImpl.AddUser addUser

clearUsers

protected GroupPersistenceImpl.ClearUsers clearUsers

removeUser

protected GroupPersistenceImpl.RemoveUser removeUser
Constructor Detail

GroupPersistenceImpl

public GroupPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portal.model.Group group)
Caches the group in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
group - the group

cacheResult

public void cacheResult(java.util.List<com.liferay.portal.model.Group> groups)
Caches the groups in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groups - the groups

clearCache

public void clearCache()
Clears the cache for all groups.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>

clearCache

public void clearCache(com.liferay.portal.model.Group group)
Clears the cache for the group.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>

clearCache

public void clearCache(java.util.List<com.liferay.portal.model.Group> groups)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portal.model.Group group)

create

public com.liferay.portal.model.Group create(long groupId)
Creates a new group with the primary key. Does not add the group to the database.

Specified by:
create in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key for the new group
Returns:
the new group

remove

public com.liferay.portal.model.Group remove(long groupId)
                                      throws com.liferay.portal.NoSuchGroupException,
                                             com.liferay.portal.kernel.exception.SystemException
Removes the group with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key of the group
Returns:
the group that was removed
Throws:
com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portal.model.Group remove(java.io.Serializable primaryKey)
                                      throws com.liferay.portal.NoSuchGroupException,
                                             com.liferay.portal.kernel.exception.SystemException
Removes the group with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
Parameters:
primaryKey - the primary key of the group
Returns:
the group that was removed
Throws:
com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portal.model.Group removeImpl(com.liferay.portal.model.Group group)
                                             throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portal.model.Group updateImpl(com.liferay.portal.model.Group group,
                                                 boolean merge)
                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portal.service.persistence.GroupPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portal.model.Group toUnwrappedModel(com.liferay.portal.model.Group group)

findByPrimaryKey

public com.liferay.portal.model.Group findByPrimaryKey(java.io.Serializable primaryKey)
                                                throws com.liferay.portal.NoSuchModelException,
                                                       com.liferay.portal.kernel.exception.SystemException
Returns the group with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
Parameters:
primaryKey - the primary key of the group
Returns:
the group
Throws:
com.liferay.portal.NoSuchModelException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portal.model.Group findByPrimaryKey(long groupId)
                                                throws com.liferay.portal.NoSuchGroupException,
                                                       com.liferay.portal.kernel.exception.SystemException
Returns the group with the primary key or throws a NoSuchGroupException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key of the group
Returns:
the group
Throws:
com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portal.model.Group fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns the group with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
Parameters:
primaryKey - the primary key of the group
Returns:
the group, or null if a group with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns the group with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key of the group
Returns:
the group, or null if a group with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Returns all the groups where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
Returns:
the matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId,
                                                                      int start,
                                                                      int end)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the groups where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId,
                                                                      int start,
                                                                      int end,
                                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the groups where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_First

public com.liferay.portal.model.Group findByCompanyId_First(long companyId,
                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                     throws com.liferay.portal.NoSuchGroupException,
                                                            com.liferay.portal.kernel.exception.SystemException
Returns the first group in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_First in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_Last

public com.liferay.portal.model.Group findByCompanyId_Last(long companyId,
                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                    throws com.liferay.portal.NoSuchGroupException,
                                                           com.liferay.portal.kernel.exception.SystemException
Returns the last group in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_Last in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public com.liferay.portal.model.Group[] findByCompanyId_PrevAndNext(long groupId,
                                                                    long companyId,
                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                             throws com.liferay.portal.NoSuchGroupException,
                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the groups before and after the current group in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key of the current group
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next group
Throws:
com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected com.liferay.portal.model.Group getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                    com.liferay.portal.model.Group group,
                                                                    long companyId,
                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                    boolean previous)

findByLiveGroupId

public com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
                                                 throws com.liferay.portal.NoSuchGroupException,
                                                        com.liferay.portal.kernel.exception.SystemException
Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
liveGroupId - the live group ID
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByLiveGroupId

public com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns the group where liveGroupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
liveGroupId - the live group ID
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByLiveGroupId

public com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId,
                                                         boolean retrieveFromCache)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
liveGroupId - the live group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_N

public com.liferay.portal.model.Group findByC_N(long companyId,
                                                java.lang.String name)
                                         throws com.liferay.portal.NoSuchGroupException,
                                                com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and name = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByC_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
name - the name
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_N

public com.liferay.portal.model.Group fetchByC_N(long companyId,
                                                 java.lang.String name)
                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
name - the name
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_N

public com.liferay.portal.model.Group fetchByC_N(long companyId,
                                                 java.lang.String name,
                                                 boolean retrieveFromCache)
                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
name - the name
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_F

public com.liferay.portal.model.Group findByC_F(long companyId,
                                                java.lang.String friendlyURL)
                                         throws com.liferay.portal.NoSuchGroupException,
                                                com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByC_F in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
friendlyURL - the friendly u r l
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_F

public com.liferay.portal.model.Group fetchByC_F(long companyId,
                                                 java.lang.String friendlyURL)
                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_F in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
friendlyURL - the friendly u r l
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_F

public com.liferay.portal.model.Group fetchByC_F(long companyId,
                                                 java.lang.String friendlyURL,
                                                 boolean retrieveFromCache)
                                          throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_F in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
friendlyURL - the friendly u r l
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A

public java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
                                                                boolean active)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns all the groups where type = ? and active = ?.

Specified by:
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
Returns:
the matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A

public java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
                                                                boolean active,
                                                                int start,
                                                                int end)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the groups where type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A

public java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
                                                                boolean active,
                                                                int start,
                                                                int end,
                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the groups where type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A_First

public com.liferay.portal.model.Group findByT_A_First(int type,
                                                      boolean active,
                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                               throws com.liferay.portal.NoSuchGroupException,
                                                      com.liferay.portal.kernel.exception.SystemException
Returns the first group in the ordered set where type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByT_A_First in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A_Last

public com.liferay.portal.model.Group findByT_A_Last(int type,
                                                     boolean active,
                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                              throws com.liferay.portal.NoSuchGroupException,
                                                     com.liferay.portal.kernel.exception.SystemException
Returns the last group in the ordered set where type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByT_A_Last in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByT_A_PrevAndNext

public com.liferay.portal.model.Group[] findByT_A_PrevAndNext(long groupId,
                                                              int type,
                                                              boolean active,
                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                       throws com.liferay.portal.NoSuchGroupException,
                                                              com.liferay.portal.kernel.exception.SystemException
Returns the groups before and after the current group in the ordered set where type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByT_A_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
groupId - the primary key of the current group
type - the type
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next group
Throws:
com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByT_A_PrevAndNext

protected com.liferay.portal.model.Group getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                              com.liferay.portal.model.Group group,
                                                              int type,
                                                              boolean active,
                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                              boolean previous)

findByC_C_C

public com.liferay.portal.model.Group findByC_C_C(long companyId,
                                                  long classNameId,
                                                  long classPK)
                                           throws com.liferay.portal.NoSuchGroupException,
                                                  com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C_C

public com.liferay.portal.model.Group fetchByC_C_C(long companyId,
                                                   long classNameId,
                                                   long classPK)
                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C_C

public com.liferay.portal.model.Group fetchByC_C_C(long companyId,
                                                   long classNameId,
                                                   long classPK,
                                                   boolean retrieveFromCache)
                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_L_N

public com.liferay.portal.model.Group findByC_L_N(long companyId,
                                                  long liveGroupId,
                                                  java.lang.String name)
                                           throws com.liferay.portal.NoSuchGroupException,
                                                  com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
liveGroupId - the live group ID
name - the name
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_L_N

public com.liferay.portal.model.Group fetchByC_L_N(long companyId,
                                                   long liveGroupId,
                                                   java.lang.String name)
                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
liveGroupId - the live group ID
name - the name
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_L_N

public com.liferay.portal.model.Group fetchByC_L_N(long companyId,
                                                   long liveGroupId,
                                                   java.lang.String name,
                                                   boolean retrieveFromCache)
                                            throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
liveGroupId - the live group ID
name - the name
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_C_L_N

public com.liferay.portal.model.Group findByC_C_L_N(long companyId,
                                                    long classNameId,
                                                    long liveGroupId,
                                                    java.lang.String name)
                                             throws com.liferay.portal.NoSuchGroupException,
                                                    com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found.

Specified by:
findByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
liveGroupId - the live group ID
name - the name
Returns:
the matching group
Throws:
com.liferay.portal.NoSuchGroupException - if a matching group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C_L_N

public com.liferay.portal.model.Group fetchByC_C_L_N(long companyId,
                                                     long classNameId,
                                                     long liveGroupId,
                                                     java.lang.String name)
                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
liveGroupId - the live group ID
name - the name
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C_L_N

public com.liferay.portal.model.Group fetchByC_C_L_N(long companyId,
                                                     long classNameId,
                                                     long liveGroupId,
                                                     java.lang.String name,
                                                     boolean retrieveFromCache)
                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
liveGroupId - the live group ID
name - the name
retrieveFromCache - whether to use the finder cache
Returns:
the matching group, or null if a matching group could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portal.model.Group> findAll()
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the groups.

Specified by:
findAll in interface com.liferay.portal.service.persistence.GroupPersistence
Returns:
the groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portal.model.Group> findAll(int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the groups.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portal.model.Group> findAll(int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the groups.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes all the groups where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByLiveGroupId

public void removeByLiveGroupId(long liveGroupId)
                         throws com.liferay.portal.NoSuchGroupException,
                                com.liferay.portal.kernel.exception.SystemException
Removes the group where liveGroupId = ? from the database.

Specified by:
removeByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
liveGroupId - the live group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeByC_N

public void removeByC_N(long companyId,
                        java.lang.String name)
                 throws com.liferay.portal.NoSuchGroupException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the group where companyId = ? and name = ? from the database.

Specified by:
removeByC_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
name - the name
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeByC_F

public void removeByC_F(long companyId,
                        java.lang.String friendlyURL)
                 throws com.liferay.portal.NoSuchGroupException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the group where companyId = ? and friendlyURL = ? from the database.

Specified by:
removeByC_F in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
friendlyURL - the friendly u r l
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeByT_A

public void removeByT_A(int type,
                        boolean active)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the groups where type = ? and active = ? from the database.

Specified by:
removeByT_A in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByC_C_C

public void removeByC_C_C(long companyId,
                          long classNameId,
                          long classPK)
                   throws com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.kernel.exception.SystemException
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.

Specified by:
removeByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
classPK - the class p k
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeByC_L_N

public void removeByC_L_N(long companyId,
                          long liveGroupId,
                          java.lang.String name)
                   throws com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.kernel.exception.SystemException
Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database.

Specified by:
removeByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
liveGroupId - the live group ID
name - the name
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeByC_C_L_N

public void removeByC_C_L_N(long companyId,
                            long classNameId,
                            long liveGroupId,
                            java.lang.String name)
                     throws com.liferay.portal.NoSuchGroupException,
                            com.liferay.portal.kernel.exception.SystemException
Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? from the database.

Specified by:
removeByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
liveGroupId - the live group ID
name - the name
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portal.NoSuchGroupException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the groups from the database.

Specified by:
removeAll in interface com.liferay.portal.service.persistence.GroupPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByLiveGroupId

public int countByLiveGroupId(long liveGroupId)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where liveGroupId = ?.

Specified by:
countByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
liveGroupId - the live group ID
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_N

public int countByC_N(long companyId,
                      java.lang.String name)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ? and name = ?.

Specified by:
countByC_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
name - the name
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_F

public int countByC_F(long companyId,
                      java.lang.String friendlyURL)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ? and friendlyURL = ?.

Specified by:
countByC_F in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
friendlyURL - the friendly u r l
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByT_A

public int countByT_A(int type,
                      boolean active)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where type = ? and active = ?.

Specified by:
countByT_A in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
type - the type
active - the active
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_C_C

public int countByC_C_C(long companyId,
                        long classNameId,
                        long classPK)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.

Specified by:
countByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_L_N

public int countByC_L_N(long companyId,
                        long liveGroupId,
                        java.lang.String name)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ? and liveGroupId = ? and name = ?.

Specified by:
countByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
liveGroupId - the live group ID
name - the name
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_C_L_N

public int countByC_C_L_N(long companyId,
                          long classNameId,
                          long liveGroupId,
                          java.lang.String name)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?.

Specified by:
countByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
liveGroupId - the live group ID
name - the name
Returns:
the number of matching groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of groups.

Specified by:
countAll in interface com.liferay.portal.service.persistence.GroupPersistence
Returns:
the number of groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getOrganizations

public java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the organizations associated with the group.

Specified by:
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the organizations associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getOrganizations

public java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk,
                                                                              int start,
                                                                              int end)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the organizations associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of organizations associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getOrganizations

public java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk,
                                                                              int start,
                                                                              int end,
                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the organizations associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of organizations associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getOrganizationsSize

public int getOrganizationsSize(long pk)
                         throws com.liferay.portal.kernel.exception.SystemException
Returns the number of organizations associated with the group.

Specified by:
getOrganizationsSize in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the number of organizations associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsOrganization

public boolean containsOrganization(long pk,
                                    long organizationPK)
                             throws com.liferay.portal.kernel.exception.SystemException
Returns true if the organization is associated with the group.

Specified by:
containsOrganization in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPK - the primary key of the organization
Returns:
true if the organization is associated with the group; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsOrganizations

public boolean containsOrganizations(long pk)
                              throws com.liferay.portal.kernel.exception.SystemException
Returns true if the group has any organizations associated with it.

Specified by:
containsOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to check for associations with organizations
Returns:
true if the group has any organizations associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addOrganization

public void addOrganization(long pk,
                            long organizationPK)
                     throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addOrganization in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPK - the primary key of the organization
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addOrganization

public void addOrganization(long pk,
                            com.liferay.portal.model.Organization organization)
                     throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addOrganization in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organization - the organization
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addOrganizations

public void addOrganizations(long pk,
                             long[] organizationPKs)
                      throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPKs - the primary keys of the organizations
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addOrganizations

public void addOrganizations(long pk,
                             java.util.List<com.liferay.portal.model.Organization> organizations)
                      throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizations - the organizations
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearOrganizations

public void clearOrganizations(long pk)
                        throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the group and its organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to clear the associated organizations from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeOrganization

public void removeOrganization(long pk,
                               long organizationPK)
                        throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeOrganization in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPK - the primary key of the organization
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeOrganization

public void removeOrganization(long pk,
                               com.liferay.portal.model.Organization organization)
                        throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeOrganization in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organization - the organization
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeOrganizations

public void removeOrganizations(long pk,
                                long[] organizationPKs)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPKs - the primary keys of the organizations
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeOrganizations

public void removeOrganizations(long pk,
                                java.util.List<com.liferay.portal.model.Organization> organizations)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizations - the organizations
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setOrganizations

public void setOrganizations(long pk,
                             long[] organizationPKs)
                      throws com.liferay.portal.kernel.exception.SystemException
Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizationPKs - the primary keys of the organizations to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setOrganizations

public void setOrganizations(long pk,
                             java.util.List<com.liferay.portal.model.Organization> organizations)
                      throws com.liferay.portal.kernel.exception.SystemException
Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setOrganizations in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
organizations - the organizations to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPermissions

public java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns all the permissions associated with the group.

Specified by:
getPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the permissions associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPermissions

public java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk,
                                                                          int start,
                                                                          int end)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the permissions associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of permissions associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPermissions

public java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk,
                                                                          int start,
                                                                          int end,
                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the permissions associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of permissions associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPermissionsSize

public int getPermissionsSize(long pk)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of permissions associated with the group.

Specified by:
getPermissionsSize in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the number of permissions associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsPermission

public boolean containsPermission(long pk,
                                  long permissionPK)
                           throws com.liferay.portal.kernel.exception.SystemException
Returns true if the permission is associated with the group.

Specified by:
containsPermission in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPK - the primary key of the permission
Returns:
true if the permission is associated with the group; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsPermissions

public boolean containsPermissions(long pk)
                            throws com.liferay.portal.kernel.exception.SystemException
Returns true if the group has any permissions associated with it.

Specified by:
containsPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to check for associations with permissions
Returns:
true if the group has any permissions associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addPermission

public void addPermission(long pk,
                          long permissionPK)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the permission. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addPermission in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPK - the primary key of the permission
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addPermission

public void addPermission(long pk,
                          com.liferay.portal.model.Permission permission)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the permission. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addPermission in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permission - the permission
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addPermissions

public void addPermissions(long pk,
                           long[] permissionPKs)
                    throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the permissions. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPKs - the primary keys of the permissions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addPermissions

public void addPermissions(long pk,
                           java.util.List<com.liferay.portal.model.Permission> permissions)
                    throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the permissions. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissions - the permissions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearPermissions

public void clearPermissions(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the group and its permissions. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to clear the associated permissions from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removePermission

public void removePermission(long pk,
                             long permissionPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the permission. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removePermission in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPK - the primary key of the permission
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removePermission

public void removePermission(long pk,
                             com.liferay.portal.model.Permission permission)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the permission. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removePermission in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permission - the permission
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removePermissions

public void removePermissions(long pk,
                              long[] permissionPKs)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the permissions. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removePermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPKs - the primary keys of the permissions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removePermissions

public void removePermissions(long pk,
                              java.util.List<com.liferay.portal.model.Permission> permissions)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the permissions. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removePermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissions - the permissions
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setPermissions

public void setPermissions(long pk,
                           long[] permissionPKs)
                    throws com.liferay.portal.kernel.exception.SystemException
Sets the permissions associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissionPKs - the primary keys of the permissions to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setPermissions

public void setPermissions(long pk,
                           java.util.List<com.liferay.portal.model.Permission> permissions)
                    throws com.liferay.portal.kernel.exception.SystemException
Sets the permissions associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setPermissions in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
permissions - the permissions to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getRoles

public java.util.List<com.liferay.portal.model.Role> getRoles(long pk)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the roles associated with the group.

Specified by:
getRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the roles associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getRoles

public java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
                                                              int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the roles associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of roles associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getRoles

public java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
                                                              int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the roles associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of roles associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getRolesSize

public int getRolesSize(long pk)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of roles associated with the group.

Specified by:
getRolesSize in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the number of roles associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsRole

public boolean containsRole(long pk,
                            long rolePK)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns true if the role is associated with the group.

Specified by:
containsRole in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePK - the primary key of the role
Returns:
true if the role is associated with the group; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsRoles

public boolean containsRoles(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Returns true if the group has any roles associated with it.

Specified by:
containsRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to check for associations with roles
Returns:
true if the group has any roles associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addRole

public void addRole(long pk,
                    long rolePK)
             throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addRole in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePK - the primary key of the role
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addRole

public void addRole(long pk,
                    com.liferay.portal.model.Role role)
             throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addRole in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
role - the role
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addRoles

public void addRoles(long pk,
                     long[] rolePKs)
              throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePKs - the primary keys of the roles
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addRoles

public void addRoles(long pk,
                     java.util.List<com.liferay.portal.model.Role> roles)
              throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
roles - the roles
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearRoles

public void clearRoles(long pk)
                throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the group and its roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to clear the associated roles from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeRole

public void removeRole(long pk,
                       long rolePK)
                throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeRole in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePK - the primary key of the role
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeRole

public void removeRole(long pk,
                       com.liferay.portal.model.Role role)
                throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeRole in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
role - the role
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeRoles

public void removeRoles(long pk,
                        long[] rolePKs)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePKs - the primary keys of the roles
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeRoles

public void removeRoles(long pk,
                        java.util.List<com.liferay.portal.model.Role> roles)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
roles - the roles
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setRoles

public void setRoles(long pk,
                     long[] rolePKs)
              throws com.liferay.portal.kernel.exception.SystemException
Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
rolePKs - the primary keys of the roles to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setRoles

public void setRoles(long pk,
                     java.util.List<com.liferay.portal.model.Role> roles)
              throws com.liferay.portal.kernel.exception.SystemException
Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setRoles in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
roles - the roles to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUserGroups

public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk)
                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the user groups associated with the group.

Specified by:
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the user groups associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUserGroups

public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk,
                                                                        int start,
                                                                        int end)
                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the user groups associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of user groups associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUserGroups

public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk,
                                                                        int start,
                                                                        int end,
                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the user groups associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of user groups associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUserGroupsSize

public int getUserGroupsSize(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Returns the number of user groups associated with the group.

Specified by:
getUserGroupsSize in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the number of user groups associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsUserGroup

public boolean containsUserGroup(long pk,
                                 long userGroupPK)
                          throws com.liferay.portal.kernel.exception.SystemException
Returns true if the user group is associated with the group.

Specified by:
containsUserGroup in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPK - the primary key of the user group
Returns:
true if the user group is associated with the group; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsUserGroups

public boolean containsUserGroups(long pk)
                           throws com.liferay.portal.kernel.exception.SystemException
Returns true if the group has any user groups associated with it.

Specified by:
containsUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to check for associations with user groups
Returns:
true if the group has any user groups associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUserGroup

public void addUserGroup(long pk,
                         long userGroupPK)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUserGroup in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPK - the primary key of the user group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUserGroup

public void addUserGroup(long pk,
                         com.liferay.portal.model.UserGroup userGroup)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUserGroup in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroup - the user group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUserGroups

public void addUserGroups(long pk,
                          long[] userGroupPKs)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPKs - the primary keys of the user groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUserGroups

public void addUserGroups(long pk,
                          java.util.List<com.liferay.portal.model.UserGroup> userGroups)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroups - the user groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearUserGroups

public void clearUserGroups(long pk)
                     throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the group and its user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to clear the associated user groups from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUserGroup

public void removeUserGroup(long pk,
                            long userGroupPK)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUserGroup in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPK - the primary key of the user group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUserGroup

public void removeUserGroup(long pk,
                            com.liferay.portal.model.UserGroup userGroup)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUserGroup in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroup - the user group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUserGroups

public void removeUserGroups(long pk,
                             long[] userGroupPKs)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPKs - the primary keys of the user groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUserGroups

public void removeUserGroups(long pk,
                             java.util.List<com.liferay.portal.model.UserGroup> userGroups)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroups - the user groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setUserGroups

public void setUserGroups(long pk,
                          long[] userGroupPKs)
                   throws com.liferay.portal.kernel.exception.SystemException
Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroupPKs - the primary keys of the user groups to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setUserGroups

public void setUserGroups(long pk,
                          java.util.List<com.liferay.portal.model.UserGroup> userGroups)
                   throws com.liferay.portal.kernel.exception.SystemException
Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setUserGroups in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userGroups - the user groups to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUsers

public java.util.List<com.liferay.portal.model.User> getUsers(long pk)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the users associated with the group.

Specified by:
getUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the users associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUsers

public java.util.List<com.liferay.portal.model.User> getUsers(long pk,
                                                              int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the users associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
Returns:
the range of users associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUsers

public java.util.List<com.liferay.portal.model.User> getUsers(long pk,
                                                              int start,
                                                              int end,
                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the users associated with the group.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
start - the lower bound of the range of groups
end - the upper bound of the range of groups (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of users associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getUsersSize

public int getUsersSize(long pk)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of users associated with the group.

Specified by:
getUsersSize in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
Returns:
the number of users associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsUser

public boolean containsUser(long pk,
                            long userPK)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns true if the user is associated with the group.

Specified by:
containsUser in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPK - the primary key of the user
Returns:
true if the user is associated with the group; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsUsers

public boolean containsUsers(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Returns true if the group has any users associated with it.

Specified by:
containsUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to check for associations with users
Returns:
true if the group has any users associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUser

public void addUser(long pk,
                    long userPK)
             throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUser in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPK - the primary key of the user
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUser

public void addUser(long pk,
                    com.liferay.portal.model.User user)
             throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUser in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
user - the user
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUsers

public void addUsers(long pk,
                     long[] userPKs)
              throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPKs - the primary keys of the users
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addUsers

public void addUsers(long pk,
                     java.util.List<com.liferay.portal.model.User> users)
              throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
users - the users
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearUsers

public void clearUsers(long pk)
                throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the group and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group to clear the associated users from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUser

public void removeUser(long pk,
                       long userPK)
                throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUser in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPK - the primary key of the user
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUser

public void removeUser(long pk,
                       com.liferay.portal.model.User user)
                throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUser in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
user - the user
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUsers

public void removeUsers(long pk,
                        long[] userPKs)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPKs - the primary keys of the users
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeUsers

public void removeUsers(long pk,
                        java.util.List<com.liferay.portal.model.User> users)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
users - the users
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setUsers

public void setUsers(long pk,
                     long[] userPKs)
              throws com.liferay.portal.kernel.exception.SystemException
Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
userPKs - the primary keys of the users to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setUsers

public void setUsers(long pk,
                     java.util.List<com.liferay.portal.model.User> users)
              throws com.liferay.portal.kernel.exception.SystemException
Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setUsers in interface com.liferay.portal.service.persistence.GroupPersistence
Parameters:
pk - the primary key of the group
users - the users to be associated with the group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the group persistence.


destroy

public void destroy()