public class WorkflowDefinitionLinkPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
implements com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
WorkflowDefinitionLinkPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the workflow definition link persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks)
Caches the workflow definition links in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
Caches the workflow definition link in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(WorkflowDefinitionLinkModelImpl workflowDefinitionLinkModelImpl) |
void |
clearCache()
Clears the cache for all workflow definition links.
|
void |
clearCache(List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks) |
void |
clearCache(Set<Serializable> primaryKeys) |
void |
clearCache(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
Clears the cache for the workflow definition link.
|
protected void |
clearUniqueFindersCache(WorkflowDefinitionLinkModelImpl workflowDefinitionLinkModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of workflow definition links.
|
int |
countByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Returns the number of workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of workflow definition links where companyId = ?.
|
int |
countByG_C_C_C_T(long groupId,
long companyId,
long classNameId,
long classPK,
long typePK)
Returns the number of workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ?.
|
int |
countByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Returns the number of workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByG_C_C(long groupId,
long companyId,
long classNameId)
Returns the number of workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
create(long workflowDefinitionLinkId)
Creates a new workflow definition link with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_C_T(long groupId,
long companyId,
long classNameId,
long classPK,
long typePK)
Returns the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_C_T(long groupId,
long companyId,
long classNameId,
long classPK,
long typePK,
boolean useFinderCache)
Returns the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_First(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByG_C_C_Last(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
fetchByPrimaryKey(long workflowDefinitionLinkId)
Returns the workflow definition link with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findAll()
Returns all the workflow definition links.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findAll(int start,
int end)
Returns a range of all the workflow definition links.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink[] |
findByC_W_W_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Returns all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end)
Returns a range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink[] |
findByCompanyId_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByCompanyId(long companyId)
Returns all the workflow definition links where companyId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the workflow definition links where companyId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where companyId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where companyId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink[] |
findByG_C_C_C_PrevAndNext(long workflowDefinitionLinkId,
long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the workflow definition links before and after the current workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByG_C_C_C_T(long groupId,
long companyId,
long classNameId,
long classPK,
long typePK)
Returns the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? or throws a
NoSuchWorkflowDefinitionLinkException if it could not be found. |
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Returns all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByG_C_C_First(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByG_C_C_Last(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink[] |
findByG_C_C_PrevAndNext(long workflowDefinitionLinkId,
long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns the workflow definition links before and after the current workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId)
Returns all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end)
Returns a range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByPrimaryKey(long workflowDefinitionLinkId)
Returns the workflow definition link with the primary key or throws a
NoSuchWorkflowDefinitionLinkException if it could not be found. |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
findByPrimaryKey(Serializable primaryKey)
Returns the workflow definition link with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
protected com.liferay.portal.kernel.model.WorkflowDefinitionLink |
getByC_W_W_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.WorkflowDefinitionLink |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.WorkflowDefinitionLink |
getByG_C_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink,
long groupId,
long companyId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.WorkflowDefinitionLink |
getByG_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink,
long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
remove(long workflowDefinitionLinkId)
Removes the workflow definition link with the primary key from the database.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
remove(Serializable primaryKey)
Removes the workflow definition link with the primary key from the database.
|
void |
removeAll()
Removes all the workflow definition links from the database.
|
void |
removeByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Removes all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the workflow definition links where companyId = ? from the database.
|
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
removeByG_C_C_C_T(long groupId,
long companyId,
long classNameId,
long classPK,
long typePK)
Removes the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? from the database.
|
void |
removeByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Removes all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByG_C_C(long groupId,
long companyId,
long classNameId)
Removes all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? from the database.
|
protected com.liferay.portal.kernel.model.WorkflowDefinitionLink |
removeImpl(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink) |
com.liferay.portal.kernel.model.WorkflowDefinitionLink |
updateImpl(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public WorkflowDefinitionLinkPersistenceImpl()
public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end)
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 WorkflowDefinitionLinkModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
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 WorkflowDefinitionLinkModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean useFinderCache)
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 WorkflowDefinitionLinkModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the current workflow definition linkcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundprotected com.liferay.portal.kernel.model.WorkflowDefinitionLink getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId)
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean useFinderCache)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByG_C_C_First(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_First(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByG_C_C_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByG_C_C_Last(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_Last(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByG_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink[] findByG_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the current workflow definition linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundprotected com.liferay.portal.kernel.model.WorkflowDefinitionLink getByG_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink, long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean previous)
public void removeByG_C_C(long groupId, long companyId, long classNameId)
removeByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic int countByG_C_C(long groupId, long companyId, long classNameId)
countByG_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
findByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, int start, int end)
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 WorkflowDefinitionLinkModelImpl
.
findByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
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 WorkflowDefinitionLinkModelImpl
.
findByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean useFinderCache)
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 WorkflowDefinitionLinkModelImpl
.
findByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByC_W_W_First(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByC_W_W_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByC_W_W_First(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByC_W_W_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByC_W_W_Last(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByC_W_W_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByC_W_W_Last(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByC_W_W_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId, long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByC_W_W_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the current workflow definition linkcompanyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundprotected com.liferay.portal.kernel.model.WorkflowDefinitionLink getByC_W_W_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink, long companyId, String workflowDefinitionName, int workflowDefinitionVersion, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean previous)
public void removeByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
removeByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic int countByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
countByC_W_W
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
findByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean useFinderCache)
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 WorkflowDefinitionLinkModelImpl
.
findByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_C_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByG_C_C_C_First
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
fetchByG_C_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink[] findByG_C_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
findByG_C_C_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the current workflow definition linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundprotected com.liferay.portal.kernel.model.WorkflowDefinitionLink getByG_C_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink, long groupId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean previous)
public void removeByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
removeByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic int countByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
countByG_C_C_C
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
NoSuchWorkflowDefinitionLinkException
if it could not be found.findByG_C_C_C_T
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK)
null
if it could not be found. Uses the finder cache.fetchByG_C_C_C_T
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pknull
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.fetchByG_C_C_C_T
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkuseFinderCache
- whether to use the finder cachenull
if a matching workflow definition link could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink removeByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
removeByG_C_C_C_T
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
public int countByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK)
countByG_C_C_C_T
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkpublic void cacheResult(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
workflowDefinitionLink
- the workflow definition linkpublic void cacheResult(List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinks
- the workflow definition linkspublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public void clearCache(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public void clearCache(List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> workflowDefinitionLinks)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
protected void cacheUniqueFindersCache(WorkflowDefinitionLinkModelImpl workflowDefinitionLinkModelImpl)
protected void clearUniqueFindersCache(WorkflowDefinitionLinkModelImpl workflowDefinitionLinkModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.WorkflowDefinitionLink create(long workflowDefinitionLinkId)
create
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key for the new workflow definition linkpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink remove(long workflowDefinitionLinkId) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
remove
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the workflow definition linkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
primaryKey
- the primary key of the workflow definition linkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundprotected com.liferay.portal.kernel.model.WorkflowDefinitionLink removeImpl(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public com.liferay.portal.kernel.model.WorkflowDefinitionLink updateImpl(com.liferay.portal.kernel.model.WorkflowDefinitionLink workflowDefinitionLink)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public com.liferay.portal.kernel.model.WorkflowDefinitionLink findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
primaryKey
- the primary key of the workflow definition linkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId) throws com.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
NoSuchWorkflowDefinitionLinkException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the workflow definition linkcom.liferay.portal.kernel.exception.NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic com.liferay.portal.kernel.model.WorkflowDefinitionLink fetchByPrimaryKey(long workflowDefinitionLinkId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
workflowDefinitionLinkId
- the primary key of the workflow definition linknull
if a workflow definition link with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findAll(int start, int end)
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 WorkflowDefinitionLinkModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator)
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 WorkflowDefinitionLinkModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.WorkflowDefinitionLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.WorkflowDefinitionLink> orderByComparator, boolean useFinderCache)
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 WorkflowDefinitionLinkModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.WorkflowDefinitionLinkPersistence
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.WorkflowDefinitionLink>
public void afterPropertiesSet()
public void destroy()