Class CTProcessUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CTProcess ctProcess) 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
countAll()
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 returnsnull
if it could not be found.static Map<Serializable,
CTProcess> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.filterFindByC_T
(long ctCollectionId, int type) Returns all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.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 = ?.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 = ?.filterFindByCompanyId
(long companyId) Returns all the ct processes that the user has permission to view where companyId = ?.filterFindByCompanyId
(long companyId, int start, int end) Returns a range of all the ct processes that the user has permission to view where companyId = ?.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 = ?.filterFindByCtCollectionId
(long ctCollectionId) Returns all the ct processes that the user has permission to view where ctCollectionId = ?.filterFindByCtCollectionId
(long ctCollectionId, int start, int end) Returns a range of all the ct processes that the user has permission to view where ctCollectionId = ?.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 = ?.findAll()
Returns all the ct processes.findAll
(int start, int end) Returns a range of all the ct processes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns an ordered range of all the ct processes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ct processes.findByC_T
(long ctCollectionId, int type) Returns all the ct processes where ctCollectionId = ? and type = ?.findByC_T
(long ctCollectionId, int type, int start, int end) Returns a range of all the ct processes where ctCollectionId = ? and type = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the ct processes where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the ct processes where companyId = ?.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 = ?.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 = ?.findByCtCollectionId
(long ctCollectionId) Returns all the ct processes where ctCollectionId = ?.findByCtCollectionId
(long ctCollectionId, int start, int end) Returns a range of all the ct processes where ctCollectionId = ?.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 = ?.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 aNoSuchProcessException
if it could not be found.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<CTProcess> orderByComparator) static CTProcessPersistence
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
setPersistence
(CTProcessPersistence persistence) static CTProcess
static CTProcess
static CTProcess
updateImpl
(CTProcess ctProcess)
-
Constructor Details
-
CTProcessUtil
public CTProcessUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the ct processes where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching ct processes
-
findByCompanyId
Returns a range of all the ct processes where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 processcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
filterFindByCompanyId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 processcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
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
Returns all the ct processes where ctCollectionId = ?.- Parameters:
ctCollectionId
- the ct collection ID- Returns:
- the matching ct processes
-
findByCtCollectionId
Returns a range of all the ct processes where ctCollectionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 processctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
filterFindByCtCollectionId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDstart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 processctCollectionId
- the ct collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
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
Returns all the ct processes where ctCollectionId = ? and type = ?.- Parameters:
ctCollectionId
- the ct collection IDtype
- the type- Returns:
- the matching ct processes
-
findByC_T
Returns a range of all the ct processes where ctCollectionId = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDtype
- the typestart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDtype
- the typestart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDtype
- the typestart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ct process
- Throws:
NoSuchProcessException
- if a matching ct process could not be foundNoSuchProcessException
-
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 IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 processctCollectionId
- the ct collection IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
filterFindByC_T
Returns all the ct processes that the user has permission to view where ctCollectionId = ? and type = ?.- Parameters:
ctCollectionId
- the ct collection IDtype
- the type- Returns:
- the matching ct processes that the user has permission to view
-
filterFindByC_T
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDtype
- the typestart
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
ctCollectionId
- the ct collection IDtype
- the typestart
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 processctCollectionId
- the ct collection IDtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ct process
- Throws:
NoSuchProcessException
- if a ct process with the primary key could not be foundNoSuchProcessException
-
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 IDtype
- 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 IDtype
- 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 IDtype
- the type- Returns:
- the number of matching ct processes that the user has permission to view
-
cacheResult
Caches the ct process in the entity cache if it is enabled.- Parameters:
ctProcess
- the ct process
-
cacheResult
Caches the ct processes in the entity cache if it is enabled.- Parameters:
ctProcesses
- the ct processes
-
create
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
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 foundNoSuchProcessException
-
updateImpl
-
findByPrimaryKey
Returns the ct process with the primary key or throws aNoSuchProcessException
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 foundNoSuchProcessException
-
fetchByPrimaryKey
Returns the ct process with the primary key or returnsnull
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
Returns all the ct processes.- Returns:
- the ct processes
-
findAll
Returns a range of all the ct processes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
start
- the lower bound of the range of ct processesend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
start
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCTProcessModelImpl
.- Parameters:
start
- the lower bound of the range of ct processesend
- the upper bound of the range of ct processes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-