|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowInstanceLinkPersistence
The persistence interface for the workflow instance link service.
Never modify or reference this interface directly. Always use WorkflowInstanceLinkUtil
to access the workflow instance link persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
WorkflowInstanceLinkPersistenceImpl
,
WorkflowInstanceLinkUtil
Method Summary | |
---|---|
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()
Counts all the workflow instance links. |
int |
countByG_C_C_C(long groupId,
long companyId,
long classNameId,
long classPK)
Counts all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?. |
WorkflowInstanceLink |
create(long workflowInstanceLinkId)
Creates a new workflow instance link with the primary key. |
WorkflowInstanceLink |
fetchByPrimaryKey(long workflowInstanceLinkId)
Finds the workflow instance link with the primary key or returns null if it could not be found. |
List<WorkflowInstanceLink> |
findAll()
Finds all the workflow instance links. |
List<WorkflowInstanceLink> |
findAll(int start,
int end)
Finds a range of all the workflow instance links. |
List<WorkflowInstanceLink> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the workflow instance links. |
WorkflowInstanceLink |
findByG_C_C_C_First(long groupId,
long companyId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Finds 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 orderByComparator)
Finds 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 orderByComparator)
Finds 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)
Finds 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)
Finds 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 orderByComparator)
Finds an ordered range of all the workflow instance links where groupId = ? and companyId = ? and classNameId = ? and classPK = ?. |
WorkflowInstanceLink |
findByPrimaryKey(long workflowInstanceLinkId)
Finds 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. |
WorkflowInstanceLink |
updateImpl(WorkflowInstanceLink workflowInstanceLink,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(WorkflowInstanceLink workflowInstanceLink)
workflowInstanceLink
- the workflow instance link to cachevoid cacheResult(List<WorkflowInstanceLink> workflowInstanceLinks)
workflowInstanceLinks
- the workflow instance links to cacheWorkflowInstanceLink create(long workflowInstanceLinkId)
workflowInstanceLinkId
- the primary key for the new workflow instance link
WorkflowInstanceLink remove(long workflowInstanceLinkId) throws NoSuchWorkflowInstanceLinkException, SystemException
workflowInstanceLinkId
- the primary key of the workflow instance link to remove
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
SystemException
- if a system exception occurredWorkflowInstanceLink updateImpl(WorkflowInstanceLink workflowInstanceLink, boolean merge) throws SystemException
SystemException
WorkflowInstanceLink findByPrimaryKey(long workflowInstanceLinkId) throws NoSuchWorkflowInstanceLinkException, SystemException
NoSuchWorkflowInstanceLinkException
if it could not be found.
workflowInstanceLinkId
- the primary key of the workflow instance link to find
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
SystemException
- if a system exception occurredWorkflowInstanceLink fetchByPrimaryKey(long workflowInstanceLinkId) throws SystemException
null
if it could not be found.
workflowInstanceLinkId
- the primary key of the workflow instance link to find
null
if a workflow instance link with the primary key could not be found
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) throws SystemException
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end) throws SystemException
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.
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of workflow instance links to returnend
- the upper bound of the range of workflow instance links to return (not inclusive)
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findByG_C_C_C(long groupId, long companyId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withstart
- the lower bound of the range of workflow instance links to returnend
- the upper bound of the range of workflow instance links to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredWorkflowInstanceLink findByG_C_C_C_First(long groupId, long companyId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchWorkflowInstanceLinkException, SystemException
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.
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
SystemException
- if a system exception occurredWorkflowInstanceLink findByG_C_C_C_Last(long groupId, long companyId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchWorkflowInstanceLinkException, SystemException
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.
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchWorkflowInstanceLinkException
- if a matching workflow instance link could not be found
SystemException
- if a system exception occurredWorkflowInstanceLink[] findByG_C_C_C_PrevAndNext(long workflowInstanceLinkId, long groupId, long companyId, long classNameId, long classPK, OrderByComparator orderByComparator) throws NoSuchWorkflowInstanceLinkException, SystemException
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.
workflowInstanceLinkId
- the primary key of the current workflow instance linkgroupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search withorderByComparator
- the comparator to order the set by
NoSuchWorkflowInstanceLinkException
- if a workflow instance link with the primary key could not be found
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findAll() throws SystemException
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of workflow instance links to returnend
- the upper bound of the range of workflow instance links to return (not inclusive)
SystemException
- if a system exception occurredList<WorkflowInstanceLink> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of workflow instance links to returnend
- the upper bound of the range of workflow instance links to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) throws SystemException
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByG_C_C_C(long groupId, long companyId, long classNameId, long classPK) throws SystemException
groupId
- the group id to search withcompanyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |