@ProviderType public interface WorkflowInstanceLinkPersistence extends BasePersistence<WorkflowInstanceLink>
Caching information and settings can be found in portal.properties
WorkflowInstanceLinkUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<WorkflowInstanceLink> workflowInstanceLinks)
Caches the workflow instance links in the entity cache if it is enabled.
|
void |
cacheResult(WorkflowInstanceLink workflowInstanceLink)
Caches the workflow instance link in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of workflow instance links.
|
int |
countByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByG_C_C(long groupId,
long companyId,
long classNameId)
Returns the number of workflow instance links where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink |
create(long workflowInstanceLinkId)
Creates a new workflow instance link with the primary key.
|
WorkflowInstanceLink |
fetchByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
WorkflowInstanceLink |
fetchByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
WorkflowInstanceLink |
fetchByG_C_C_First(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink |
fetchByG_C_C_Last(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink |
fetchByPrimaryKey(long workflowInstanceLinkId)
Returns the workflow instance link with the primary key or returns
null if it could not be found. |
List<WorkflowInstanceLink> |
findAll()
Returns all the workflow instance links.
|
List<WorkflowInstanceLink> |
findAll(int start,
int end)
Returns a range of all the workflow instance links.
|
List<WorkflowInstanceLink> |
findAll(int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns an ordered range of all the workflow instance links.
|
List<WorkflowInstanceLink> |
findAll(int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow instance links.
|
WorkflowInstanceLink |
findByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
WorkflowInstanceLink |
findByG_C_C_C_Last(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
WorkflowInstanceLink[] |
findByG_C_C_C_PrevAndNext(long workflowInstanceLinkId,
long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?.
|
WorkflowInstanceLink |
findByG_C_C_First(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the first workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink |
findByG_C_C_Last(long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the last workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink[] |
findByG_C_C_PrevAndNext(long workflowInstanceLinkId,
long groupId,
long companyId,
long classNameId,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns the workflow instance links before and after the current workflow instance link in the ordered set where groupId = ? and companyId = ? and classNameId = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId)
Returns all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end)
Returns a range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator)
Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.
|
List<WorkflowInstanceLink> |
findByG_C_C(long groupId,
long companyId,
long classNameId,
int start,
int end,
OrderByComparator<WorkflowInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ?.
|
WorkflowInstanceLink |
findByPrimaryKey(long workflowInstanceLinkId)
Returns the workflow instance link with the primary key or throws a
NoSuchWorkflowInstanceLinkException if it could not be found. |
WorkflowInstanceLink |
remove(long workflowInstanceLinkId)
Removes the workflow instance link with the primary key from the database.
|
void |
removeAll()
Removes all the workflow instance links from the database.
|
void |
removeByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByG_C_C(long groupId,
long companyId,
long classNameId)
Removes all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? from the database.
|
WorkflowInstanceLink |
updateImpl(WorkflowInstanceLink workflowInstanceLink) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDList<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<WorkflowInstanceLink> findByG_C_C(long groupId, long companyId, long classNameId, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheWorkflowInstanceLink findByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be foundWorkflowInstanceLink fetchByG_C_C_First(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow instance link could not be foundWorkflowInstanceLink findByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be foundWorkflowInstanceLink fetchByG_C_C_Last(long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow instance link could not be foundWorkflowInstanceLink[] findByG_C_C_PrevAndNext(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
workflowInstanceLinkId
- the primary key of the current workflow instance linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be foundvoid removeByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDint countByG_C_C(long groupId, long companyId, long classNameId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDList<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkList<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheWorkflowInstanceLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be foundWorkflowInstanceLink fetchByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow instance link could not be foundWorkflowInstanceLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be foundWorkflowInstanceLink fetchByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching workflow instance link could not be foundWorkflowInstanceLink[] findByG_C_C_C_PrevAndNext(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator<WorkflowInstanceLink> orderByComparator) throws NoSuchWorkflowInstanceLinkException
workflowInstanceLinkId
- the primary key of the current workflow instance linkgroupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be foundvoid removeByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkint countByG_C_C_C(long groupId, long companyId, long classNameId, long classPK)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(WorkflowInstanceLink workflowInstanceLink)
workflowInstanceLink
- the workflow instance linkvoid cacheResult(List<WorkflowInstanceLink> workflowInstanceLinks)
workflowInstanceLinks
- the workflow instance linksWorkflowInstanceLink create(long workflowInstanceLinkId)
workflowInstanceLinkId
- the primary key for the new workflow instance linkWorkflowInstanceLink remove(long workflowInstanceLinkId) throws NoSuchWorkflowInstanceLinkException
workflowInstanceLinkId
- the primary key of the workflow instance linkNoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be foundWorkflowInstanceLink updateImpl(WorkflowInstanceLink workflowInstanceLink)
WorkflowInstanceLink findByPrimaryKey(long workflowInstanceLinkId) throws NoSuchWorkflowInstanceLinkException
NoSuchWorkflowInstanceLinkException
if it could not be found.workflowInstanceLinkId
- the primary key of the workflow instance linkNoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be foundWorkflowInstanceLink fetchByPrimaryKey(long workflowInstanceLinkId)
null
if it could not be found.workflowInstanceLinkId
- the primary key of the workflow instance linknull
if a workflow instance link with the primary key could not be foundList<WorkflowInstanceLink> findAll()
List<WorkflowInstanceLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)List<WorkflowInstanceLink> findAll(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<WorkflowInstanceLink> findAll(int start, int end, OrderByComparator<WorkflowInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WorkflowInstanceLinkModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of workflow instance linksend
- the upper bound of the range of workflow instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()