Class OrganizationPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
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,com.liferay.portal.kernel.exception.NoSuchOrganizationException> 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
    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
    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
    countByLogoId(long logoId)
    Returns the number of organizations where logoId = ?.
    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_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_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_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
    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
    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
    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
    fetchByLogoId_First(long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator)
    Returns the first organization in the ordered set where logoId = ?.
    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
    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_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 = ?.
    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
    filterCountByLogoId(long logoId)
    Returns the number of organizations that the user has permission to view where logoId = ?.
    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 ?.
    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 ?.
    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 ?.
    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 = ?.
    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 = ?.
    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>
    filterFindByLogoId(long logoId, 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 logoId = ?.
    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, 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 = ?.
    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 ?.
    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_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, 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 = ?.
    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 ?.
    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 = ?.
    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
    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 = ?.
    List<com.liferay.portal.kernel.model.Organization>
    findByLogoId(long logoId, 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 logoId = ?.
    com.liferay.portal.kernel.model.Organization
    findByLogoId_First(long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator)
    Returns the first organization in the ordered set where logoId = ?.
    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.
    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, 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_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 = ?.
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper
     
    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.
    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
    removeByLogoId(long logoId)
    Removes all the organizations where logoId = ? 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, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence

    fetchByC_N, fetchByERC_C, filterFindByC_P, filterFindByC_P, filterFindByCompanyId, filterFindByCompanyId, filterFindByCompanyIdLocations, filterFindByCompanyIdLocations, filterFindByLogoId, filterFindByLogoId, filterFindByUuid, filterFindByUuid, filterFindByUuid_C, filterFindByUuid_C, findByC_P, findByC_P, findByC_P, findByCompanyId, findByCompanyId, findByCompanyId, findByCompanyIdLocations, findByCompanyIdLocations, findByCompanyIdLocations, findByLogoId, findByLogoId, findByLogoId, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_C
  • 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, 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
    • 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
    • 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, 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
    • 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
    • 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, 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
    • 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
    • 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, 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
    • 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
    • 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
    • findByLogoId

      public List<com.liferay.portal.kernel.model.Organization> findByLogoId(long logoId, 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 logoId = ?.

      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:
      findByLogoId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo 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
    • findByLogoId_First

      public com.liferay.portal.kernel.model.Organization findByLogoId_First(long logoId, 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 logoId = ?.
      Specified by:
      findByLogoId_First in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo 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
    • fetchByLogoId_First

      public com.liferay.portal.kernel.model.Organization fetchByLogoId_First(long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator)
      Returns the first organization in the ordered set where logoId = ?.
      Specified by:
      fetchByLogoId_First in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo 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
    • filterFindByLogoId

      public List<com.liferay.portal.kernel.model.Organization> filterFindByLogoId(long logoId, 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 logoId = ?.

      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:
      filterFindByLogoId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo 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
    • removeByLogoId

      public void removeByLogoId(long logoId)
      Removes all the organizations where logoId = ? from the database.
      Specified by:
      removeByLogoId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo ID
    • countByLogoId

      public int countByLogoId(long logoId)
      Returns the number of organizations where logoId = ?.
      Specified by:
      countByLogoId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo ID
      Returns:
      the number of matching organizations
    • filterCountByLogoId

      public int filterCountByLogoId(long logoId)
      Returns the number of organizations that the user has permission to view where logoId = ?.
      Specified by:
      filterCountByLogoId in interface com.liferay.portal.kernel.service.persistence.OrganizationPersistence
      Parameters:
      logoId - the logo 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, 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
    • 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
    • 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
    • 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
    • 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, 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
    • 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
    • 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
    • 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
    • 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
    • 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, 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
    • 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
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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
    • getCTPersistenceHelper

      protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()
      Overrides:
      getCTPersistenceHelper in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • getPKDBName

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

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
      Overrides:
      getTableName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.exception.NoSuchOrganizationException>
    • 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,com.liferay.portal.kernel.exception.NoSuchOrganizationException>