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

public class CTProcessUtil extends Object
The persistence utility for the ct process service. This utility wraps com.liferay.change.tracking.service.persistence.impl.CTProcessPersistenceImpl 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
    Caches the ct process in the entity cache if it is enabled.
    static void
    cacheResult(List<CTProcess> ctProcesses)
    Caches the ct processes in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(CTProcess ctProcess)
     
    static int
    Returns the number of ct processes.
    static int
    countByC_T(long ctCollectionId, int type)
    Returns the number of ct processes where ctCollectionId = ? and type = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of ct processes where companyId = ?.
    static int
    countByCtCollectionId(long ctCollectionId)
    Returns the number of ct processes where ctCollectionId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static CTProcess
    create(long ctProcessId)
    Creates a new ct process with the primary key.
    static CTProcess
    fetchByC_T_First(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where ctCollectionId = ? and type = ?.
    static CTProcess
    fetchByC_T_Last(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where ctCollectionId = ? and type = ?.
    static CTProcess
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where companyId = ?.
    static CTProcess
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where companyId = ?.
    static CTProcess
    fetchByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where ctCollectionId = ?.
    static CTProcess
    fetchByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where ctCollectionId = ?.
    static CTProcess
    fetchByPrimaryKey(long ctProcessId)
    Returns the ct process with the primary key or returns null if it could not be found.
     
    static int
    filterCountByC_T(long ctCollectionId, int type)
    Returns the number of ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
    static int
    filterCountByCompanyId(long companyId)
    Returns the number of ct processes that the user has permission to view where companyId = ?.
    static int
    filterCountByCtCollectionId(long ctCollectionId)
    Returns the number of ct processes that the user has permission to view where ctCollectionId = ?.
    static List<CTProcess>
    filterFindByC_T(long ctCollectionId, int type)
    Returns all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    filterFindByC_T(long ctCollectionId, int type, int start, int end)
    Returns a range of all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    filterFindByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes that the user has permissions to view where ctCollectionId = ? and type = ?.
    static CTProcess[]
    filterFindByC_T_PrevAndNext(long ctProcessId, long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set of ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    filterFindByCompanyId(long companyId)
    Returns all the ct processes that the user has permission to view where companyId = ?.
    static List<CTProcess>
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct processes that the user has permission to view where companyId = ?.
    static List<CTProcess>
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes that the user has permissions to view where companyId = ?.
    static CTProcess[]
    filterFindByCompanyId_PrevAndNext(long ctProcessId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set of ct processes that the user has permission to view where companyId = ?.
    static List<CTProcess>
    filterFindByCtCollectionId(long ctCollectionId)
    Returns all the ct processes that the user has permission to view where ctCollectionId = ?.
    static List<CTProcess>
    filterFindByCtCollectionId(long ctCollectionId, int start, int end)
    Returns a range of all the ct processes that the user has permission to view where ctCollectionId = ?.
    static List<CTProcess>
    filterFindByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes that the user has permissions to view where ctCollectionId = ?.
    static CTProcess[]
    filterFindByCtCollectionId_PrevAndNext(long ctProcessId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set of ct processes that the user has permission to view where ctCollectionId = ?.
    static List<CTProcess>
    Returns all the ct processes.
    static List<CTProcess>
    findAll(int start, int end)
    Returns a range of all the ct processes.
    static List<CTProcess>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes.
    static List<CTProcess>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct processes.
    static List<CTProcess>
    findByC_T(long ctCollectionId, int type)
    Returns all the ct processes where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    findByC_T(long ctCollectionId, int type, int start, int end)
    Returns a range of all the ct processes where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    findByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    findByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct processes where ctCollectionId = ? and type = ?.
    static CTProcess
    findByC_T_First(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where ctCollectionId = ? and type = ?.
    static CTProcess
    findByC_T_Last(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where ctCollectionId = ? and type = ?.
    static CTProcess[]
    findByC_T_PrevAndNext(long ctProcessId, long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set where ctCollectionId = ? and type = ?.
    static List<CTProcess>
    findByCompanyId(long companyId)
    Returns all the ct processes where companyId = ?.
    static List<CTProcess>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct processes where companyId = ?.
    static List<CTProcess>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes where companyId = ?.
    static List<CTProcess>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct processes where companyId = ?.
    static CTProcess
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where companyId = ?.
    static CTProcess
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where companyId = ?.
    static CTProcess[]
    findByCompanyId_PrevAndNext(long ctProcessId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set where companyId = ?.
    static List<CTProcess>
    findByCtCollectionId(long ctCollectionId)
    Returns all the ct processes where ctCollectionId = ?.
    static List<CTProcess>
    findByCtCollectionId(long ctCollectionId, int start, int end)
    Returns a range of all the ct processes where ctCollectionId = ?.
    static List<CTProcess>
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns an ordered range of all the ct processes where ctCollectionId = ?.
    static List<CTProcess>
    findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct processes where ctCollectionId = ?.
    static CTProcess
    findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the first ct process in the ordered set where ctCollectionId = ?.
    static CTProcess
    findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the last ct process in the ordered set where ctCollectionId = ?.
    static CTProcess[]
    findByCtCollectionId_PrevAndNext(long ctProcessId, long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
    Returns the ct processes before and after the current ct process in the ordered set where ctCollectionId = ?.
    static CTProcess
    findByPrimaryKey(long ctProcessId)
    Returns the ct process with the primary key or throws a NoSuchProcessException if it could not be found.
    static List<CTProcess>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    static List<CTProcess>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    static List<CTProcess>
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
     
     
    static CTProcess
    remove(long ctProcessId)
    Removes the ct process with the primary key from the database.
    static void
    Removes all the ct processes from the database.
    static void
    removeByC_T(long ctCollectionId, int type)
    Removes all the ct processes where ctCollectionId = ? and type = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the ct processes where companyId = ? from the database.
    static void
    removeByCtCollectionId(long ctCollectionId)
    Removes all the ct processes where ctCollectionId = ? from the database.
    static void
     
    static CTProcess
    update(CTProcess ctProcess)
     
    static CTProcess
    update(CTProcess ctProcess, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static CTProcess
    updateImpl(CTProcess ctProcess)
     

    Methods inherited from class java.lang.Object

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

    • CTProcessUtil

      public CTProcessUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CTProcess ctProcess)
      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,CTProcess> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static CTProcess update(CTProcess ctProcess, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

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

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

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

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

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

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

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

      public static CTProcess findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the first ct process 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 process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByCompanyId_First

      public static CTProcess fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
      Returns the first ct process 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 process, or null if a matching ct process could not be found
    • findByCompanyId_Last

      public static CTProcess findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the last ct process 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 process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByCompanyId_Last

      public static CTProcess fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
      Returns the last ct process 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 process, or null if a matching ct process could not be found
    • findByCompanyId_PrevAndNext

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

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

      public static List<CTProcess> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the ct processes 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 CTProcessModelImpl.

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

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

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

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

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

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

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

      public static List<CTProcess> findByCtCollectionId(long ctCollectionId)
      Returns all the ct processes where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the matching ct processes
    • findByCtCollectionId

      public static List<CTProcess> findByCtCollectionId(long ctCollectionId, int start, int end)
      Returns a range of all the ct processes where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      Returns:
      the range of matching ct processes
    • findByCtCollectionId

      public static List<CTProcess> findByCtCollectionId(long ctCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
      Returns an ordered range of all the ct processes where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct processes
    • findByCtCollectionId

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

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (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 processes
    • findByCtCollectionId_First

      public static CTProcess findByCtCollectionId_First(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the first ct process in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByCtCollectionId_First

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

      public static CTProcess findByCtCollectionId_Last(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the last ct process in the ordered set where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByCtCollectionId_Last

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

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

      public static List<CTProcess> filterFindByCtCollectionId(long ctCollectionId)
      Returns all the ct processes that the user has permission to view where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the matching ct processes that the user has permission to view
    • filterFindByCtCollectionId

      public static List<CTProcess> filterFindByCtCollectionId(long ctCollectionId, int start, int end)
      Returns a range of all the ct processes that the user has permission to view where ctCollectionId = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      Returns:
      the range of matching ct processes that the user has permission to view
    • filterFindByCtCollectionId

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

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

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

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

      public static void removeByCtCollectionId(long ctCollectionId)
      Removes all the ct processes where ctCollectionId = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
    • countByCtCollectionId

      public static int countByCtCollectionId(long ctCollectionId)
      Returns the number of ct processes where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the number of matching ct processes
    • filterCountByCtCollectionId

      public static int filterCountByCtCollectionId(long ctCollectionId)
      Returns the number of ct processes that the user has permission to view where ctCollectionId = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      Returns:
      the number of matching ct processes that the user has permission to view
    • findByC_T

      public static List<CTProcess> findByC_T(long ctCollectionId, int type)
      Returns all the ct processes where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      Returns:
      the matching ct processes
    • findByC_T

      public static List<CTProcess> findByC_T(long ctCollectionId, int type, int start, int end)
      Returns a range of all the ct processes where ctCollectionId = ? and type = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      Returns:
      the range of matching ct processes
    • findByC_T

      public static List<CTProcess> findByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
      Returns an ordered range of all the ct processes where ctCollectionId = ? and type = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct processes
    • findByC_T

      public static List<CTProcess> findByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct processes where ctCollectionId = ? and type = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (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 processes
    • findByC_T_First

      public static CTProcess findByC_T_First(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the first ct process in the ordered set where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByC_T_First

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

      public static CTProcess findByC_T_Last(long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the last ct process in the ordered set where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct process
      Throws:
      NoSuchProcessException - if a matching ct process could not be found
      NoSuchProcessException
    • fetchByC_T_Last

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

      public static CTProcess[] findByC_T_PrevAndNext(long ctProcessId, long ctCollectionId, int type, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) throws NoSuchProcessException
      Returns the ct processes before and after the current ct process in the ordered set where ctCollectionId = ? and type = ?.
      Parameters:
      ctProcessId - the primary key of the current ct process
      ctCollectionId - the ct collection ID
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct process
      Throws:
      NoSuchProcessException - if a ct process with the primary key could not be found
      NoSuchProcessException
    • filterFindByC_T

      public static List<CTProcess> filterFindByC_T(long ctCollectionId, int type)
      Returns all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      Returns:
      the matching ct processes that the user has permission to view
    • filterFindByC_T

      public static List<CTProcess> filterFindByC_T(long ctCollectionId, int type, int start, int end)
      Returns a range of all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      Returns:
      the range of matching ct processes that the user has permission to view
    • filterFindByC_T

      public static List<CTProcess> filterFindByC_T(long ctCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator)
      Returns an ordered range of all the ct processes that the user has permissions to view where ctCollectionId = ? and type = ?.

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

      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      start - the lower bound of the range of ct processes
      end - the upper bound of the range of ct processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct processes that the user has permission to view
    • filterFindByC_T_PrevAndNext

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

      public static void removeByC_T(long ctCollectionId, int type)
      Removes all the ct processes where ctCollectionId = ? and type = ? from the database.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
    • countByC_T

      public static int countByC_T(long ctCollectionId, int type)
      Returns the number of ct processes where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      Returns:
      the number of matching ct processes
    • filterCountByC_T

      public static int filterCountByC_T(long ctCollectionId, int type)
      Returns the number of ct processes that the user has permission to view where ctCollectionId = ? and type = ?.
      Parameters:
      ctCollectionId - the ct collection ID
      type - the type
      Returns:
      the number of matching ct processes that the user has permission to view
    • cacheResult

      public static void cacheResult(CTProcess ctProcess)
      Caches the ct process in the entity cache if it is enabled.
      Parameters:
      ctProcess - the ct process
    • cacheResult

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

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

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

      public static CTProcess updateImpl(CTProcess ctProcess)
    • findByPrimaryKey

      public static CTProcess findByPrimaryKey(long ctProcessId) throws NoSuchProcessException
      Returns the ct process with the primary key or throws a NoSuchProcessException if it could not be found.
      Parameters:
      ctProcessId - the primary key of the ct process
      Returns:
      the ct process
      Throws:
      NoSuchProcessException - if a ct process with the primary key could not be found
      NoSuchProcessException
    • fetchByPrimaryKey

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

      public static List<CTProcess> findAll()
      Returns all the ct processes.
      Returns:
      the ct processes
    • findAll

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

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

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

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

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

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

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

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

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

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

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

      public static CTProcessPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CTProcessPersistence persistence)