|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Group> com.liferay.portal.service.persistence.GroupPersistenceImpl
public class GroupPersistenceImpl
The persistence implementation for the group service.
Never modify or reference this class directly. Always use GroupUtil
to access the group persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
GroupPersistence
,
GroupUtil
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
Constructor Summary | |
---|---|
GroupPersistenceImpl()
|
Method Summary | |
---|---|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization. |
void |
addOrganization(long pk,
Organization organization)
Adds an association between the group and the organization. |
void |
addOrganizations(long pk,
List<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,
Permission permission)
Adds an association between the group and the permission. |
void |
addPermissions(long pk,
List<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,
Role role)
Adds an association between the group and the role. |
void |
addRoles(long pk,
List<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,
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,
UserGroup userGroup)
Adds an association between the group and the user group. |
void |
addUserGroups(long pk,
List<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,
List<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(Group group)
Caches the group in the entity cache if it is enabled. |
void |
cacheResult(List<Group> groups)
Caches the groups in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all groups. |
void |
clearCache(Group group)
Clears the cache for the group. |
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. |
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)
Determines whether the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Determines whether the group has any organizations associated with it. |
boolean |
containsPermission(long pk,
long permissionPK)
Determines whether the permission is associated with the group. |
boolean |
containsPermissions(long pk)
Determines whether the group has any permissions associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Determines whether the role is associated with the group. |
boolean |
containsRoles(long pk)
Determines whether the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Determines whether the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Determines whether the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Determines whether the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Determines whether the group has any users associated with it. |
int |
countAll()
Counts all the groups. |
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Counts all the groups where companyId = ? and classNameId = ? and classPK = ?. |
int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Counts all the groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?. |
int |
countByC_F(long companyId,
String friendlyURL)
Counts all the groups where companyId = ? and friendlyURL = ?. |
int |
countByC_L_N(long companyId,
long liveGroupId,
String name)
Counts all the groups where companyId = ? and liveGroupId = ? and name = ?. |
int |
countByC_N(long companyId,
String name)
Counts all the groups where companyId = ? and name = ?. |
int |
countByCompanyId(long companyId)
Counts all the groups where companyId = ?. |
int |
countByLiveGroupId(long liveGroupId)
Counts all the groups where liveGroupId = ?. |
int |
countByT_A(int type,
boolean active)
Counts all the groups where type = ? and active = ?. |
Group |
create(long groupId)
Creates a new group with the primary key. |
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
Finds the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. |
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
Finds the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Finds the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name,
boolean retrieveFromCache)
Finds the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_F(long companyId,
String friendlyURL)
Finds the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. |
Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
Finds the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name)
Finds the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name,
boolean retrieveFromCache)
Finds the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_N(long companyId,
String name)
Finds the group where companyId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
Finds the group where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByLiveGroupId(long liveGroupId)
Finds the group where liveGroupId = ? or returns null if it could not be found. |
Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
Finds the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByPrimaryKey(long groupId)
Finds the group with the primary key or returns null if it could not be found. |
Group |
fetchByPrimaryKey(Serializable primaryKey)
Finds the group with the primary key or returns null if it could not be found. |
List<Group> |
findAll()
Finds all the groups. |
List<Group> |
findAll(int start,
int end)
Finds a range of all the groups. |
List<Group> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups. |
Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Finds the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Finds the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_F(long companyId,
String friendlyURL)
Finds the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_L_N(long companyId,
long liveGroupId,
String name)
Finds the group where companyId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_N(long companyId,
String name)
Finds the group where companyId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first group in the ordered set where companyId = ?. |
Group |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last group in the ordered set where companyId = ?. |
Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
Finds the groups before and after the current group in the ordered set where companyId = ?. |
List<Group> |
findByCompanyId(long companyId)
Finds all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups where companyId = ?. |
Group |
findByLiveGroupId(long liveGroupId)
Finds the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(long groupId)
Finds the group with the primary key or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(Serializable primaryKey)
Finds the group with the primary key or throws a NoSuchModelException if it could not be found. |
Group |
findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
Finds the first group in the ordered set where type = ? and active = ?. |
Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
Finds the last group in the ordered set where type = ? and active = ?. |
Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
Finds the groups before and after the current group in the ordered set where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active)
Finds all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Finds a range of all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups where type = ? and active = ?. |
protected Group |
getByCompanyId_PrevAndNext(Session session,
Group group,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected Group |
getByT_A_PrevAndNext(Session session,
Group group,
int type,
boolean active,
OrderByComparator orderByComparator,
boolean previous)
|
List<Organization> |
getOrganizations(long pk)
Gets all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end)
Gets a range of all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the organizations associated with the group. |
int |
getOrganizationsSize(long pk)
Gets the number of organizations associated with the group. |
List<Permission> |
getPermissions(long pk)
Gets all the permissions associated with the group. |
List<Permission> |
getPermissions(long pk,
int start,
int end)
Gets a range of all the permissions associated with the group. |
List<Permission> |
getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the permissions associated with the group. |
int |
getPermissionsSize(long pk)
Gets the number of permissions associated with the group. |
List<Role> |
getRoles(long pk)
Gets all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end)
Gets a range of all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the roles associated with the group. |
int |
getRolesSize(long pk)
Gets the number of roles associated with the group. |
List<UserGroup> |
getUserGroups(long pk)
Gets all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
Gets a range of all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the user groups associated with the group. |
int |
getUserGroupsSize(long pk)
Gets the number of user groups associated with the group. |
List<User> |
getUsers(long pk)
Gets all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end)
Gets a range of all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the users associated with the group. |
int |
getUsersSize(long pk)
Gets the number of users associated with the group. |
Group |
remove(long groupId)
Removes the group with the primary key from the database. |
Group |
remove(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,
String name)
Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? from the database. |
void |
removeByC_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database. |
void |
removeByC_L_N(long companyId,
long liveGroupId,
String name)
Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database. |
void |
removeByC_N(long companyId,
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 Group |
removeImpl(Group group)
Removes the model instance from the database. |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization. |
void |
removeOrganization(long pk,
Organization organization)
Removes the association between the group and the organization. |
void |
removeOrganizations(long pk,
List<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,
Permission permission)
Removes the association between the group and the permission. |
void |
removePermissions(long pk,
List<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,
Role role)
Removes the association between the group and the role. |
void |
removeRoles(long pk,
List<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,
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,
UserGroup userGroup)
Removes the association between the group and the user group. |
void |
removeUserGroups(long pk,
List<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,
List<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,
List<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,
List<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,
List<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,
List<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,
List<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 Group |
toUnwrappedModel(Group group)
|
Group |
updateImpl(Group group,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
Field Detail |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FETCH_BY_LIVEGROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_C_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_N
public static final FinderPath FINDER_PATH_FETCH_BY_C_F
public static final FinderPath FINDER_PATH_COUNT_BY_C_F
public static final FinderPath FINDER_PATH_FIND_BY_T_A
public static final FinderPath FINDER_PATH_COUNT_BY_T_A
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_C
public static final FinderPath FINDER_PATH_FETCH_BY_C_L_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_L_N
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_L_N
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_L_N
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_GET_ORGANIZATIONS
public static final FinderPath FINDER_PATH_GET_ORGANIZATIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ORGANIZATION
public static final FinderPath FINDER_PATH_GET_PERMISSIONS
public static final FinderPath FINDER_PATH_GET_PERMISSIONS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_PERMISSION
public static final FinderPath FINDER_PATH_GET_ROLES
public static final FinderPath FINDER_PATH_GET_ROLES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_ROLE
public static final FinderPath FINDER_PATH_GET_USERGROUPS
public static final FinderPath FINDER_PATH_GET_USERGROUPS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_USERGROUP
public static final FinderPath FINDER_PATH_GET_USERS
public static final FinderPath FINDER_PATH_GET_USERS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_USER
@BeanReference(type=AccountPersistence.class) protected AccountPersistence accountPersistence
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=ClusterGroupPersistence.class) protected ClusterGroupPersistence clusterGroupPersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrgGroupPermissionPersistence.class) protected OrgGroupPermissionPersistence orgGroupPermissionPersistence
@BeanReference(type=OrgGroupRolePersistence.class) protected OrgGroupRolePersistence orgGroupRolePersistence
@BeanReference(type=OrgLaborPersistence.class) protected OrgLaborPersistence orgLaborPersistence
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence
@BeanReference(type=PermissionPersistence.class) protected PermissionPersistence permissionPersistence
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=PortletPersistence.class) protected PortletPersistence portletPersistence
@BeanReference(type=PortletItemPersistence.class) protected PortletItemPersistence portletItemPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ReleasePersistence.class) protected ReleasePersistence releasePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=ResourceCodePersistence.class) protected ResourceCodePersistence resourceCodePersistence
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=ServiceComponentPersistence.class) protected ServiceComponentPersistence serviceComponentPersistence
@BeanReference(type=ShardPersistence.class) protected ShardPersistence shardPersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=TicketPersistence.class) protected TicketPersistence ticketPersistence
@BeanReference(type=TeamPersistence.class) protected TeamPersistence teamPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
@BeanReference(type=UserGroupGroupRolePersistence.class) protected UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence
@BeanReference(type=UserTrackerPersistence.class) protected UserTrackerPersistence userTrackerPersistence
@BeanReference(type=UserTrackerPathPersistence.class) protected UserTrackerPathPersistence userTrackerPathPersistence
@BeanReference(type=WebDAVPropsPersistence.class) protected WebDAVPropsPersistence webDAVPropsPersistence
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=BlogsEntryPersistence.class) protected BlogsEntryPersistence blogsEntryPersistence
@BeanReference(type=BlogsStatsUserPersistence.class) protected BlogsStatsUserPersistence blogsStatsUserPersistence
@BeanReference(type=BookmarksFolderPersistence.class) protected BookmarksFolderPersistence bookmarksFolderPersistence
@BeanReference(type=CalEventPersistence.class) protected CalEventPersistence calEventPersistence
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=IGFolderPersistence.class) protected IGFolderPersistence igFolderPersistence
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=MBBanPersistence.class) protected MBBanPersistence mbBanPersistence
@BeanReference(type=MBCategoryPersistence.class) protected MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=PollsQuestionPersistence.class) protected PollsQuestionPersistence pollsQuestionPersistence
@BeanReference(type=ShoppingCartPersistence.class) protected ShoppingCartPersistence shoppingCartPersistence
@BeanReference(type=ShoppingCategoryPersistence.class) protected ShoppingCategoryPersistence shoppingCategoryPersistence
@BeanReference(type=ShoppingCouponPersistence.class) protected ShoppingCouponPersistence shoppingCouponPersistence
@BeanReference(type=ShoppingOrderPersistence.class) protected ShoppingOrderPersistence shoppingOrderPersistence
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=TasksProposalPersistence.class) protected TasksProposalPersistence tasksProposalPersistence
@BeanReference(type=WikiNodePersistence.class) protected WikiNodePersistence wikiNodePersistence
protected GroupPersistenceImpl.ContainsOrganization containsOrganization
protected GroupPersistenceImpl.AddOrganization addOrganization
protected GroupPersistenceImpl.ClearOrganizations clearOrganizations
protected GroupPersistenceImpl.RemoveOrganization removeOrganization
protected GroupPersistenceImpl.ContainsPermission containsPermission
protected GroupPersistenceImpl.AddPermission addPermission
protected GroupPersistenceImpl.ClearPermissions clearPermissions
protected GroupPersistenceImpl.RemovePermission removePermission
protected GroupPersistenceImpl.ContainsRole containsRole
protected GroupPersistenceImpl.AddRole addRole
protected GroupPersistenceImpl.ClearRoles clearRoles
protected GroupPersistenceImpl.RemoveRole removeRole
protected GroupPersistenceImpl.ContainsUserGroup containsUserGroup
protected GroupPersistenceImpl.AddUserGroup addUserGroup
protected GroupPersistenceImpl.ClearUserGroups clearUserGroups
protected GroupPersistenceImpl.RemoveUserGroup removeUserGroup
protected GroupPersistenceImpl.ContainsUser containsUser
protected GroupPersistenceImpl.AddUser addUser
protected GroupPersistenceImpl.ClearUsers clearUsers
protected GroupPersistenceImpl.RemoveUser removeUser
Constructor Detail |
---|
public GroupPersistenceImpl()
Method Detail |
---|
public void cacheResult(Group group)
cacheResult
in interface GroupPersistence
group
- the group to cachepublic void cacheResult(List<Group> groups)
cacheResult
in interface GroupPersistence
groups
- the groups to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<Group>
clearCache
in class BasePersistenceImpl<Group>
public void clearCache(Group group)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<Group>
clearCache
in class BasePersistenceImpl<Group>
group
- the instance of this model to clear the cache forpublic Group create(long groupId)
create
in interface GroupPersistence
groupId
- the primary key for the new group
public Group remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<Group>
remove
in class BasePersistenceImpl<Group>
primaryKey
- the primary key of the group to remove
NoSuchModelException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredpublic Group remove(long groupId) throws NoSuchGroupException, SystemException
remove
in interface GroupPersistence
groupId
- the primary key of the group to remove
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredprotected Group removeImpl(Group group) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<Group>
group
- the model instance to remove
SystemException
- if a system exception occurredpublic Group updateImpl(Group group, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface GroupPersistence
updateImpl
in class BasePersistenceImpl<Group>
group
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected Group toUnwrappedModel(Group group)
public Group findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<Group>
findByPrimaryKey
in class BasePersistenceImpl<Group>
primaryKey
- the primary key of the group to find
NoSuchModelException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredpublic Group findByPrimaryKey(long groupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByPrimaryKey
in interface GroupPersistence
groupId
- the primary key of the group to find
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredpublic Group fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<Group>
fetchByPrimaryKey
in class BasePersistenceImpl<Group>
primaryKey
- the primary key of the group to find
null
if a group with the primary key could not be found
SystemException
- if a system exception occurredpublic Group fetchByPrimaryKey(long groupId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface GroupPersistence
groupId
- the primary key of the group to find
null
if a group with the primary key could not be found
SystemException
- if a system exception occurredpublic List<Group> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface GroupPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic List<Group> findByCompanyId(long companyId, int start, int end) throws SystemException
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.
findByCompanyId
in interface GroupPersistence
companyId
- the company id to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByCompanyId
in interface GroupPersistence
companyId
- the company id to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic Group findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByCompanyId_First
in interface GroupPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByCompanyId_Last
in interface GroupPersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group[] findByCompanyId_PrevAndNext(long groupId, long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByCompanyId_PrevAndNext
in interface GroupPersistence
groupId
- the primary key of the current groupcompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredprotected Group getByCompanyId_PrevAndNext(Session session, Group group, long companyId, OrderByComparator orderByComparator, boolean previous)
public Group findByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByLiveGroupId
in interface GroupPersistence
liveGroupId
- the live group id to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByLiveGroupId(long liveGroupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByLiveGroupId
in interface GroupPersistence
liveGroupId
- the live group id to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByLiveGroupId(long liveGroupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByLiveGroupId
in interface GroupPersistence
liveGroupId
- the live group id to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByC_N(long companyId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByC_N
in interface GroupPersistence
companyId
- the company id to search withname
- the name to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_N(long companyId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_N
in interface GroupPersistence
companyId
- the company id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_N(long companyId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_N
in interface GroupPersistence
companyId
- the company id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByC_F(long companyId, String friendlyURL) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByC_F
in interface GroupPersistence
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_F(long companyId, String friendlyURL) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_F
in interface GroupPersistence
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_F(long companyId, String friendlyURL, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_F
in interface GroupPersistence
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic List<Group> findByT_A(int type, boolean active) throws SystemException
findByT_A
in interface GroupPersistence
type
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic List<Group> findByT_A(int type, boolean active, int start, int end) throws SystemException
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.
findByT_A
in interface GroupPersistence
type
- the type to search withactive
- the active to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByT_A
in interface GroupPersistence
type
- the type to search withactive
- the active to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic Group findByT_A_First(int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByT_A_First
in interface GroupPersistence
type
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByT_A_Last(int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByT_A_Last
in interface GroupPersistence
type
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
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.
findByT_A_PrevAndNext
in interface GroupPersistence
groupId
- the primary key of the current grouptype
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredprotected Group getByT_A_PrevAndNext(Session session, Group group, int type, boolean active, OrderByComparator orderByComparator, boolean previous)
public Group findByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByC_C_C
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_C_C(long companyId, long classNameId, long classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_C_C
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_C_C
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByC_L_N(long companyId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByC_L_N
in interface GroupPersistence
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_L_N(long companyId, long liveGroupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_L_N
in interface GroupPersistence
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_L_N(long companyId, long liveGroupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_L_N
in interface GroupPersistence
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group findByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
findByC_C_L_N
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_C_L_N
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_C_L_N
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredpublic List<Group> findAll() throws SystemException
findAll
in interface GroupPersistence
SystemException
- if a system exception occurredpublic List<Group> findAll(int start, int end) throws SystemException
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.
findAll
in interface GroupPersistence
start
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Group> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findAll
in interface GroupPersistence
start
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface GroupPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic void removeByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
removeByLiveGroupId
in interface GroupPersistence
liveGroupId
- the live group id to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeByC_N(long companyId, String name) throws NoSuchGroupException, SystemException
removeByC_N
in interface GroupPersistence
companyId
- the company id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeByC_F(long companyId, String friendlyURL) throws NoSuchGroupException, SystemException
removeByC_F
in interface GroupPersistence
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeByT_A(int type, boolean active) throws SystemException
removeByT_A
in interface GroupPersistence
type
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic void removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException, SystemException
removeByC_C_C
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeByC_L_N(long companyId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
removeByC_L_N
in interface GroupPersistence
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
removeByC_C_L_N
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
public void removeAll() throws SystemException
removeAll
in interface GroupPersistence
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface GroupPersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic int countByLiveGroupId(long liveGroupId) throws SystemException
countByLiveGroupId
in interface GroupPersistence
liveGroupId
- the live group id to search with
SystemException
- if a system exception occurredpublic int countByC_N(long companyId, String name) throws SystemException
countByC_N
in interface GroupPersistence
companyId
- the company id to search withname
- the name to search with
SystemException
- if a system exception occurredpublic int countByC_F(long companyId, String friendlyURL) throws SystemException
countByC_F
in interface GroupPersistence
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
SystemException
- if a system exception occurredpublic int countByT_A(int type, boolean active) throws SystemException
countByT_A
in interface GroupPersistence
type
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic int countByC_C_C(long companyId, long classNameId, long classPK) throws SystemException
countByC_C_C
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic int countByC_L_N(long companyId, long liveGroupId, String name) throws SystemException
countByC_L_N
in interface GroupPersistence
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurredpublic int countByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws SystemException
countByC_C_L_N
in interface GroupPersistence
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface GroupPersistence
SystemException
- if a system exception occurredpublic List<Organization> getOrganizations(long pk) throws SystemException
getOrganizations
in interface GroupPersistence
pk
- the primary key of the group to get the associated organizations for
SystemException
- if a system exception occurredpublic List<Organization> getOrganizations(long pk, int start, int end) throws SystemException
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.
getOrganizations
in interface GroupPersistence
pk
- the primary key of the group to get the associated organizations forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Organization> getOrganizations(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getOrganizations
in interface GroupPersistence
pk
- the primary key of the group to get the associated organizations forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getOrganizationsSize(long pk) throws SystemException
getOrganizationsSize
in interface GroupPersistence
pk
- the primary key of the group to get the number of associated organizations for
SystemException
- if a system exception occurredpublic boolean containsOrganization(long pk, long organizationPK) throws SystemException
containsOrganization
in interface GroupPersistence
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredpublic boolean containsOrganizations(long pk) throws SystemException
containsOrganizations
in interface GroupPersistence
pk
- the primary key of the group to check for associations with organizations
SystemException
- if a system exception occurredpublic void addOrganization(long pk, long organizationPK) throws SystemException
addOrganization
in interface GroupPersistence
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredpublic void addOrganization(long pk, Organization organization) throws SystemException
addOrganization
in interface GroupPersistence
pk
- the primary key of the grouporganization
- the organization
SystemException
- if a system exception occurredpublic void addOrganizations(long pk, long[] organizationPKs) throws SystemException
addOrganizations
in interface GroupPersistence
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations
SystemException
- if a system exception occurredpublic void addOrganizations(long pk, List<Organization> organizations) throws SystemException
addOrganizations
in interface GroupPersistence
pk
- the primary key of the grouporganizations
- the organizations
SystemException
- if a system exception occurredpublic void clearOrganizations(long pk) throws SystemException
clearOrganizations
in interface GroupPersistence
pk
- the primary key of the group to clear the associated organizations from
SystemException
- if a system exception occurredpublic void removeOrganization(long pk, long organizationPK) throws SystemException
removeOrganization
in interface GroupPersistence
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredpublic void removeOrganization(long pk, Organization organization) throws SystemException
removeOrganization
in interface GroupPersistence
pk
- the primary key of the grouporganization
- the organization
SystemException
- if a system exception occurredpublic void removeOrganizations(long pk, long[] organizationPKs) throws SystemException
removeOrganizations
in interface GroupPersistence
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations
SystemException
- if a system exception occurredpublic void removeOrganizations(long pk, List<Organization> organizations) throws SystemException
removeOrganizations
in interface GroupPersistence
pk
- the primary key of the grouporganizations
- the organizations
SystemException
- if a system exception occurredpublic void setOrganizations(long pk, long[] organizationPKs) throws SystemException
setOrganizations
in interface GroupPersistence
pk
- the primary key of the group to set the associations fororganizationPKs
- the primary keys of the organizations to be associated with the group
SystemException
- if a system exception occurredpublic void setOrganizations(long pk, List<Organization> organizations) throws SystemException
setOrganizations
in interface GroupPersistence
pk
- the primary key of the group to set the associations fororganizations
- the organizations to be associated with the group
SystemException
- if a system exception occurredpublic List<Permission> getPermissions(long pk) throws SystemException
getPermissions
in interface GroupPersistence
pk
- the primary key of the group to get the associated permissions for
SystemException
- if a system exception occurredpublic List<Permission> getPermissions(long pk, int start, int end) throws SystemException
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.
getPermissions
in interface GroupPersistence
pk
- the primary key of the group to get the associated permissions forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Permission> getPermissions(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getPermissions
in interface GroupPersistence
pk
- the primary key of the group to get the associated permissions forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getPermissionsSize(long pk) throws SystemException
getPermissionsSize
in interface GroupPersistence
pk
- the primary key of the group to get the number of associated permissions for
SystemException
- if a system exception occurredpublic boolean containsPermission(long pk, long permissionPK) throws SystemException
containsPermission
in interface GroupPersistence
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredpublic boolean containsPermissions(long pk) throws SystemException
containsPermissions
in interface GroupPersistence
pk
- the primary key of the group to check for associations with permissions
SystemException
- if a system exception occurredpublic void addPermission(long pk, long permissionPK) throws SystemException
addPermission
in interface GroupPersistence
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredpublic void addPermission(long pk, Permission permission) throws SystemException
addPermission
in interface GroupPersistence
pk
- the primary key of the grouppermission
- the permission
SystemException
- if a system exception occurredpublic void addPermissions(long pk, long[] permissionPKs) throws SystemException
addPermissions
in interface GroupPersistence
pk
- the primary key of the grouppermissionPKs
- the primary keys of the permissions
SystemException
- if a system exception occurredpublic void addPermissions(long pk, List<Permission> permissions) throws SystemException
addPermissions
in interface GroupPersistence
pk
- the primary key of the grouppermissions
- the permissions
SystemException
- if a system exception occurredpublic void clearPermissions(long pk) throws SystemException
clearPermissions
in interface GroupPersistence
pk
- the primary key of the group to clear the associated permissions from
SystemException
- if a system exception occurredpublic void removePermission(long pk, long permissionPK) throws SystemException
removePermission
in interface GroupPersistence
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredpublic void removePermission(long pk, Permission permission) throws SystemException
removePermission
in interface GroupPersistence
pk
- the primary key of the grouppermission
- the permission
SystemException
- if a system exception occurredpublic void removePermissions(long pk, long[] permissionPKs) throws SystemException
removePermissions
in interface GroupPersistence
pk
- the primary key of the grouppermissionPKs
- the primary keys of the permissions
SystemException
- if a system exception occurredpublic void removePermissions(long pk, List<Permission> permissions) throws SystemException
removePermissions
in interface GroupPersistence
pk
- the primary key of the grouppermissions
- the permissions
SystemException
- if a system exception occurredpublic void setPermissions(long pk, long[] permissionPKs) throws SystemException
setPermissions
in interface GroupPersistence
pk
- the primary key of the group to set the associations forpermissionPKs
- the primary keys of the permissions to be associated with the group
SystemException
- if a system exception occurredpublic void setPermissions(long pk, List<Permission> permissions) throws SystemException
setPermissions
in interface GroupPersistence
pk
- the primary key of the group to set the associations forpermissions
- the permissions to be associated with the group
SystemException
- if a system exception occurredpublic List<Role> getRoles(long pk) throws SystemException
getRoles
in interface GroupPersistence
pk
- the primary key of the group to get the associated roles for
SystemException
- if a system exception occurredpublic List<Role> getRoles(long pk, int start, int end) throws SystemException
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.
getRoles
in interface GroupPersistence
pk
- the primary key of the group to get the associated roles forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<Role> getRoles(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getRoles
in interface GroupPersistence
pk
- the primary key of the group to get the associated roles forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getRolesSize(long pk) throws SystemException
getRolesSize
in interface GroupPersistence
pk
- the primary key of the group to get the number of associated roles for
SystemException
- if a system exception occurredpublic boolean containsRole(long pk, long rolePK) throws SystemException
containsRole
in interface GroupPersistence
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredpublic boolean containsRoles(long pk) throws SystemException
containsRoles
in interface GroupPersistence
pk
- the primary key of the group to check for associations with roles
SystemException
- if a system exception occurredpublic void addRole(long pk, long rolePK) throws SystemException
addRole
in interface GroupPersistence
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredpublic void addRole(long pk, Role role) throws SystemException
addRole
in interface GroupPersistence
pk
- the primary key of the grouprole
- the role
SystemException
- if a system exception occurredpublic void addRoles(long pk, long[] rolePKs) throws SystemException
addRoles
in interface GroupPersistence
pk
- the primary key of the grouprolePKs
- the primary keys of the roles
SystemException
- if a system exception occurredpublic void addRoles(long pk, List<Role> roles) throws SystemException
addRoles
in interface GroupPersistence
pk
- the primary key of the grouproles
- the roles
SystemException
- if a system exception occurredpublic void clearRoles(long pk) throws SystemException
clearRoles
in interface GroupPersistence
pk
- the primary key of the group to clear the associated roles from
SystemException
- if a system exception occurredpublic void removeRole(long pk, long rolePK) throws SystemException
removeRole
in interface GroupPersistence
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredpublic void removeRole(long pk, Role role) throws SystemException
removeRole
in interface GroupPersistence
pk
- the primary key of the grouprole
- the role
SystemException
- if a system exception occurredpublic void removeRoles(long pk, long[] rolePKs) throws SystemException
removeRoles
in interface GroupPersistence
pk
- the primary key of the grouprolePKs
- the primary keys of the roles
SystemException
- if a system exception occurredpublic void removeRoles(long pk, List<Role> roles) throws SystemException
removeRoles
in interface GroupPersistence
pk
- the primary key of the grouproles
- the roles
SystemException
- if a system exception occurredpublic void setRoles(long pk, long[] rolePKs) throws SystemException
setRoles
in interface GroupPersistence
pk
- the primary key of the group to set the associations forrolePKs
- the primary keys of the roles to be associated with the group
SystemException
- if a system exception occurredpublic void setRoles(long pk, List<Role> roles) throws SystemException
setRoles
in interface GroupPersistence
pk
- the primary key of the group to set the associations forroles
- the roles to be associated with the group
SystemException
- if a system exception occurredpublic List<UserGroup> getUserGroups(long pk) throws SystemException
getUserGroups
in interface GroupPersistence
pk
- the primary key of the group to get the associated user groups for
SystemException
- if a system exception occurredpublic List<UserGroup> getUserGroups(long pk, int start, int end) throws SystemException
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.
getUserGroups
in interface GroupPersistence
pk
- the primary key of the group to get the associated user groups forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<UserGroup> getUserGroups(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getUserGroups
in interface GroupPersistence
pk
- the primary key of the group to get the associated user groups forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getUserGroupsSize(long pk) throws SystemException
getUserGroupsSize
in interface GroupPersistence
pk
- the primary key of the group to get the number of associated user groups for
SystemException
- if a system exception occurredpublic boolean containsUserGroup(long pk, long userGroupPK) throws SystemException
containsUserGroup
in interface GroupPersistence
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
SystemException
- if a system exception occurredpublic boolean containsUserGroups(long pk) throws SystemException
containsUserGroups
in interface GroupPersistence
pk
- the primary key of the group to check for associations with user groups
SystemException
- if a system exception occurredpublic void addUserGroup(long pk, long userGroupPK) throws SystemException
addUserGroup
in interface GroupPersistence
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
SystemException
- if a system exception occurredpublic void addUserGroup(long pk, UserGroup userGroup) throws SystemException
addUserGroup
in interface GroupPersistence
pk
- the primary key of the groupuserGroup
- the user group
SystemException
- if a system exception occurredpublic void addUserGroups(long pk, long[] userGroupPKs) throws SystemException
addUserGroups
in interface GroupPersistence
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups
SystemException
- if a system exception occurredpublic void addUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
addUserGroups
in interface GroupPersistence
pk
- the primary key of the groupuserGroups
- the user groups
SystemException
- if a system exception occurredpublic void clearUserGroups(long pk) throws SystemException
clearUserGroups
in interface GroupPersistence
pk
- the primary key of the group to clear the associated user groups from
SystemException
- if a system exception occurredpublic void removeUserGroup(long pk, long userGroupPK) throws SystemException
removeUserGroup
in interface GroupPersistence
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
SystemException
- if a system exception occurredpublic void removeUserGroup(long pk, UserGroup userGroup) throws SystemException
removeUserGroup
in interface GroupPersistence
pk
- the primary key of the groupuserGroup
- the user group
SystemException
- if a system exception occurredpublic void removeUserGroups(long pk, long[] userGroupPKs) throws SystemException
removeUserGroups
in interface GroupPersistence
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups
SystemException
- if a system exception occurredpublic void removeUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
removeUserGroups
in interface GroupPersistence
pk
- the primary key of the groupuserGroups
- the user groups
SystemException
- if a system exception occurredpublic void setUserGroups(long pk, long[] userGroupPKs) throws SystemException
setUserGroups
in interface GroupPersistence
pk
- the primary key of the group to set the associations foruserGroupPKs
- the primary keys of the user groups to be associated with the group
SystemException
- if a system exception occurredpublic void setUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
setUserGroups
in interface GroupPersistence
pk
- the primary key of the group to set the associations foruserGroups
- the user groups to be associated with the group
SystemException
- if a system exception occurredpublic List<User> getUsers(long pk) throws SystemException
getUsers
in interface GroupPersistence
pk
- the primary key of the group to get the associated users for
SystemException
- if a system exception occurredpublic List<User> getUsers(long pk, int start, int end) throws SystemException
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.
getUsers
in interface GroupPersistence
pk
- the primary key of the group to get the associated users forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredpublic List<User> getUsers(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getUsers
in interface GroupPersistence
pk
- the primary key of the group to get the associated users forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic int getUsersSize(long pk) throws SystemException
getUsersSize
in interface GroupPersistence
pk
- the primary key of the group to get the number of associated users for
SystemException
- if a system exception occurredpublic boolean containsUser(long pk, long userPK) throws SystemException
containsUser
in interface GroupPersistence
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredpublic boolean containsUsers(long pk) throws SystemException
containsUsers
in interface GroupPersistence
pk
- the primary key of the group to check for associations with users
SystemException
- if a system exception occurredpublic void addUser(long pk, long userPK) throws SystemException
addUser
in interface GroupPersistence
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredpublic void addUser(long pk, User user) throws SystemException
addUser
in interface GroupPersistence
pk
- the primary key of the groupuser
- the user
SystemException
- if a system exception occurredpublic void addUsers(long pk, long[] userPKs) throws SystemException
addUsers
in interface GroupPersistence
pk
- the primary key of the groupuserPKs
- the primary keys of the users
SystemException
- if a system exception occurredpublic void addUsers(long pk, List<User> users) throws SystemException
addUsers
in interface GroupPersistence
pk
- the primary key of the groupusers
- the users
SystemException
- if a system exception occurredpublic void clearUsers(long pk) throws SystemException
clearUsers
in interface GroupPersistence
pk
- the primary key of the group to clear the associated users from
SystemException
- if a system exception occurredpublic void removeUser(long pk, long userPK) throws SystemException
removeUser
in interface GroupPersistence
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredpublic void removeUser(long pk, User user) throws SystemException
removeUser
in interface GroupPersistence
pk
- the primary key of the groupuser
- the user
SystemException
- if a system exception occurredpublic void removeUsers(long pk, long[] userPKs) throws SystemException
removeUsers
in interface GroupPersistence
pk
- the primary key of the groupuserPKs
- the primary keys of the users
SystemException
- if a system exception occurredpublic void removeUsers(long pk, List<User> users) throws SystemException
removeUsers
in interface GroupPersistence
pk
- the primary key of the groupusers
- the users
SystemException
- if a system exception occurredpublic void setUsers(long pk, long[] userPKs) throws SystemException
setUsers
in interface GroupPersistence
pk
- the primary key of the group to set the associations foruserPKs
- the primary keys of the users to be associated with the group
SystemException
- if a system exception occurredpublic void setUsers(long pk, List<User> users) throws SystemException
setUsers
in interface GroupPersistence
pk
- the primary key of the group to set the associations forusers
- the users to be associated with the group
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |