Class OrganizationPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
com.liferay.portal.service.persistence.impl.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

public class OrganizationPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization> implements com.liferay.portal.kernel.service.persistence.OrganizationPersistence
The persistence implementation for the organization service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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
    addGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups)
    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
    addUsers(long pk, List<com.liferay.portal.kernel.model.User> users)
    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
     
    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)
    Returns true if the group is associated with the organization.
    boolean
    containsGroups(long pk)
    Returns true if the organization has any groups associated with it.
    boolean
    containsUser(long pk, long userPK)
    Returns true if the user is associated with the organization.
    boolean
    containsUsers(long pk)
    Returns true if the organization has any users associated with it.
    int
    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
    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
     
    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 returns null 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 returns null 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 returns null 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 returns null 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 returns null if it could not be found.
    com.liferay.portal.kernel.model.Organization
    Returns the organization with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.portal.kernel.model.Organization>
     
    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
    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
    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>
    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>
    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>
    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
    findByC_N(long companyId, String name)
    Returns the organization where companyId = ? and name = ? or throws a NoSuchOrganizationException 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 a NoSuchOrganizationException 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 a NoSuchOrganizationException if it could not be found.
    com.liferay.portal.kernel.model.Organization
    Returns the organization with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.portal.kernel.model.Organization>
    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[]
    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[]
    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
    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
    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
    setGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups)
    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
    setUsers(long pk, List<com.liferay.portal.kernel.model.User> users)
    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

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String 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

      public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid)
      Returns all the organizations where uuid = ?.
      Specified by:
      findByUuid in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid(String uuid)
      Returns all the organizations that the user has permission to view where uuid = ?.
      Specified by:
      filterFindByUuid in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid(String uuid)
      Removes all the organizations where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of organizations where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching organizations
    • filterCountByUuid

      public int filterCountByUuid(String uuid)
      Returns the number of organizations that the user has permission to view where uuid = ?.
      Specified by:
      filterCountByUuid in interface com.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

      public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId)
      Returns all the organizations where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the organizations where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of organizations where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching organizations
    • filterCountByUuid_C

      public int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of organizations that the user has permission to view where uuid = ? and companyId = ?.
      Specified by:
      filterCountByUuid_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching organizations that the user has permission to view
    • findByCompanyId

      public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId)
      Returns all the organizations where companyId = ?.
      Specified by:
      findByCompanyId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyId(long companyId)
      Returns all the organizations that the user has permission to view where companyId = ?.
      Specified by:
      filterFindByCompanyId in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByCompanyId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 interface com.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

      public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId)
      Returns all the organizations where companyId = ?.
      Specified by:
      findByCompanyIdLocations in interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyIdLocations in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyIdLocations in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByCompanyIdLocations in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByCompanyIdLocations in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByCompanyIdLocations in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      treePath - the tree path
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByC_LikeT(long companyId, String treePath)
      Removes all the organizations where companyId = ? and treePath LIKE ? from the database.
      Specified by:
      removeByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
    • countByC_LikeT

      public int countByC_LikeT(long companyId, String treePath)
      Returns the number of organizations where companyId = ? and treePath LIKE ?.
      Specified by:
      countByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - the tree path
      Returns:
      the number of matching organizations
    • filterCountByC_LikeT

      public int filterCountByC_LikeT(long companyId, String treePath)
      Returns the number of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.
      Specified by:
      filterCountByC_LikeT in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      treePath - 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 a NoSuchOrganizationException if it could not be found.
      Specified by:
      findByC_N in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching organization
      Throws:
      com.liferay.portal.kernel.exception.NoSuchOrganizationException - if a matching organization could not be found
    • fetchByC_N

      public com.liferay.portal.kernel.model.Organization fetchByC_N(long companyId, String name)
      Returns the organization where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByC_N in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByC_N in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the organization that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchOrganizationException
    • countByC_N

      public int countByC_N(long companyId, String name)
      Returns the number of organizations where companyId = ? and name = ?.
      Specified by:
      countByC_N in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByC_LikeN(long companyId, String name)
      Removes all the organizations where companyId = ? and name LIKE ? from the database.
      Specified by:
      removeByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
    • countByC_LikeN

      public int countByC_LikeN(long companyId, String name)
      Returns the number of organizations where companyId = ? and name LIKE ?.
      Specified by:
      countByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching organizations
    • filterCountByC_LikeN

      public int filterCountByC_LikeN(long companyId, String name)
      Returns the number of organizations that the user has permission to view where companyId = ? and name LIKE ?.
      Specified by:
      filterCountByC_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      name - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByGtO_C_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByGtO_C_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByGtO_C_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByGtO_C_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByGtO_C_P in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the organization ID
      companyId - the company ID
      parentOrganizationId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      filterFindByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizationId - the primary key of the current organization
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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

      public void removeByC_P_LikeN(long companyId, long parentOrganizationId, String name)
      Removes all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ? from the database.
      Specified by:
      removeByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
    • countByC_P_LikeN

      public int countByC_P_LikeN(long companyId, long parentOrganizationId, String name)
      Returns the number of organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.
      Specified by:
      countByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - the name
      Returns:
      the number of matching organizations
    • filterCountByC_P_LikeN

      public 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 ?.
      Specified by:
      filterCountByC_P_LikeN in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      companyId - the company ID
      parentOrganizationId - the parent organization ID
      name - 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 a NoSuchOrganizationException if it could not be found.
      Specified by:
      findByERC_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - 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 returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByERC_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - 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 returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByERC_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the organization that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchOrganizationException
    • countByERC_C

      public int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of organizations where externalReferenceCode = ? and companyId = ?.
      Specified by:
      countByERC_C in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
      Parameters:
      organization - the organization
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.Organization> organizations)
      Caches the organizations in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      organizations - the organizations
    • clearCache

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

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      clearCache in class com.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 and FinderCache are both cleared by this method.

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

      public void clearCache(List<com.liferay.portal.kernel.model.Organization> organizations)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(OrganizationModelImpl organizationModelImpl)
    • 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 interface com.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 interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      remove in class com.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 class com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Overrides:
      updateImpl in class com.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 a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      findByPrimaryKey in class com.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 a NoSuchOrganizationException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.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

      public com.liferay.portal.kernel.model.Organization fetchByPrimaryKey(Serializable primaryKey)
      Returns the organization with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      fetchByPrimaryKey in class com.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 returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.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 interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
    • findAll

      public List<com.liferay.portal.kernel.model.Organization> findAll()
      Returns all the organizations.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Returns:
      the organizations
    • findAll

      public List<com.liferay.portal.kernel.model.Organization> findAll(int start, int end)
      Returns a range of all the organizations.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
    • countAll

      public int countAll()
      Returns the number of organizations.
      Specified by:
      countAll in interface com.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 interface com.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

      public List<com.liferay.portal.kernel.model.Group> getGroups(long pk)
      Returns all the groups associated with the organization.
      Specified by:
      getGroups in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      Returns:
      the groups associated with the organization
    • getGroups

      public 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.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      getGroups in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      getGroups in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.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)
      Returns true if the group is associated with the organization.
      Specified by:
      containsGroup in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPK - the primary key of the group
      Returns:
      true if the group is associated with the organization; false otherwise
    • containsGroups

      public boolean containsGroups(long pk)
      Returns true if the organization has any groups associated with it.
      Specified by:
      containsGroups in interface com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPK - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      group - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPKs - 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

      public boolean addGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groups - 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 interface com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPK - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      group - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPKs - the primary keys of the groups
    • removeGroups

      public void removeGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groups - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groupPKs - the primary keys of the groups to be associated with the organization
    • setGroups

      public void setGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      groups - 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 interface com.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

      public List<com.liferay.portal.kernel.model.User> getUsers(long pk)
      Returns all the users associated with the organization.
      Specified by:
      getUsers in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      Returns:
      the users associated with the organization
    • getUsers

      public 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.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      getUsers in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      start - the lower bound of the range of organizations
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OrganizationModelImpl.

      Specified by:
      getUsers in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      start - the lower bound of the range of organizations
      end - the upper bound of the range of organizations (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 interface com.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)
      Returns true if the user is associated with the organization.
      Specified by:
      containsUser in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPK - the primary key of the user
      Returns:
      true if the user is associated with the organization; false otherwise
    • containsUsers

      public boolean containsUsers(long pk)
      Returns true if the organization has any users associated with it.
      Specified by:
      containsUsers in interface com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPK - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      user - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPKs - 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

      public boolean addUsers(long pk, List<com.liferay.portal.kernel.model.User> users)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      users - 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 interface com.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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPK - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      user - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPKs - the primary keys of the users
    • removeUsers

      public void removeUsers(long pk, List<com.liferay.portal.kernel.model.User> users)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      users - 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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      userPKs - the primary keys of the users to be associated with the organization
    • setUsers

      public void setUsers(long pk, List<com.liferay.portal.kernel.model.User> users)
      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 interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      pk - the primary key of the organization
      users - the users to be associated with the organization
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      getBadColumnNames in class com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.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 interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.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 class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>