Class WorkflowDefinitionLinkUtil
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
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(WorkflowDefinitionLink workflowDefinitionLink) Caches the workflow definition link in the entity cache if it is enabled.static void
cacheResult
(List<WorkflowDefinitionLink> workflowDefinitionLinks) Caches the workflow definition links in the entity cache if it is enabled.static void
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
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of workflow definition links where externalReferenceCode = ? and groupId = ?.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 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_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_CPK
(long groupId, long companyId, long classPK) Returns the number of workflow definition links where groupId = ? and companyId = ? and classPK = ?.static int
countByUuid
(String uuid) Returns the number of workflow definition links where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of workflow definition links where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of workflow definition links where uuid = ? and groupId = ?.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
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static WorkflowDefinitionLink
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 returnsnull
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 returnsnull
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
fetchByG_C_CPK_First
(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.static WorkflowDefinitionLink
fetchByG_C_CPK_Last
(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.static WorkflowDefinitionLink
fetchByPrimaryKey
(long workflowDefinitionLinkId) Returns the workflow definition link with the primary key or returnsnull
if it could not be found.static Map<Serializable,
WorkflowDefinitionLink> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static WorkflowDefinitionLink
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ? and companyId = ?.static WorkflowDefinitionLink
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ? and companyId = ?.static WorkflowDefinitionLink
fetchByUuid_First
(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ?.static WorkflowDefinitionLink
fetchByUUID_G
(String uuid, long groupId) Returns the workflow definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found.static WorkflowDefinitionLink
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the workflow definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static WorkflowDefinitionLink
fetchByUuid_Last
(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ?.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 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
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>
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
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 WorkflowDefinitionLink
findByERC_G
(String externalReferenceCode, long groupId) Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.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 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_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 aNoSuchWorkflowDefinitionLinkException
if it could not be found.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_CPK
(long groupId, long companyId, long classPK) Returns all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.static List<WorkflowDefinitionLink>
findByG_C_CPK
(long groupId, long companyId, long classPK, int start, int end) Returns a range of all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.static List<WorkflowDefinitionLink>
findByG_C_CPK
(long groupId, long companyId, long classPK, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.static List<WorkflowDefinitionLink>
findByG_C_CPK
(long groupId, long companyId, 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 classPK = ?.static WorkflowDefinitionLink
findByG_C_CPK_First
(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.static WorkflowDefinitionLink
findByG_C_CPK_Last
(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.static WorkflowDefinitionLink[]
findByG_C_CPK_PrevAndNext
(long workflowDefinitionLinkId, long groupId, long companyId, 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 classPK = ?.static WorkflowDefinitionLink
findByPrimaryKey
(long workflowDefinitionLinkId) Returns the workflow definition link with the primary key or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.static List<WorkflowDefinitionLink>
findByUuid
(String uuid) Returns all the workflow definition links where uuid = ?.static List<WorkflowDefinitionLink>
findByUuid
(String uuid, int start, int end) Returns a range of all the workflow definition links where uuid = ?.static List<WorkflowDefinitionLink>
findByUuid
(String uuid, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where uuid = ?.static List<WorkflowDefinitionLink>
findByUuid
(String uuid, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow definition links where uuid = ?.static List<WorkflowDefinitionLink>
findByUuid_C
(String uuid, long companyId) Returns all the workflow definition links where uuid = ? and companyId = ?.static List<WorkflowDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the workflow definition links where uuid = ? and companyId = ?.static List<WorkflowDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where uuid = ? and companyId = ?.static List<WorkflowDefinitionLink>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow definition links where uuid = ? and companyId = ?.static WorkflowDefinitionLink
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ? and companyId = ?.static WorkflowDefinitionLink
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ? and companyId = ?.static WorkflowDefinitionLink[]
findByUuid_C_PrevAndNext
(long workflowDefinitionLinkId, String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the workflow definition links before and after the current workflow definition link in the ordered set where uuid = ? and companyId = ?.static WorkflowDefinitionLink
findByUuid_First
(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ?.static WorkflowDefinitionLink
findByUUID_G
(String uuid, long groupId) Returns the workflow definition link where uuid = ? and groupId = ? or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.static WorkflowDefinitionLink
findByUuid_Last
(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ?.static WorkflowDefinitionLink[]
findByUuid_PrevAndNext
(long workflowDefinitionLinkId, String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the workflow definition links before and after the current workflow definition link in the ordered set where uuid = ?.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 WorkflowDefinitionLink
remove
(long workflowDefinitionLinkId) Removes the workflow definition link with the primary key from the database.static void
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
removeByERC_G
(String externalReferenceCode, long groupId) Removes the workflow definition link where externalReferenceCode = ? and groupId = ? 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 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 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_CPK
(long groupId, long companyId, long classPK) Removes all the workflow definition links where groupId = ? and companyId = ? and classPK = ? from the database.static void
removeByUuid
(String uuid) Removes all the workflow definition links where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the workflow definition links where uuid = ? and companyId = ? from the database.static WorkflowDefinitionLink
removeByUUID_G
(String uuid, long groupId) Removes the workflow definition link where uuid = ? and groupId = ? from the database.static void
setPersistence
(WorkflowDefinitionLinkPersistence persistence) static WorkflowDefinitionLink
update
(WorkflowDefinitionLink workflowDefinitionLink) static WorkflowDefinitionLink
update
(WorkflowDefinitionLink workflowDefinitionLink, ServiceContext serviceContext) static WorkflowDefinitionLink
updateImpl
(WorkflowDefinitionLink workflowDefinitionLink)
-
Constructor Details
-
WorkflowDefinitionLinkUtil
public WorkflowDefinitionLinkUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,WorkflowDefinitionLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<WorkflowDefinitionLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<WorkflowDefinitionLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) -
update
-
update
public static WorkflowDefinitionLink update(WorkflowDefinitionLink workflowDefinitionLink, ServiceContext serviceContext) -
findByUuid
Returns all the workflow definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching workflow definition links
-
findByUuid
Returns a range of all the workflow definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)- Returns:
- the range of matching workflow definition links
-
findByUuid
public static List<WorkflowDefinitionLink> findByUuid(String uuid, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByUuid
public static List<WorkflowDefinitionLink> findByUuid(String uuid, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow definition links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByUuid_First
public static WorkflowDefinitionLink findByUuid_First(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByUuid_First
public static WorkflowDefinitionLink fetchByUuid_First(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByUuid_Last
public static WorkflowDefinitionLink findByUuid_Last(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByUuid_Last
public static WorkflowDefinitionLink fetchByUuid_Last(String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByUuid_PrevAndNext
public static WorkflowDefinitionLink[] findByUuid_PrevAndNext(long workflowDefinitionLinkId, String uuid, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where uuid = ?.- Parameters:
workflowDefinitionLinkId
- the primary key of the current workflow definition linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByUuid
Removes all the workflow definition links where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of workflow definition links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching workflow definition links
-
findByUUID_G
public static WorkflowDefinitionLink findByUUID_G(String uuid, long groupId) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition link where uuid = ? and groupId = ? or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByUUID_G
Returns the workflow definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
fetchByUUID_G
public static WorkflowDefinitionLink fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the workflow definition link where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
removeByUUID_G
public static WorkflowDefinitionLink removeByUUID_G(String uuid, long groupId) throws NoSuchWorkflowDefinitionLinkException Removes the workflow definition link where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the workflow definition link that was removed
- Throws:
NoSuchWorkflowDefinitionLinkException
-
countByUUID_G
Returns the number of workflow definition links where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching workflow definition links
-
findByUuid_C
Returns all the workflow definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching workflow definition links
-
findByUuid_C
public static List<WorkflowDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the workflow definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- 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)- Returns:
- the range of matching workflow definition links
-
findByUuid_C
public static List<WorkflowDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- 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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByUuid_C
public static List<WorkflowDefinitionLink> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow definition links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByUuid_C_First
public static WorkflowDefinitionLink findByUuid_C_First(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByUuid_C_First
public static WorkflowDefinitionLink fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByUuid_C_Last
public static WorkflowDefinitionLink findByUuid_C_Last(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByUuid_C_Last
public static WorkflowDefinitionLink fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByUuid_C_PrevAndNext
public static WorkflowDefinitionLink[] findByUuid_C_PrevAndNext(long workflowDefinitionLinkId, String uuid, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where uuid = ? and companyId = ?.- Parameters:
workflowDefinitionLinkId
- the primary key of the current workflow definition linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByUuid_C
Removes all the workflow definition links where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of workflow definition links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching workflow definition links
-
findByCompanyId
Returns all the workflow definition links where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching workflow definition links
-
findByCompanyId
Returns a range of all the workflow definition links where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching workflow definition links
-
findByCompanyId
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByCompanyId
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByCompanyId_First
public static WorkflowDefinitionLink findByCompanyId_First(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByCompanyId_First
public static WorkflowDefinitionLink fetchByCompanyId_First(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByCompanyId_Last
public static WorkflowDefinitionLink findByCompanyId_Last(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByCompanyId_Last
public static WorkflowDefinitionLink fetchByCompanyId_Last(long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByCompanyId_PrevAndNext
public static WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId, long companyId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ?.- Parameters:
workflowDefinitionLinkId
- the primary key of the current workflow definition linkcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the workflow definition links where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of workflow definition links where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching workflow definition links
-
findByG_C_C
public static List<WorkflowDefinitionLink> findByG_C_C(long groupId, long companyId, long classNameId) Returns all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID- Returns:
- the matching workflow definition links
-
findByG_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching workflow definition links
-
findByG_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_C_First
public static WorkflowDefinitionLink findByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_C_First
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_C_Last
public static WorkflowDefinitionLink findByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_C_Last
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_C_PrevAndNext
public static WorkflowDefinitionLink[] findByG_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByG_C_C
public 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.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID
-
countByG_C_C
public static int countByG_C_C(long groupId, long companyId, long classNameId) Returns the number of workflow definition links where groupId = ? and companyId = ? and classNameId = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name ID- Returns:
- the number of matching workflow definition links
-
findByG_C_CPK
public static List<WorkflowDefinitionLink> findByG_C_CPK(long groupId, long companyId, long classPK) Returns all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pk- Returns:
- the matching workflow definition links
-
findByG_C_CPK
public static List<WorkflowDefinitionLink> findByG_C_CPK(long groupId, long companyId, long classPK, int start, int end) Returns a range of all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company 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)- Returns:
- the range of matching workflow definition links
-
findByG_C_CPK
public static List<WorkflowDefinitionLink> findByG_C_CPK(long groupId, long companyId, long classPK, int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company 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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_CPK
public static List<WorkflowDefinitionLink> findByG_C_CPK(long groupId, long companyId, 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 classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
groupId
- the group IDcompanyId
- the company 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_CPK_First
public static WorkflowDefinitionLink findByG_C_CPK_First(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_CPK_First
public static WorkflowDefinitionLink fetchByG_C_CPK_First(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_CPK_Last
public static WorkflowDefinitionLink findByG_C_CPK_Last(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_CPK_Last
public static WorkflowDefinitionLink fetchByG_C_CPK_Last(long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_CPK_PrevAndNext
public static WorkflowDefinitionLink[] findByG_C_CPK_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where groupId = ? and companyId = ? and classPK = ?.- Parameters:
workflowDefinitionLinkId
- the primary key of the current workflow definition linkgroupId
- the group IDcompanyId
- the company IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByG_C_CPK
public static void removeByG_C_CPK(long groupId, long companyId, long classPK) Removes all the workflow definition links where groupId = ? and companyId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pk
-
countByG_C_CPK
public static int countByG_C_CPK(long groupId, long companyId, long classPK) Returns the number of workflow definition links where groupId = ? and companyId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassPK
- the class pk- Returns:
- the number of matching workflow definition links
-
findByC_W_W
public static List<WorkflowDefinitionLink> findByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) Returns all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition version- Returns:
- the matching workflow definition links
-
findByC_W_W
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching workflow definition links
-
findByC_W_W
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByC_W_W
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByC_W_W_First
public static WorkflowDefinitionLink findByC_W_W_First(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByC_W_W_First
public 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 = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByC_W_W_Last
public static WorkflowDefinitionLink findByC_W_W_Last(long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByC_W_W_Last
public 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 = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByC_W_W_PrevAndNext
public static WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId, long companyId, String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByC_W_W
public 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.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition version
-
countByC_W_W
public static int countByC_W_W(long companyId, String workflowDefinitionName, int workflowDefinitionVersion) Returns the number of workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?.- Parameters:
companyId
- the company IDworkflowDefinitionName
- the workflow definition nameworkflowDefinitionVersion
- the workflow definition version- Returns:
- the number of matching workflow definition links
-
findByG_C_C_C
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching workflow definition links
-
findByG_C_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching workflow definition links
-
findByG_C_C_C
public 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_C_C
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) Returns an ordered range of all the workflow definition links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching workflow definition links
-
findByG_C_C_C_First
public static WorkflowDefinitionLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the first workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_C_C_First
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_C_C_Last
public static WorkflowDefinitionLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException Returns the last workflow definition link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_C_C_Last
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
findByG_C_C_C_PrevAndNext
public static WorkflowDefinitionLink[] findByG_C_C_C_PrevAndNext(long workflowDefinitionLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowDefinitionLink> orderByComparator) throws NoSuchWorkflowDefinitionLinkException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
removeByG_C_C_C
public 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.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk
-
countByG_C_C_C
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching workflow definition links
-
findByG_C_C_C_T
public static WorkflowDefinitionLink findByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pk- Returns:
- the matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByG_C_C_C_T
public 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pk- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
fetchByG_C_C_C_T
public 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
removeByG_C_C_C_T
public static WorkflowDefinitionLink removeByG_C_C_C_T(long groupId, long companyId, long classNameId, long classPK, long typePK) throws NoSuchWorkflowDefinitionLinkException Removes the workflow definition link where groupId = ? and companyId = ? and classNameId = ? and classPK = ? and typePK = ? from the database.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pk- Returns:
- the workflow definition link that was removed
- Throws:
NoSuchWorkflowDefinitionLinkException
-
countByG_C_C_C_T
public 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 = ?.- Parameters:
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pktypePK
- the type pk- Returns:
- the number of matching workflow definition links
-
findByERC_G
public static WorkflowDefinitionLink findByERC_G(String externalReferenceCode, long groupId) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a matching workflow definition link could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByERC_G
Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
fetchByERC_G
public static WorkflowDefinitionLink fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the workflow definition link where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching workflow definition link, or
null
if a matching workflow definition link could not be found
-
removeByERC_G
public static WorkflowDefinitionLink removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchWorkflowDefinitionLinkException Removes the workflow definition link where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the workflow definition link that was removed
- Throws:
NoSuchWorkflowDefinitionLinkException
-
countByERC_G
Returns the number of workflow definition links where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching workflow definition links
-
cacheResult
Caches the workflow definition link in the entity cache if it is enabled.- Parameters:
workflowDefinitionLink
- the workflow definition link
-
cacheResult
Caches the workflow definition links in the entity cache if it is enabled.- Parameters:
workflowDefinitionLinks
- the workflow definition links
-
create
Creates a new workflow definition link with the primary key. Does not add the workflow definition link to the database.- Parameters:
workflowDefinitionLinkId
- the primary key for the new workflow definition link- Returns:
- the new workflow definition link
-
remove
public static WorkflowDefinitionLink remove(long workflowDefinitionLinkId) throws NoSuchWorkflowDefinitionLinkException Removes the workflow definition link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
workflowDefinitionLinkId
- the primary key of the workflow definition link- Returns:
- the workflow definition link that was removed
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
updateImpl
-
findByPrimaryKey
public static WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId) throws NoSuchWorkflowDefinitionLinkException Returns the workflow definition link with the primary key or throws aNoSuchWorkflowDefinitionLinkException
if it could not be found.- Parameters:
workflowDefinitionLinkId
- the primary key of the workflow definition link- Returns:
- the workflow definition link
- Throws:
NoSuchWorkflowDefinitionLinkException
- if a workflow definition link with the primary key could not be foundNoSuchWorkflowDefinitionLinkException
-
fetchByPrimaryKey
Returns the workflow definition link with the primary key or returnsnull
if it could not be found.- Parameters:
workflowDefinitionLinkId
- the primary key of the workflow definition link- Returns:
- the workflow definition link, or
null
if a workflow definition link with the primary key could not be found
-
findAll
Returns all the workflow definition links.- Returns:
- the workflow definition links
-
findAll
Returns a range of all the workflow definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
start
- the lower bound of the range of workflow definition linksend
- the upper bound of the range of workflow definition links (not inclusive)- Returns:
- the range of workflow definition links
-
findAll
public static List<WorkflowDefinitionLink> findAll(int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator) Returns an ordered range of all the workflow definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of workflow definition links
-
findAll
public static List<WorkflowDefinitionLink> findAll(int start, int end, OrderByComparator<WorkflowDefinitionLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the workflow definition links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromWorkflowDefinitionLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of workflow definition links
-
removeAll
public static void removeAll()Removes all the workflow definition links from the database. -
countAll
public static int countAll()Returns the number of workflow definition links.- Returns:
- the number of workflow definition links
-
getPersistence
-
setPersistence
-