Class OrganizationPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
,com.liferay.portal.kernel.service.persistence.OrganizationPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected com.liferay.portal.kernel.service.persistence.GroupPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,
com.liferay.portal.kernel.model.Group> protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,
com.liferay.portal.kernel.model.User> protected com.liferay.portal.kernel.service.persistence.UserPersistence
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addGroup
(long pk, long groupPK) Adds an association between the organization and the group.boolean
addGroup
(long pk, com.liferay.portal.kernel.model.Group group) Adds an association between the organization and the group.boolean
addGroups
(long pk, long[] groupPKs) Adds an association between the organization and the groups.boolean
Adds an association between the organization and the groups.boolean
addUser
(long pk, long userPK) Adds an association between the organization and the user.boolean
addUser
(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the organization and the user.boolean
addUsers
(long pk, long[] userPKs) Adds an association between the organization and the users.boolean
Adds an association between the organization and the users.void
Initializes the organization persistence.void
cacheResult
(com.liferay.portal.kernel.model.Organization organization) Caches the organization in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.portal.kernel.model.Organization> organizations) Caches the organizations in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(OrganizationModelImpl organizationModelImpl) void
Clears the cache for all organizations.void
clearCache
(com.liferay.portal.kernel.model.Organization organization) Clears the cache for the organization.void
clearCache
(List<com.liferay.portal.kernel.model.Organization> organizations) void
clearCache
(Set<Serializable> primaryKeys) void
clearGroups
(long pk) Clears all associations between the organization and its groups.void
clearUsers
(long pk) Clears all associations between the organization and its users.boolean
containsGroup
(long pk, long groupPK) Returnstrue
if the group is associated with the organization.boolean
containsGroups
(long pk) Returnstrue
if the organization has any groups associated with it.boolean
containsUser
(long pk, long userPK) Returnstrue
if the user is associated with the organization.boolean
containsUsers
(long pk) Returnstrue
if the organization has any users associated with it.int
countAll()
Returns the number of organizations.int
countByC_LikeN
(long companyId, String name) Returns the number of organizations where companyId = ? and name LIKE ?.int
countByC_LikeT
(long companyId, String treePath) Returns the number of organizations where companyId = ? and treePath LIKE ?.int
countByC_N
(long companyId, String name) Returns the number of organizations where companyId = ? and name = ?.int
countByC_P
(long companyId, long parentOrganizationId) Returns the number of organizations where companyId = ? and parentOrganizationId = ?.int
countByC_P_LikeN
(long companyId, long parentOrganizationId, String name) Returns the number of organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.int
countByCompanyId
(long companyId) Returns the number of organizations where companyId = ?.int
countByCompanyIdLocations
(long companyId) Returns the number of organizations where companyId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of organizations where externalReferenceCode = ? and companyId = ?.int
countByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.int
countByUuid
(String uuid) Returns the number of organizations where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of organizations where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
create
(long organizationId) Creates a new organization with the primary key.void
destroy()
com.liferay.portal.kernel.model.Organization
fetchByC_LikeN_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByC_LikeN_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByC_LikeT_First
(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByC_LikeT_Last
(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByC_N
(long companyId, String name) Returns the organization where companyId = ? and name = ? or returnsnull
if it could not be found.com.liferay.portal.kernel.model.Organization
fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the organization where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.Organization
fetchByC_P_First
(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
fetchByC_P_Last
(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
fetchByC_P_LikeN_First
(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByC_P_LikeN_Last
(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByCompanyIdLocations_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByCompanyIdLocations_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.com.liferay.portal.kernel.model.Organization
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.Organization
fetchByGtO_C_P_First
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
fetchByGtO_C_P_Last
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
fetchByPrimaryKey
(long organizationId) Returns the organization with the primary key or returnsnull
if it could not be found.com.liferay.portal.kernel.model.Organization
fetchByPrimaryKey
(Serializable primaryKey) Returns the organization with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.portal.kernel.model.Organization> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.portal.kernel.model.Organization
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.Organization
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.int
filterCountByC_LikeN
(long companyId, String name) Returns the number of organizations that the user has permission to view where companyId = ? and name LIKE ?.int
filterCountByC_LikeT
(long companyId, String treePath) Returns the number of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.int
filterCountByC_P
(long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.int
filterCountByC_P_LikeN
(long companyId, long parentOrganizationId, String name) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.int
filterCountByCompanyId
(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.int
filterCountByCompanyIdLocations
(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.int
filterCountByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.int
filterCountByUuid
(String uuid) Returns the number of organizations that the user has permission to view where uuid = ?.int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeN
(long companyId, String name) Returns all the organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeN
(long companyId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
filterFindByC_LikeN_PrevAndNext
(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeT
(long companyId, String treePath) Returns all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeT
(long companyId, String treePath, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_LikeT
(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization[]
filterFindByC_LikeT_PrevAndNext
(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P
(long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P
(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P
(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P_LikeN
(long companyId, long parentOrganizationId, String name) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P_LikeN
(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByC_P_LikeN
(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
filterFindByC_P_LikeN_PrevAndNext
(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
filterFindByC_P_PrevAndNext
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyId
(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.com.liferay.portal.kernel.model.Organization[]
filterFindByCompanyId_PrevAndNext
(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyIdLocations
(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyIdLocations
(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByCompanyIdLocations
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.com.liferay.portal.kernel.model.Organization[]
filterFindByCompanyIdLocations_PrevAndNext
(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid
(String uuid) Returns all the organizations that the user has permission to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid
(String uuid, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid_C
(String uuid, long companyId) Returns all the organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
filterFindByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]
filterFindByUuid_C_PrevAndNext
(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]
filterFindByUuid_PrevAndNext
(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ?.protected com.liferay.portal.kernel.model.Organization
filterGetByC_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByC_LikeT_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByC_P_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByC_P_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByCompanyIdLocations_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
filterGetByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) List<com.liferay.portal.kernel.model.Organization>
findAll()
Returns all the organizations.List<com.liferay.portal.kernel.model.Organization>
findAll
(int start, int end) Returns a range of all the organizations.List<com.liferay.portal.kernel.model.Organization>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations.List<com.liferay.portal.kernel.model.Organization>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeN
(long companyId, String name) Returns all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeN
(long companyId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeN
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_LikeN_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_LikeN_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
findByC_LikeN_PrevAndNext
(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeT
(long companyId, String treePath) Returns all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeT
(long companyId, String treePath, int start, int end) Returns a range of all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeT
(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_LikeT
(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_LikeT_First
(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_LikeT_Last
(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization[]
findByC_LikeT_PrevAndNext
(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization
Returns the organization where companyId = ? and name = ? or throws aNoSuchOrganizationException
if it could not be found.List<com.liferay.portal.kernel.model.Organization>
findByC_P
(long companyId, long parentOrganizationId) Returns all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P
(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P
(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P
(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
findByC_P_First
(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
findByC_P_Last
(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P_LikeN
(long companyId, long parentOrganizationId, String name) Returns all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P_LikeN
(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P_LikeN
(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>
findByC_P_LikeN
(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_P_LikeN_First
(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization
findByC_P_LikeN_Last
(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
findByC_P_LikeN_PrevAndNext
(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]
findByC_P_PrevAndNext
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyId
(long companyId) Returns all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.com.liferay.portal.kernel.model.Organization
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization[]
findByCompanyId_PrevAndNext
(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyIdLocations
(long companyId) Returns all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyIdLocations
(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyIdLocations
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByCompanyIdLocations
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.com.liferay.portal.kernel.model.Organization
findByCompanyIdLocations_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
findByCompanyIdLocations_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization[]
findByCompanyIdLocations_PrevAndNext
(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization
findByERC_C
(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrganizationException
if it could not be found.List<com.liferay.portal.kernel.model.Organization>
findByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>
findByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
findByGtO_C_P_First
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
findByGtO_C_P_Last
(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.Organization
findByPrimaryKey
(long organizationId) Returns the organization with the primary key or throws aNoSuchOrganizationException
if it could not be found.com.liferay.portal.kernel.model.Organization
findByPrimaryKey
(Serializable primaryKey) Returns the organization with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.portal.kernel.model.Organization>
findByUuid
(String uuid) Returns all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid
(String uuid, int start, int end) Returns a range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid_C
(String uuid, long companyId) Returns all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]
findByUuid_C_PrevAndNext
(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.Organization
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.Organization[]
findByUuid_PrevAndNext
(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where uuid = ?.protected com.liferay.portal.kernel.model.Organization
getByC_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByC_LikeT_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByC_P_LikeN_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByC_P_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByCompanyIdLocations_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.Organization
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
long[]
getGroupPrimaryKeys
(long pk) Returns the primaryKeys of groups associated with the organization.List<com.liferay.portal.kernel.model.Group>
getGroups
(long pk) Returns all the groups associated with the organization.List<com.liferay.portal.kernel.model.Group>
getGroups
(long pk, int start, int end) Returns a range of all the groups associated with the organization.List<com.liferay.portal.kernel.model.Group>
getGroups
(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups associated with the organization.int
getGroupsSize
(long pk) Returns the number of groups associated with the organization.protected String
protected String
long[]
getUserPrimaryKeys
(long pk) Returns the primaryKeys of users associated with the organization.List<com.liferay.portal.kernel.model.User>
getUsers
(long pk) Returns all the users associated with the organization.List<com.liferay.portal.kernel.model.User>
getUsers
(long pk, int start, int end) Returns a range of all the users associated with the organization.List<com.liferay.portal.kernel.model.User>
getUsers
(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the organization.int
getUsersSize
(long pk) Returns the number of users associated with the organization.com.liferay.portal.kernel.model.Organization
remove
(long organizationId) Removes the organization with the primary key from the database.com.liferay.portal.kernel.model.Organization
remove
(Serializable primaryKey) Removes the organization with the primary key from the database.void
Removes all the organizations from the database.void
removeByC_LikeN
(long companyId, String name) Removes all the organizations where companyId = ? and name LIKE ? from the database.void
removeByC_LikeT
(long companyId, String treePath) Removes all the organizations where companyId = ? and treePath LIKE ? from the database.com.liferay.portal.kernel.model.Organization
removeByC_N
(long companyId, String name) Removes the organization where companyId = ? and name = ? from the database.void
removeByC_P
(long companyId, long parentOrganizationId) Removes all the organizations where companyId = ? and parentOrganizationId = ? from the database.void
removeByC_P_LikeN
(long companyId, long parentOrganizationId, String name) Removes all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ? from the database.void
removeByCompanyId
(long companyId) Removes all the organizations where companyId = ? from the database.void
removeByCompanyIdLocations
(long companyId) Removes all the organizations where companyId = ? from the database.com.liferay.portal.kernel.model.Organization
removeByERC_C
(String externalReferenceCode, long companyId) Removes the organization where externalReferenceCode = ? and companyId = ? from the database.void
removeByGtO_C_P
(long organizationId, long companyId, long parentOrganizationId) Removes all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ? from the database.void
removeByUuid
(String uuid) Removes all the organizations where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the organizations where uuid = ? and companyId = ? from the database.void
removeGroup
(long pk, long groupPK) Removes the association between the organization and the group.void
removeGroup
(long pk, com.liferay.portal.kernel.model.Group group) Removes the association between the organization and the group.void
removeGroups
(long pk, long[] groupPKs) Removes the association between the organization and the groups.void
removeGroups
(long pk, List<com.liferay.portal.kernel.model.Group> groups) Removes the association between the organization and the groups.protected com.liferay.portal.kernel.model.Organization
removeImpl
(com.liferay.portal.kernel.model.Organization organization) void
removeUser
(long pk, long userPK) Removes the association between the organization and the user.void
removeUser
(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the organization and the user.void
removeUsers
(long pk, long[] userPKs) Removes the association between the organization and the users.void
removeUsers
(long pk, List<com.liferay.portal.kernel.model.User> users) Removes the association between the organization and the users.void
setGroups
(long pk, long[] groupPKs) Sets the groups associated with the organization, removing and adding associations as necessary.void
Sets the groups associated with the organization, removing and adding associations as necessary.void
setUsers
(long pk, long[] userPKs) Sets the users associated with the organization, removing and adding associations as necessary.void
Sets the users associated with the organization, removing and adding associations as necessary.com.liferay.portal.kernel.model.Organization
updateImpl
(com.liferay.portal.kernel.model.Organization organization) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, 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.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence -
organizationToGroupTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.Group> organizationToGroupTableMapper -
userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence -
organizationToUserTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.User> organizationToUserTableMapper
-
-
Constructor Details
-
OrganizationPersistenceImpl
public OrganizationPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the organizations where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end) Returns a range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByUuid_First
public com.liferay.portal.kernel.model.Organization findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByUuid_First
public com.liferay.portal.kernel.model.Organization fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByUuid_Last
public com.liferay.portal.kernel.model.Organization findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByUuid_Last
public com.liferay.portal.kernel.model.Organization fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByUuid_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByUuid
Returns all the organizations that the user has permission to view where uuid = ?.- Specified by:
filterFindByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching organizations that the user has permission to view
-
filterFindByUuid
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid(String uuid, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByUuid
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByUuid_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ?.- Specified by:
filterFindByUuid_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByUuid
Removes all the organizations where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of organizations where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching organizations
-
filterCountByUuid
Returns the number of organizations that the user has permission to view where uuid = ?.- Specified by:
filterCountByUuid
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching organizations that the user has permission to view
-
findByUuid_C
Returns all the organizations where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByUuid_C_First
public com.liferay.portal.kernel.model.Organization findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByUuid_C_First
public com.liferay.portal.kernel.model.Organization fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByUuid_C_Last
public com.liferay.portal.kernel.model.Organization findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByUuid_C_Last
public com.liferay.portal.kernel.model.Organization fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId) Returns all the organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterFindByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterFindByUuid_C_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the organizations where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of organizations where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching organizations
-
filterCountByUuid_C
Returns the number of organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterCountByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByCompanyId
Returns all the organizations where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByCompanyId_First
public com.liferay.portal.kernel.model.Organization findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByCompanyId_First
public com.liferay.portal.kernel.model.Organization fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByCompanyId_Last
public com.liferay.portal.kernel.model.Organization findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByCompanyId_Last
public com.liferay.portal.kernel.model.Organization fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByCompanyId
Returns all the organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByCompanyId
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByCompanyId
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyId_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByCompanyId_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the organizations where companyId = ? from the database.- Specified by:
removeByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of organizations where companyId = ?.- Specified by:
countByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching organizations
-
filterCountByCompanyId
public int filterCountByCompanyId(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.- Specified by:
filterCountByCompanyId
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByCompanyIdLocations
Returns all the organizations where companyId = ?.- Specified by:
findByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByCompanyIdLocations_First
public com.liferay.portal.kernel.model.Organization findByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByCompanyIdLocations_First
public com.liferay.portal.kernel.model.Organization fetchByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyIdLocations_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByCompanyIdLocations_Last
public com.liferay.portal.kernel.model.Organization findByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByCompanyIdLocations_Last
public com.liferay.portal.kernel.model.Organization fetchByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyIdLocations_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByCompanyIdLocations_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByCompanyIdLocations_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyIdLocations_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByCompanyIdLocations_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByCompanyIdLocations
public void removeByCompanyIdLocations(long companyId) Removes all the organizations where companyId = ? from the database.- Specified by:
removeByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID
-
countByCompanyIdLocations
public int countByCompanyIdLocations(long companyId) Returns the number of organizations where companyId = ?.- Specified by:
countByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching organizations
-
filterCountByCompanyIdLocations
public int filterCountByCompanyIdLocations(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.- Specified by:
filterCountByCompanyIdLocations
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId) Returns all the organizations where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_P_First
public com.liferay.portal.kernel.model.Organization findByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_P_First
public com.liferay.portal.kernel.model.Organization fetchByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByC_P_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByC_P_Last
public com.liferay.portal.kernel.model.Organization findByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_P_Last
public com.liferay.portal.kernel.model.Organization fetchByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByC_P_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByC_P_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByC_P_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_P_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByC_P_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByC_P_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_P
public void removeByC_P(long companyId, long parentOrganizationId) Removes all the organizations where companyId = ? and parentOrganizationId = ? from the database.- Specified by:
removeByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization ID
-
countByC_P
public int countByC_P(long companyId, long parentOrganizationId) Returns the number of organizations where companyId = ? and parentOrganizationId = ?.- Specified by:
countByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the number of matching organizations
-
filterCountByC_P
public int filterCountByC_P(long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterCountByC_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath) Returns all the organizations where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree path- Returns:
- the matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_LikeT_First
public com.liferay.portal.kernel.model.Organization findByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_LikeT_First
public com.liferay.portal.kernel.model.Organization fetchByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
fetchByC_LikeT_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByC_LikeT_Last
public com.liferay.portal.kernel.model.Organization findByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_LikeT_Last
public com.liferay.portal.kernel.model.Organization fetchByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
fetchByC_LikeT_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByC_LikeT_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByC_LikeT_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath) Returns all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterFindByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree path- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree pathstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_LikeT_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterFindByC_LikeT_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDtreePath
- the tree pathorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByC_LikeT_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_LikeT
Removes all the organizations where companyId = ? and treePath LIKE ? from the database.- Specified by:
removeByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree path
-
countByC_LikeT
Returns the number of organizations where companyId = ? and treePath LIKE ?.- Specified by:
countByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree path- Returns:
- the number of matching organizations
-
filterCountByC_LikeT
Returns the number of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterCountByC_LikeT
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDtreePath
- the tree path- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_N
public com.liferay.portal.kernel.model.Organization findByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization where companyId = ? and name = ? or throws aNoSuchOrganizationException
if it could not be found.- Specified by:
findByC_N
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_N
Returns the organization where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByC_N
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching organization, or
null
if a matching organization could not be found
-
fetchByC_N
public com.liferay.portal.kernel.model.Organization fetchByC_N(long companyId, String name, boolean useFinderCache) Returns the organization where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByC_N
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching organization, or
null
if a matching organization could not be found
-
removeByC_N
public com.liferay.portal.kernel.model.Organization removeByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization where companyId = ? and name = ? from the database.- Specified by:
removeByC_N
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
-
countByC_N
Returns the number of organizations where companyId = ? and name = ?.- Specified by:
countByC_N
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name) Returns all the organizations where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_LikeN_First
public com.liferay.portal.kernel.model.Organization findByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_LikeN_First
public com.liferay.portal.kernel.model.Organization fetchByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
fetchByC_LikeN_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByC_LikeN_Last
public com.liferay.portal.kernel.model.Organization findByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_LikeN_Last
public com.liferay.portal.kernel.model.Organization fetchByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
fetchByC_LikeN_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByC_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByC_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name) Returns all the organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterFindByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterFindByC_LikeN_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByC_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_LikeN
Removes all the organizations where companyId = ? and name LIKE ? from the database.- Specified by:
removeByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name
-
countByC_LikeN
Returns the number of organizations where companyId = ? and name LIKE ?.- Specified by:
countByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching organizations
-
filterCountByC_LikeN
Returns the number of organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterCountByC_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching organizations that the user has permission to view
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByGtO_C_P_First
public com.liferay.portal.kernel.model.Organization findByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_P_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByGtO_C_P_First
public com.liferay.portal.kernel.model.Organization fetchByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByGtO_C_P_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByGtO_C_P_Last
public com.liferay.portal.kernel.model.Organization findByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_P_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByGtO_C_P_Last
public com.liferay.portal.kernel.model.Organization fetchByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByGtO_C_P_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization IDstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
removeByGtO_C_P
public void removeByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Removes all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ? from the database.- Specified by:
removeByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization ID
-
countByGtO_C_P
public int countByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
countByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the number of matching organizations
-
filterCountByGtO_C_P
public int filterCountByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
filterCountByGtO_C_P
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the organization IDcompanyId
- the company IDparentOrganizationId
- the parent organization ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the name- Returns:
- the matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_P_LikeN_First
public com.liferay.portal.kernel.model.Organization findByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_P_LikeN_First
public com.liferay.portal.kernel.model.Organization fetchByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
fetchByC_P_LikeN_First
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching organization, or
null
if a matching organization could not be found
-
findByC_P_LikeN_Last
public com.liferay.portal.kernel.model.Organization findByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByC_P_LikeN_Last
public com.liferay.portal.kernel.model.Organization fetchByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
fetchByC_P_LikeN_Last
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching organization, or
null
if a matching organization could not be found
-
findByC_P_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
getByC_P_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterFindByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the name- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
filterFindByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the namestart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_P_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterFindByC_P_LikeN_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the current organizationcompanyId
- the company IDparentOrganizationId
- the parent organization IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
filterGetByC_P_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_P_LikeN
Removes all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ? from the database.- Specified by:
removeByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the name
-
countByC_P_LikeN
Returns the number of organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
countByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the name- Returns:
- the number of matching organizations
-
filterCountByC_P_LikeN
Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterCountByC_P_LikeN
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
companyId
- the company IDparentOrganizationId
- the parent organization IDname
- the name- Returns:
- the number of matching organizations that the user has permission to view
-
findByERC_C
public com.liferay.portal.kernel.model.Organization findByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrganizationException
if it could not be found.- Specified by:
findByERC_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a matching organization could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Organization fetchByERC_C(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching organization, or
null
if a matching organization could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Organization fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching organization, or
null
if a matching organization could not be found
-
removeByERC_C
public com.liferay.portal.kernel.model.Organization removeByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization where externalReferenceCode = ? and companyId = ? from the database.- Specified by:
removeByERC_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
-
countByERC_C
Returns the number of organizations where externalReferenceCode = ? and companyId = ?.- Specified by:
countByERC_C
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching organizations
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.Organization organization) Caches the organization in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
- Parameters:
organization
- the organization
-
cacheResult
Caches the organizations in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizations
- the organizations
-
clearCache
public void clearCache()Clears the cache for all organizations.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.Organization organization) Clears the cache for the organization.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
-
cacheUniqueFindersCache
-
create
public com.liferay.portal.kernel.model.Organization create(long organizationId) Creates a new organization with the primary key. Does not add the organization to the database.- Specified by:
create
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key for the new organization- Returns:
- the new organization
-
remove
public com.liferay.portal.kernel.model.Organization remove(long organizationId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the organization- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.Organization remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
- Parameters:
primaryKey
- the primary key of the organization- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.Organization removeImpl(com.liferay.portal.kernel.model.Organization organization) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
updateImpl
public com.liferay.portal.kernel.model.Organization updateImpl(com.liferay.portal.kernel.model.Organization organization) - Specified by:
updateImpl
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Organization findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
- Parameters:
primaryKey
- the primary key of the organization- Returns:
- the organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Organization findByPrimaryKey(long organizationId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization with the primary key or throws aNoSuchOrganizationException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the organization- Returns:
- the organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
- if a organization with the primary key could not be found
-
fetchByPrimaryKey
Returns the organization with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
- Parameters:
primaryKey
- the primary key of the organization- Returns:
- the organization, or
null
if a organization with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.Organization fetchByPrimaryKey(long organizationId) Returns the organization with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
organizationId
- the primary key of the organization- Returns:
- the organization, or
null
if a organization with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.portal.kernel.model.Organization> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
findAll
Returns all the organizations.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Returns:
- the organizations
-
findAll
Returns a range of all the organizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
start
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of organizations
-
findAll
public List<com.liferay.portal.kernel.model.Organization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
start
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of organizations
-
findAll
public List<com.liferay.portal.kernel.model.Organization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
start
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of organizations
-
removeAll
public void removeAll()Removes all the organizations from the database.- Specified by:
removeAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
-
countAll
public int countAll()Returns the number of organizations.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Returns:
- the number of organizations
-
getGroupPrimaryKeys
public long[] getGroupPrimaryKeys(long pk) Returns the primaryKeys of groups associated with the organization.- Specified by:
getGroupPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- long[] of the primaryKeys of groups associated with the organization
-
getGroups
Returns all the groups associated with the organization.- Specified by:
getGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- the groups associated with the organization
-
getGroups
Returns a range of all the groups associated with the organization.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
getGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of groups associated with the organization
-
getGroups
public List<com.liferay.portal.kernel.model.Group> getGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups associated with the organization.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
getGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of groups associated with the organization
-
getGroupsSize
public int getGroupsSize(long pk) Returns the number of groups associated with the organization.- Specified by:
getGroupsSize
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- the number of groups associated with the organization
-
containsGroup
public boolean containsGroup(long pk, long groupPK) Returnstrue
if the group is associated with the organization.- Specified by:
containsGroup
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPK
- the primary key of the group- Returns:
true
if the group is associated with the organization;false
otherwise
-
containsGroups
public boolean containsGroups(long pk) Returnstrue
if the organization has any groups associated with it.- Specified by:
containsGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization to check for associations with groups- Returns:
true
if the organization has any groups associated with it;false
otherwise
-
addGroup
public boolean addGroup(long pk, long groupPK) Adds an association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroup
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPK
- the primary key of the group- Returns:
true
if an association between the organization and the group was added;false
if they were already associated
-
addGroup
public boolean addGroup(long pk, com.liferay.portal.kernel.model.Group group) Adds an association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroup
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroup
- the group- Returns:
true
if an association between the organization and the group was added;false
if they were already associated
-
addGroups
public boolean addGroups(long pk, long[] groupPKs) Adds an association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPKs
- the primary keys of the groups- Returns:
true
if at least one association between the organization and the groups was added;false
if they were all already associated
-
addGroups
Adds an association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroups
- the groups- Returns:
true
if at least one association between the organization and the groups was added;false
if they were all already associated
-
clearGroups
public void clearGroups(long pk) Clears all associations between the organization and its groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization to clear the associated groups from
-
removeGroup
public void removeGroup(long pk, long groupPK) Removes the association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroup
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPK
- the primary key of the group
-
removeGroup
public void removeGroup(long pk, com.liferay.portal.kernel.model.Group group) Removes the association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroup
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroup
- the group
-
removeGroups
public void removeGroups(long pk, long[] groupPKs) Removes the association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPKs
- the primary keys of the groups
-
removeGroups
Removes the association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroups
- the groups
-
setGroups
public void setGroups(long pk, long[] groupPKs) Sets the groups associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroupPKs
- the primary keys of the groups to be associated with the organization
-
setGroups
Sets the groups associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setGroups
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationgroups
- the groups to be associated with the organization
-
getUserPrimaryKeys
public long[] getUserPrimaryKeys(long pk) Returns the primaryKeys of users associated with the organization.- Specified by:
getUserPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- long[] of the primaryKeys of users associated with the organization
-
getUsers
Returns all the users associated with the organization.- Specified by:
getUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- the users associated with the organization
-
getUsers
Returns a range of all the users associated with the organization.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
getUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of users associated with the organization
-
getUsers
public List<com.liferay.portal.kernel.model.User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the organization.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl
.- Specified by:
getUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationstart
- the lower bound of the range of organizationsend
- the upper bound of the range of organizations (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of users associated with the organization
-
getUsersSize
public int getUsersSize(long pk) Returns the number of users associated with the organization.- Specified by:
getUsersSize
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization- Returns:
- the number of users associated with the organization
-
containsUser
public boolean containsUser(long pk, long userPK) Returnstrue
if the user is associated with the organization.- Specified by:
containsUser
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPK
- the primary key of the user- Returns:
true
if the user is associated with the organization;false
otherwise
-
containsUsers
public boolean containsUsers(long pk) Returnstrue
if the organization has any users associated with it.- Specified by:
containsUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization to check for associations with users- Returns:
true
if the organization has any users associated with it;false
otherwise
-
addUser
public boolean addUser(long pk, long userPK) Adds an association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUser
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPK
- the primary key of the user- Returns:
true
if an association between the organization and the user was added;false
if they were already associated
-
addUser
public boolean addUser(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUser
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuser
- the user- Returns:
true
if an association between the organization and the user was added;false
if they were already associated
-
addUsers
public boolean addUsers(long pk, long[] userPKs) Adds an association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPKs
- the primary keys of the users- Returns:
true
if at least one association between the organization and the users was added;false
if they were all already associated
-
addUsers
Adds an association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationusers
- the users- Returns:
true
if at least one association between the organization and the users was added;false
if they were all already associated
-
clearUsers
public void clearUsers(long pk) Clears all associations between the organization and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organization to clear the associated users from
-
removeUser
public void removeUser(long pk, long userPK) Removes the association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUser
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPK
- the primary key of the user
-
removeUser
public void removeUser(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUser
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuser
- the user
-
removeUsers
public void removeUsers(long pk, long[] userPKs) Removes the association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPKs
- the primary keys of the users
-
removeUsers
Removes the association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationusers
- the users
-
setUsers
public void setUsers(long pk, long[] userPKs) Sets the users associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationuserPKs
- the primary keys of the users to be associated with the organization
-
setUsers
Sets the users associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsers
in interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
- Parameters:
pk
- the primary key of the organizationusers
- the users to be associated with the organization
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the organization persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-