Class CTCollectionUtil

java.lang.Object
com.liferay.change.tracking.service.persistence.CTCollectionUtil

public class CTCollectionUtil extends Object
The persistence utility for the ct collection service. This utility wraps com.liferay.change.tracking.service.persistence.impl.CTCollectionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(CTCollection ctCollection)
    Caches the ct collection in the entity cache if it is enabled.
    static void
    cacheResult(List<CTCollection> ctCollections)
    Caches the ct collections in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(CTCollection ctCollection)
     
    static int
    Returns the number of ct collections.
    static int
    countByC_S(long companyId, int status)
    Returns the number of ct collections where companyId = ? and status = ?.
    static int
    countByC_S(long companyId, int[] statuses)
    Returns the number of ct collections where companyId = ? and status = any ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of ct collections where companyId = ?.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.
    static int
    countBySchemaVersionId(long schemaVersionId)
    Returns the number of ct collections where schemaVersionId = ?.
    static int
    Returns the number of ct collections where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of ct collections where uuid = ? and companyId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long ctCollectionId)
    Creates a new ct collection with the primary key.
    fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where companyId = ? and status = ?.
    fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where companyId = ? and status = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long ctCollectionId)
    Returns the ct collection with the primary key or returns null if it could not be found.
     
    fetchBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where schemaVersionId = ?.
    fetchBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where schemaVersionId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where uuid = ?.
    static int
    filterCountByC_S(long companyId, int status)
    Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.
    static int
    filterCountByC_S(long companyId, int[] statuses)
    Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of ct collections that the user has permission to view where companyId = ?.
    static int
    filterCountBySchemaVersionId(long schemaVersionId)
    Returns the number of ct collections that the user has permission to view where schemaVersionId = ?.
    static int
    Returns the number of ct collections that the user has permission to view where uuid = ?.
    static int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_S(long companyId, int status)
    Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.
    filterFindByC_S(long companyId, int[] statuses)
    Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.
    filterFindByC_S(long companyId, int[] statuses, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.
    filterFindByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.
    filterFindByC_S(long companyId, int status, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?.
    filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?.
    static CTCollection[]
    filterFindByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ? and status = ?.
    filterFindByCompanyId(long companyId)
    Returns all the ct collections that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ?.
    static CTCollection[]
    filterFindByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ?.
    filterFindBySchemaVersionId(long schemaVersionId)
    Returns all the ct collections that the user has permission to view where schemaVersionId = ?.
    filterFindBySchemaVersionId(long schemaVersionId, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where schemaVersionId = ?.
    filterFindBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permissions to view where schemaVersionId = ?.
    static CTCollection[]
    filterFindBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where schemaVersionId = ?.
    Returns all the ct collections that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ct collections that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections that the user has permissions to view where uuid = ? and companyId = ?.
    static CTCollection[]
    filterFindByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ? and companyId = ?.
    static CTCollection[]
    filterFindByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ?.
    Returns all the ct collections.
    findAll(int start, int end)
    Returns a range of all the ct collections.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections.
    findByC_S(long companyId, int status)
    Returns all the ct collections where companyId = ? and status = ?.
    findByC_S(long companyId, int[] statuses)
    Returns all the ct collections where companyId = ? and status = any ?.
    findByC_S(long companyId, int[] statuses, int start, int end)
    Returns a range of all the ct collections where companyId = ? and status = any ?.
    findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where companyId = ? and status = any ?.
    findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where companyId = ? and status = ?, optionally using the finder cache.
    findByC_S(long companyId, int status, int start, int end)
    Returns a range of all the ct collections where companyId = ? and status = ?.
    findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where companyId = ? and status = ?.
    findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where companyId = ? and status = ?.
    findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where companyId = ? and status = ?.
    findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where companyId = ? and status = ?.
    static CTCollection[]
    findByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set where companyId = ? and status = ?.
    findByCompanyId(long companyId)
    Returns all the ct collections where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct collections where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where companyId = ?.
    static CTCollection[]
    findByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws a NoSuchCollectionException if it could not be found.
    findByPrimaryKey(long ctCollectionId)
    Returns the ct collection with the primary key or throws a NoSuchCollectionException if it could not be found.
    findBySchemaVersionId(long schemaVersionId)
    Returns all the ct collections where schemaVersionId = ?.
    findBySchemaVersionId(long schemaVersionId, int start, int end)
    Returns a range of all the ct collections where schemaVersionId = ?.
    findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where schemaVersionId = ?.
    findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where schemaVersionId = ?.
    findBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where schemaVersionId = ?.
    findBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where schemaVersionId = ?.
    static CTCollection[]
    findBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set where schemaVersionId = ?.
    Returns all the ct collections where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the ct collections where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the ct collections where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the ct collections where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct collections where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
    static CTCollection[]
    findByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the first ct collection in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the last ct collection in the ordered set where uuid = ?.
    static CTCollection[]
    findByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
    Returns the ct collections before and after the current ct collection in the ordered set where uuid = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
     
     
    remove(long ctCollectionId)
    Removes the ct collection with the primary key from the database.
    static void
    Removes all the ct collections from the database.
    static void
    removeByC_S(long companyId, int status)
    Removes all the ct collections where companyId = ? and status = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the ct collections where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.
    static void
    removeBySchemaVersionId(long schemaVersionId)
    Removes all the ct collections where schemaVersionId = ? from the database.
    static void
    Removes all the ct collections where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the ct collections where uuid = ? and companyId = ? from the database.
    static void
     
    update(CTCollection ctCollection)
     
    update(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(CTCollection ctCollection)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CTCollectionUtil

      public CTCollectionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CTCollection ctCollection)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CTCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CTCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CTCollection update(CTCollection ctCollection)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CTCollection update(CTCollection ctCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<CTCollection> findByUuid(String uuid)
      Returns all the ct collections where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ct collections
    • findByUuid

      public static List<CTCollection> findByUuid(String uuid, int start, int end)
      Returns a range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findByUuid

      public static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findByUuid

      public static List<CTCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • findByUuid_First

      public static CTCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first ct collection in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByUuid_First

      public static CTCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the first ct collection in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection, or null if a matching ct collection could not be found
    • findByUuid_Last

      public static CTCollection findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last ct collection in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByUuid_Last

      public static CTCollection fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the last ct collection in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection, or null if a matching ct collection could not be found
    • findByUuid_PrevAndNext

      public static CTCollection[] findByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set where uuid = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindByUuid

      public static List<CTCollection> filterFindByUuid(String uuid)
      Returns all the ct collections that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindByUuid

      public static List<CTCollection> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindByUuid

      public static List<CTCollection> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • filterFindByUuid_PrevAndNext

      public static CTCollection[] filterFindByUuid_PrevAndNext(long ctCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the ct collections where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of ct collections where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ct collections
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      Returns the number of ct collections that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ct collections that the user has permission to view
    • findByUuid_C

      public static List<CTCollection> findByUuid_C(String uuid, long companyId)
      Returns all the ct collections where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ct collections
    • findByUuid_C

      public static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findByUuid_C

      public static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findByUuid_C

      public static List<CTCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • findByUuid_C_First

      public static CTCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByUuid_C_First

      public static CTCollection fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the first ct collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection, or null if a matching ct collection could not be found
    • findByUuid_C_Last

      public static CTCollection findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByUuid_C_Last

      public static CTCollection fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the last ct collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection, or null if a matching ct collection could not be found
    • findByUuid_C_PrevAndNext

      public static CTCollection[] findByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindByUuid_C

      public static List<CTCollection> filterFindByUuid_C(String uuid, long companyId)
      Returns all the ct collections that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindByUuid_C

      public static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where uuid = ? and companyId = ?.

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

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindByUuid_C

      public static List<CTCollection> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      public static CTCollection[] filterFindByUuid_C_PrevAndNext(long ctCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the ct collections where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of ct collections where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching ct collections
    • filterCountByUuid_C

      public static int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of ct collections that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching ct collections that the user has permission to view
    • findByCompanyId

      public static List<CTCollection> findByCompanyId(long companyId)
      Returns all the ct collections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ct collections
    • findByCompanyId

      public static List<CTCollection> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findByCompanyId

      public static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findByCompanyId

      public static List<CTCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • findByCompanyId_First

      public static CTCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first ct collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByCompanyId_First

      public static CTCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the first ct collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection, or null if a matching ct collection could not be found
    • findByCompanyId_Last

      public static CTCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last ct collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByCompanyId_Last

      public static CTCollection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the last ct collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection, or null if a matching ct collection could not be found
    • findByCompanyId_PrevAndNext

      public static CTCollection[] findByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set where companyId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindByCompanyId

      public static List<CTCollection> filterFindByCompanyId(long companyId)
      Returns all the ct collections that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindByCompanyId

      public static List<CTCollection> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindByCompanyId

      public static List<CTCollection> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections 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 CTCollectionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static CTCollection[] filterFindByCompanyId_PrevAndNext(long ctCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the ct collections where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of ct collections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ct collections
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of ct collections that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ct collections that the user has permission to view
    • findBySchemaVersionId

      public static List<CTCollection> findBySchemaVersionId(long schemaVersionId)
      Returns all the ct collections where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      Returns:
      the matching ct collections
    • findBySchemaVersionId

      public static List<CTCollection> findBySchemaVersionId(long schemaVersionId, int start, int end)
      Returns a range of all the ct collections where schemaVersionId = ?.

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

      Parameters:
      schemaVersionId - the schema version ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findBySchemaVersionId

      public static List<CTCollection> findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections where schemaVersionId = ?.

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

      Parameters:
      schemaVersionId - the schema version ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findBySchemaVersionId

      public static List<CTCollection> findBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections where schemaVersionId = ?.

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

      Parameters:
      schemaVersionId - the schema version ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • findBySchemaVersionId_First

      public static CTCollection findBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first ct collection in the ordered set where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchBySchemaVersionId_First

      public static CTCollection fetchBySchemaVersionId_First(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the first ct collection in the ordered set where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection, or null if a matching ct collection could not be found
    • findBySchemaVersionId_Last

      public static CTCollection findBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last ct collection in the ordered set where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchBySchemaVersionId_Last

      public static CTCollection fetchBySchemaVersionId_Last(long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the last ct collection in the ordered set where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection, or null if a matching ct collection could not be found
    • findBySchemaVersionId_PrevAndNext

      public static CTCollection[] findBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set where schemaVersionId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindBySchemaVersionId

      public static List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId)
      Returns all the ct collections that the user has permission to view where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindBySchemaVersionId

      public static List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where schemaVersionId = ?.

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

      Parameters:
      schemaVersionId - the schema version ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindBySchemaVersionId

      public static List<CTCollection> filterFindBySchemaVersionId(long schemaVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections that the user has permissions to view where schemaVersionId = ?.

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

      Parameters:
      schemaVersionId - the schema version ID
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • filterFindBySchemaVersionId_PrevAndNext

      public static CTCollection[] filterFindBySchemaVersionId_PrevAndNext(long ctCollectionId, long schemaVersionId, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where schemaVersionId = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      schemaVersionId - the schema version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • removeBySchemaVersionId

      public static void removeBySchemaVersionId(long schemaVersionId)
      Removes all the ct collections where schemaVersionId = ? from the database.
      Parameters:
      schemaVersionId - the schema version ID
    • countBySchemaVersionId

      public static int countBySchemaVersionId(long schemaVersionId)
      Returns the number of ct collections where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      Returns:
      the number of matching ct collections
    • filterCountBySchemaVersionId

      public static int filterCountBySchemaVersionId(long schemaVersionId)
      Returns the number of ct collections that the user has permission to view where schemaVersionId = ?.
      Parameters:
      schemaVersionId - the schema version ID
      Returns:
      the number of matching ct collections that the user has permission to view
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int status)
      Returns all the ct collections where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int status, int start, int end)
      Returns a range of all the ct collections where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • findByC_S_First

      public static CTCollection findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first ct collection in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByC_S_First

      public static CTCollection fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the first ct collection in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct collection, or null if a matching ct collection could not be found
    • findByC_S_Last

      public static CTCollection findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last ct collection in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByC_S_Last

      public static CTCollection fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns the last ct collection in the ordered set where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct collection, or null if a matching ct collection could not be found
    • findByC_S_PrevAndNext

      public static CTCollection[] findByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set where companyId = ? and status = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int status)
      Returns all the ct collections that the user has permission to view where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections that the user has permissions to view where companyId = ? and status = ?.

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

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • filterFindByC_S_PrevAndNext

      public static CTCollection[] filterFindByC_S_PrevAndNext(long ctCollectionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator) throws NoSuchCollectionException
      Returns the ct collections before and after the current ct collection in the ordered set of ct collections that the user has permission to view where companyId = ? and status = ?.
      Parameters:
      ctCollectionId - the primary key of the current ct collection
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int[] statuses)
      Returns all the ct collections that the user has permission to view where companyId = ? and status = any ?.
      Parameters:
      companyId - the company ID
      statuses - the statuses
      Returns:
      the matching ct collections that the user has permission to view
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end)
      Returns a range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections that the user has permission to view
    • filterFindByC_S

      public static List<CTCollection> filterFindByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections that the user has permission to view where companyId = ? and status = any ?.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections that the user has permission to view
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int[] statuses)
      Returns all the ct collections where companyId = ? and status = any ?.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      Returns:
      the matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end)
      Returns a range of all the ct collections where companyId = ? and status = any ?.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections where companyId = ? and status = any ?.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct collections
    • findByC_S

      public static List<CTCollection> findByC_S(long companyId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections where companyId = ? and status = ?, optionally using the finder cache.

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

      Parameters:
      companyId - the company ID
      statuses - the statuses
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (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 ct collections
    • removeByC_S

      public static void removeByC_S(long companyId, int status)
      Removes all the ct collections where companyId = ? and status = ? from the database.
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_S

      public static int countByC_S(long companyId, int status)
      Returns the number of ct collections where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching ct collections
    • countByC_S

      public static int countByC_S(long companyId, int[] statuses)
      Returns the number of ct collections where companyId = ? and status = any ?.
      Parameters:
      companyId - the company ID
      statuses - the statuses
      Returns:
      the number of matching ct collections
    • filterCountByC_S

      public static int filterCountByC_S(long companyId, int status)
      Returns the number of ct collections that the user has permission to view where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching ct collections that the user has permission to view
    • filterCountByC_S

      public static int filterCountByC_S(long companyId, int[] statuses)
      Returns the number of ct collections that the user has permission to view where companyId = ? and status = any ?.
      Parameters:
      companyId - the company ID
      statuses - the statuses
      Returns:
      the number of matching ct collections that the user has permission to view
    • findByERC_C

      public static CTCollection findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException
      Returns the ct collection where externalReferenceCode = ? and companyId = ? or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching ct collection
      Throws:
      NoSuchCollectionException - if a matching ct collection could not be found
      NoSuchCollectionException
    • fetchByERC_C

      public static CTCollection fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching ct collection, or null if a matching ct collection could not be found
    • fetchByERC_C

      public static CTCollection fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the ct collection where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ct collection, or null if a matching ct collection could not be found
    • removeByERC_C

      public static CTCollection removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCollectionException
      Removes the ct collection where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the ct collection that was removed
      Throws:
      NoSuchCollectionException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of ct collections where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching ct collections
    • cacheResult

      public static void cacheResult(CTCollection ctCollection)
      Caches the ct collection in the entity cache if it is enabled.
      Parameters:
      ctCollection - the ct collection
    • cacheResult

      public static void cacheResult(List<CTCollection> ctCollections)
      Caches the ct collections in the entity cache if it is enabled.
      Parameters:
      ctCollections - the ct collections
    • create

      public static CTCollection create(long ctCollectionId)
      Creates a new ct collection with the primary key. Does not add the ct collection to the database.
      Parameters:
      ctCollectionId - the primary key for the new ct collection
      Returns:
      the new ct collection
    • remove

      public static CTCollection remove(long ctCollectionId) throws NoSuchCollectionException
      Removes the ct collection with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      ctCollectionId - the primary key of the ct collection
      Returns:
      the ct collection that was removed
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • updateImpl

      public static CTCollection updateImpl(CTCollection ctCollection)
    • findByPrimaryKey

      public static CTCollection findByPrimaryKey(long ctCollectionId) throws NoSuchCollectionException
      Returns the ct collection with the primary key or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      ctCollectionId - the primary key of the ct collection
      Returns:
      the ct collection
      Throws:
      NoSuchCollectionException - if a ct collection with the primary key could not be found
      NoSuchCollectionException
    • fetchByPrimaryKey

      public static CTCollection fetchByPrimaryKey(long ctCollectionId)
      Returns the ct collection with the primary key or returns null if it could not be found.
      Parameters:
      ctCollectionId - the primary key of the ct collection
      Returns:
      the ct collection, or null if a ct collection with the primary key could not be found
    • findAll

      public static List<CTCollection> findAll()
      Returns all the ct collections.
      Returns:
      the ct collections
    • findAll

      public static List<CTCollection> findAll(int start, int end)
      Returns a range of all the ct collections.

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

      Parameters:
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      Returns:
      the range of ct collections
    • findAll

      public static List<CTCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator)
      Returns an ordered range of all the ct collections.

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

      Parameters:
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of ct collections
    • findAll

      public static List<CTCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct collections.

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

      Parameters:
      start - the lower bound of the range of ct collections
      end - the upper bound of the range of ct collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of ct collections
    • removeAll

      public static void removeAll()
      Removes all the ct collections from the database.
    • countAll

      public static int countAll()
      Returns the number of ct collections.
      Returns:
      the number of ct collections
    • getPersistence

      public static CTCollectionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CTCollectionPersistence persistence)