public class WorkflowDefinitionLinkUtil
extends Object
com.liferay.portal.service.persistence.impl.WorkflowDefinitionLinkPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
WorkflowDefinitionLinkPersistence
Constructor and Description |
---|
WorkflowDefinitionLinkUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(List<WorkflowDefinitionLink> workflowDefinitionLinks)
Caches the workflow definition links in the entity cache if it is enabled.
|
static void |
cacheResult(WorkflowDefinitionLink workflowDefinitionLink)
Caches the workflow definition link in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WorkflowDefinitionLink workflowDefinitionLink) |
static int |
countAll()
Returns the number of workflow definition links.
|
static int |
countByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Returns the number of workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of workflow definition links where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static int |
countByG_C_C(long groupId,
long companyId,
long classNameId)
Returns the number of workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static WorkflowDefinitionLink |
create(long workflowDefinitionLinkId)
Creates a new workflow definition link with the primary key.
|
static WorkflowDefinitionLink |
fetchByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static WorkflowDefinitionLink |
fetchByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static WorkflowDefinitionLink |
fetchByCompanyId_First(long companyId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ?.
|
static WorkflowDefinitionLink |
fetchByCompanyId_Last(long companyId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ?.
|
static WorkflowDefinitionLink |
fetchByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static WorkflowDefinitionLink |
fetchByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static 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. |
static 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. |
static WorkflowDefinitionLink |
fetchByG_C_C_First(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
static WorkflowDefinitionLink |
fetchByG_C_C_Last(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
static WorkflowDefinitionLink |
fetchByPrimaryKey(long workflowDefinitionLinkId)
Returns the workflow definition link with the primary key or returns
null if it could not be found. |
static Map<Serializable,WorkflowDefinitionLink> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static List<WorkflowDefinitionLink> |
findAll()
Returns all the workflow definition links.
|
static List<WorkflowDefinitionLink> |
findAll(int start,
int end)
Returns a range of all the workflow definition links.
|
static List<WorkflowDefinitionLink> |
findAll(int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links.
|
static List<WorkflowDefinitionLink> |
findAll(int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links.
|
static WorkflowDefinitionLink |
findByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static WorkflowDefinitionLink |
findByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static WorkflowDefinitionLink[] |
findByC_W_W_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator<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 = ?.
|
static List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Returns all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static List<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 = ?.
|
static List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.
|
static WorkflowDefinitionLink |
findByCompanyId_First(long companyId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where companyId = ?.
|
static WorkflowDefinitionLink |
findByCompanyId_Last(long companyId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where companyId = ?.
|
static WorkflowDefinitionLink[] |
findByCompanyId_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ?.
|
static List<WorkflowDefinitionLink> |
findByCompanyId(long companyId)
Returns all the workflow definition links where companyId = ?.
|
static List<WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the workflow definition links where companyId = ?.
|
static List<WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where companyId = ?.
|
static List<WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where companyId = ?.
|
static WorkflowDefinitionLink |
findByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static WorkflowDefinitionLink |
findByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static WorkflowDefinitionLink[] |
findByG_C_C_C_PrevAndNext(long workflowDefinitionLinkId,
long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<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 = ?.
|
static 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. |
static List<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 = ?.
|
static List<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 = ?.
|
static List<WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static List<WorkflowDefinitionLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
static WorkflowDefinitionLink |
findByG_C_C_First(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
static WorkflowDefinitionLink |
findByG_C_C_Last(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
static WorkflowDefinitionLink[] |
findByG_C_C_PrevAndNext(long workflowDefinitionLinkId,
long groupId,
long companyId,
long classNameId,
OrderByComparator<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 = ?.
|
static List<WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId)
Returns all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
static List<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 = ?.
|
static List<WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
static List<WorkflowDefinitionLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.
|
static WorkflowDefinitionLink |
findByPrimaryKey(long workflowDefinitionLinkId)
Returns the workflow definition link with the primary key or throws a
NoSuchWorkflowDefinitionLinkException if it could not be found. |
static List<WorkflowDefinitionLink> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<WorkflowDefinitionLink> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<WorkflowDefinitionLink> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<WorkflowDefinitionLink> orderByComparator) |
static WorkflowDefinitionLinkPersistence |
getPersistence() |
static WorkflowDefinitionLink |
remove(long workflowDefinitionLinkId)
Removes the workflow definition link with the primary key from the database.
|
static void |
removeAll()
Removes all the workflow definition links from the database.
|
static 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.
|
static void |
removeByCompanyId(long companyId)
Removes all the workflow definition links where companyId = ? from the database.
|
static 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.
|
static 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.
|
static 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.
|
static WorkflowDefinitionLink |
update(WorkflowDefinitionLink workflowDefinitionLink) |
static WorkflowDefinitionLink |
update(WorkflowDefinitionLink workflowDefinitionLink,
ServiceContext serviceContext) |
static WorkflowDefinitionLink |
updateImpl(WorkflowDefinitionLink workflowDefinitionLink) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WorkflowDefinitionLink workflowDefinitionLink)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static Map<Serializable,WorkflowDefinitionLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static List<WorkflowDefinitionLink> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<WorkflowDefinitionLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<WorkflowDefinitionLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
public static WorkflowDefinitionLink update(WorkflowDefinitionLink workflowDefinitionLink)
public static WorkflowDefinitionLink update(WorkflowDefinitionLink workflowDefinitionLink, ServiceContext serviceContext)
public static List<WorkflowDefinitionLink> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<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
.
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 static List<WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.
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 static List<WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.
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 static WorkflowDefinitionLink findByCompanyId_First(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByCompanyId_First(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink findByCompanyId_Last(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByCompanyId_Last(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
workflowDefinitionLinkId
- the primary key of the current workflow definition linkcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static List<WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic static List<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
.
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 static List<WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<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
.
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 static List<WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<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
.
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 static WorkflowDefinitionLink findByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink findByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink[] findByG_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
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
)NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static void removeByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic static int countByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDpublic static List<WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic static List<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
.
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 static List<WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, int start, int end, OrderByComparator<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
.
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 static List<WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, int start, int end, OrderByComparator<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
.
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 static WorkflowDefinitionLink findByC_W_W_First(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByC_W_W_First(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink findByC_W_W_Last(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByC_W_W_Last(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId, long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
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
)NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static void removeByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic static int countByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion)
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionpublic static List<WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static List<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
.
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 static List<WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<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
.
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 static List<WorkflowDefinitionLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<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
.
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 static WorkflowDefinitionLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static WorkflowDefinitionLink fetchByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator)
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 static WorkflowDefinitionLink[] findByG_C_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException
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
)NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static void removeByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static WorkflowDefinitionLink findByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws NoSuchWorkflowDefinitionLinkException
NoSuchWorkflowDefinitionLinkException
if it could not be found.groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkNoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundpublic static 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.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 static 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.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 static WorkflowDefinitionLink removeByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws NoSuchWorkflowDefinitionLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkNoSuchWorkflowDefinitionLinkException
public static int countByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkpublic static void cacheResult(WorkflowDefinitionLink workflowDefinitionLink)
workflowDefinitionLink
- the workflow definition linkpublic static void cacheResult(List<WorkflowDefinitionLink> workflowDefinitionLinks)
workflowDefinitionLinks
- the workflow definition linkspublic static WorkflowDefinitionLink create(long workflowDefinitionLinkId)
workflowDefinitionLinkId
- the primary key for the new workflow definition linkpublic static WorkflowDefinitionLink remove(long workflowDefinitionLinkId) throws NoSuchWorkflowDefinitionLinkException
workflowDefinitionLinkId
- the primary key of the workflow definition linkNoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static WorkflowDefinitionLink updateImpl(WorkflowDefinitionLink workflowDefinitionLink)
public static WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId) throws NoSuchWorkflowDefinitionLinkException
NoSuchWorkflowDefinitionLinkException
if it could not be found.workflowDefinitionLinkId
- the primary key of the workflow definition linkNoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundpublic static WorkflowDefinitionLink fetchByPrimaryKey(long workflowDefinitionLinkId)
null
if it could not be found.workflowDefinitionLinkId
- the primary key of the workflow definition linknull
if a workflow definition link with the primary key could not be foundpublic static List<WorkflowDefinitionLink> findAll()
public static List<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
.
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)public static List<WorkflowDefinitionLink> findAll(int start, int end, OrderByComparator<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
.
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 static List<WorkflowDefinitionLink> findAll(int start, int end, OrderByComparator<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
.
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 static void removeAll()
public static int countAll()
public static WorkflowDefinitionLinkPersistence getPersistence()