Interface CTProcessPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTProcess>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CTProcess ctProcess) Caches the ct process in the entity cache if it is enabled.void
cacheResult
(List<CTProcess> ctProcesses) Caches the ct processes in the entity cache if it is enabled.int
countAll()
Returns the number of ct processes.int
countByC_T
(long ctCollectionId, int type) Returns the number of ct processes where ctCollectionId = ? and type = ?.int
countByCompanyId
(long companyId) Returns the number of ct processes where companyId = ?.int
countByCtCollectionId
(long ctCollectionId) Returns the number of ct processes where ctCollectionId = ?.create
(long ctProcessId) Creates a new ct process with the primary key.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the first ct process in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the last ct process in the ordered set where companyId = ?.fetchByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the first ct process in the ordered set where ctCollectionId = ?.fetchByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the last ct process in the ordered set where ctCollectionId = ?.fetchByPrimaryKey
(long ctProcessId) Returns the ct process with the primary key or returnsnull
if it could not be found.int
filterCountByC_T
(long ctCollectionId, int type) Returns the number of ct processes that the user has permission to view where ctCollectionId = ? and type = ?.int
filterCountByCompanyId
(long companyId) Returns the number of ct processes that the user has permission to view where companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the first ct process in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the last ct process in the ordered set where companyId = ?.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 = ?.findByCtCollectionId_First
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the first ct process in the ordered set where ctCollectionId = ?.findByCtCollectionId_Last
(long ctCollectionId, com.liferay.portal.kernel.util.OrderByComparator<CTProcess> orderByComparator) Returns the last ct process in the ordered set where ctCollectionId = ?.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 = ?.findByPrimaryKey
(long ctProcessId) Returns the ct process with the primary key or throws aNoSuchProcessException
if it could not be found.remove
(long ctProcessId) Removes the ct process with the primary key from the database.void
Removes all the ct processes from the database.void
removeByC_T
(long ctCollectionId, int type) Removes all the ct processes where ctCollectionId = ? and type = ? from the database.void
removeByCompanyId
(long companyId) Removes all the ct processes where companyId = ? from the database.void
removeByCtCollectionId
(long ctCollectionId) Removes all the ct processes where ctCollectionId = ? from the database.updateImpl
(CTProcess ctProcess) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
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
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the ct processes where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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
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 found
-
fetchByCtCollectionId_First
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
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 found
-
fetchByCtCollectionId_Last
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
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 found
-
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
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
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 found
-
removeByCtCollectionId
void removeByCtCollectionId(long ctCollectionId) Removes all the ct processes where ctCollectionId = ? from the database.- Parameters:
ctCollectionId
- the ct collection ID
-
countByCtCollectionId
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
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
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
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
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 found
-
fetchByC_T_First
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
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 found
-
fetchByC_T_Last
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
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 found
-
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
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
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 found
-
removeByC_T
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
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
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 found
-
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 found
-
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
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
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
void removeAll()Removes all the ct processes from the database. -
countAll
int countAll()Returns the number of ct processes.- Returns:
- the number of ct processes
-