|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<WorkflowDefinitionLink>
com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistenceImpl
public class WorkflowDefinitionLinkPersistenceImpl
The persistence for the workflow definition link service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
Caching information and settings can be found in portal.properties
WorkflowDefinitionLinkPersistence,
WorkflowDefinitionLinkUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
WorkflowDefinitionLinkPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the workflow definition link persistence. |
void |
cacheResult(List<WorkflowDefinitionLink> workflowDefinitionLinks)
Caches the workflow definition links in the entity cache if it is enabled. |
void |
cacheResult(WorkflowDefinitionLink workflowDefinitionLink)
Caches the workflow definition link in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all workflow definition links. |
void |
clearCache(WorkflowDefinitionLink workflowDefinitionLink)
Clears the cache for the workflow definition link. |
int |
countAll()
Counts all the workflow definition links. |
int |
countByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Counts all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
int |
countByCompanyId(long companyId)
Counts all the workflow definition links where companyId = ?. |
int |
countByG_C_C(long groupId,
long companyId,
long classNameId)
Counts all the workflow definition links where groupId = ? and companyId = ? and classNameId = ?. |
WorkflowDefinitionLink |
create(long workflowDefinitionLinkId)
Creates a new workflow definition link with the primary key. |
WorkflowDefinitionLink |
fetchByG_C_C(long groupId,
long companyId,
long classNameId)
Finds the workflow definition link where groupId = ? and companyId = ? and classNameId = ? or returns null if it could not be found. |
WorkflowDefinitionLink |
fetchByG_C_C(long groupId,
long companyId,
long classNameId,
boolean retrieveFromCache)
Finds the workflow definition link where groupId = ? and companyId = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache. |
WorkflowDefinitionLink |
fetchByPrimaryKey(long workflowDefinitionLinkId)
Finds the workflow definition link with the primary key or returns null if it could not be found. |
WorkflowDefinitionLink |
fetchByPrimaryKey(Serializable primaryKey)
Finds the workflow definition link with the primary key or returns null if it could not be found. |
List<WorkflowDefinitionLink> |
findAll()
Finds all the workflow definition links. |
List<WorkflowDefinitionLink> |
findAll(int start,
int end)
Finds a range of all the workflow definition links. |
List<WorkflowDefinitionLink> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the workflow definition links. |
WorkflowDefinitionLink |
findByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
Finds the first workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
WorkflowDefinitionLink |
findByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
Finds the last workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
WorkflowDefinitionLink[] |
findByC_W_W_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
Finds the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Finds all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end)
Finds a range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
List<WorkflowDefinitionLink> |
findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ?. |
WorkflowDefinitionLink |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first workflow definition link in the ordered set where companyId = ?. |
WorkflowDefinitionLink |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last workflow definition link in the ordered set where companyId = ?. |
WorkflowDefinitionLink[] |
findByCompanyId_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
OrderByComparator orderByComparator)
Finds the workflow definition links before and after the current workflow definition link in the ordered set where companyId = ?. |
List<WorkflowDefinitionLink> |
findByCompanyId(long companyId)
Finds all the workflow definition links where companyId = ?. |
List<WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the workflow definition links where companyId = ?. |
List<WorkflowDefinitionLink> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the workflow definition links where companyId = ?. |
WorkflowDefinitionLink |
findByG_C_C(long groupId,
long companyId,
long classNameId)
Finds the workflow definition link where groupId = ? and companyId = ? and classNameId = ? or throws a NoSuchWorkflowDefinitionLinkException if it could not be found. |
WorkflowDefinitionLink |
findByPrimaryKey(long workflowDefinitionLinkId)
Finds the workflow definition link with the primary key or throws a NoSuchWorkflowDefinitionLinkException if it could not be found. |
WorkflowDefinitionLink |
findByPrimaryKey(Serializable primaryKey)
Finds the workflow definition link with the primary key or throws a NoSuchModelException if it could not be found. |
protected WorkflowDefinitionLink |
getByC_W_W_PrevAndNext(Session session,
WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator,
boolean previous)
|
protected WorkflowDefinitionLink |
getByCompanyId_PrevAndNext(Session session,
WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
WorkflowDefinitionLink |
remove(long workflowDefinitionLinkId)
Removes the workflow definition link with the primary key from the database. |
WorkflowDefinitionLink |
remove(Serializable primaryKey)
Removes the workflow definition link with the primary key from the database. |
void |
removeAll()
Removes all the workflow definition links from the database. |
void |
removeByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
Removes all the workflow definition links where companyId = ? and workflowDefinitionName = ? and workflowDefinitionVersion = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the workflow definition links where companyId = ? from the database. |
void |
removeByG_C_C(long groupId,
long companyId,
long classNameId)
Removes the workflow definition link where groupId = ? and companyId = ? and classNameId = ? from the database. |
protected WorkflowDefinitionLink |
removeImpl(WorkflowDefinitionLink workflowDefinitionLink)
Removes the model instance from the database. |
protected WorkflowDefinitionLink |
toUnwrappedModel(WorkflowDefinitionLink workflowDefinitionLink)
|
WorkflowDefinitionLink |
updateImpl(WorkflowDefinitionLink workflowDefinitionLink,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FETCH_BY_G_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_C
public static final FinderPath FINDER_PATH_FIND_BY_C_W_W
public static final FinderPath FINDER_PATH_COUNT_BY_C_W_W
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=AccountPersistence.class) protected AccountPersistence accountPersistence
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=BrowserTrackerPersistence.class) protected BrowserTrackerPersistence browserTrackerPersistence
@BeanReference(type=ClassNamePersistence.class) protected ClassNamePersistence classNamePersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CountryPersistence.class) protected CountryPersistence countryPersistence
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutPrototypePersistence.class) protected LayoutPrototypePersistence layoutPrototypePersistence
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=LayoutSetPrototypePersistence.class) protected LayoutSetPrototypePersistence layoutSetPrototypePersistence
@BeanReference(type=ListTypePersistence.class) protected ListTypePersistence listTypePersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=MembershipRequestPersistence.class) protected MembershipRequestPersistence membershipRequestPersistence
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrgGroupPermissionPersistence.class) protected OrgGroupPermissionPersistence orgGroupPermissionPersistence
@BeanReference(type=OrgGroupRolePersistence.class) protected OrgGroupRolePersistence orgGroupRolePersistence
@BeanReference(type=OrgLaborPersistence.class) protected OrgLaborPersistence orgLaborPersistence
@BeanReference(type=PasswordPolicyPersistence.class) protected PasswordPolicyPersistence passwordPolicyPersistence
@BeanReference(type=PasswordPolicyRelPersistence.class) protected PasswordPolicyRelPersistence passwordPolicyRelPersistence
@BeanReference(type=PasswordTrackerPersistence.class) protected PasswordTrackerPersistence passwordTrackerPersistence
@BeanReference(type=PermissionPersistence.class) protected PermissionPersistence permissionPersistence
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=PluginSettingPersistence.class) protected PluginSettingPersistence pluginSettingPersistence
@BeanReference(type=PortletPersistence.class) protected PortletPersistence portletPersistence
@BeanReference(type=PortletItemPersistence.class) protected PortletItemPersistence portletItemPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=RegionPersistence.class) protected RegionPersistence regionPersistence
@BeanReference(type=ReleasePersistence.class) protected ReleasePersistence releasePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=ResourceCodePersistence.class) protected ResourceCodePersistence resourceCodePersistence
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=ServiceComponentPersistence.class) protected ServiceComponentPersistence serviceComponentPersistence
@BeanReference(type=ShardPersistence.class) protected ShardPersistence shardPersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=TicketPersistence.class) protected TicketPersistence ticketPersistence
@BeanReference(type=TeamPersistence.class) protected TeamPersistence teamPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
@BeanReference(type=UserGroupGroupRolePersistence.class) protected UserGroupGroupRolePersistence userGroupGroupRolePersistence
@BeanReference(type=UserGroupRolePersistence.class) protected UserGroupRolePersistence userGroupRolePersistence
@BeanReference(type=UserIdMapperPersistence.class) protected UserIdMapperPersistence userIdMapperPersistence
@BeanReference(type=UserTrackerPersistence.class) protected UserTrackerPersistence userTrackerPersistence
@BeanReference(type=UserTrackerPathPersistence.class) protected UserTrackerPathPersistence userTrackerPathPersistence
@BeanReference(type=WebDAVPropsPersistence.class) protected WebDAVPropsPersistence webDAVPropsPersistence
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
| Constructor Detail |
|---|
public WorkflowDefinitionLinkPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(WorkflowDefinitionLink workflowDefinitionLink)
cacheResult in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLink - the workflow definition link to cachepublic void cacheResult(List<WorkflowDefinitionLink> workflowDefinitionLinks)
cacheResult in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinks - the workflow definition links to cachepublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<WorkflowDefinitionLink>clearCache in class BasePersistenceImpl<WorkflowDefinitionLink>public void clearCache(WorkflowDefinitionLink workflowDefinitionLink)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<WorkflowDefinitionLink>clearCache in class BasePersistenceImpl<WorkflowDefinitionLink>workflowDefinitionLink - the instance of this model to clear the cache forpublic WorkflowDefinitionLink create(long workflowDefinitionLinkId)
create in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key for the new workflow definition link
public WorkflowDefinitionLink remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
remove in interface BasePersistence<WorkflowDefinitionLink>remove in class BasePersistenceImpl<WorkflowDefinitionLink>primaryKey - the primary key of the workflow definition link to remove
NoSuchModelException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink remove(long workflowDefinitionLinkId)
throws NoSuchWorkflowDefinitionLinkException,
SystemException
remove in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key of the workflow definition link to remove
NoSuchWorkflowDefinitionLinkException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
protected WorkflowDefinitionLink removeImpl(WorkflowDefinitionLink workflowDefinitionLink)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<WorkflowDefinitionLink>workflowDefinitionLink - the model instance to remove
SystemException - if a system exception occurred
public WorkflowDefinitionLink updateImpl(WorkflowDefinitionLink workflowDefinitionLink,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface WorkflowDefinitionLinkPersistenceupdateImpl in class BasePersistenceImpl<WorkflowDefinitionLink>workflowDefinitionLink - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected WorkflowDefinitionLink toUnwrappedModel(WorkflowDefinitionLink workflowDefinitionLink)
public WorkflowDefinitionLink findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<WorkflowDefinitionLink>findByPrimaryKey in class BasePersistenceImpl<WorkflowDefinitionLink>primaryKey - the primary key of the workflow definition link to find
NoSuchModelException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId)
throws NoSuchWorkflowDefinitionLinkException,
SystemException
NoSuchWorkflowDefinitionLinkException if it could not be found.
findByPrimaryKey in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key of the workflow definition link to find
NoSuchWorkflowDefinitionLinkException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<WorkflowDefinitionLink>fetchByPrimaryKey in class BasePersistenceImpl<WorkflowDefinitionLink>primaryKey - the primary key of the workflow definition link to find
null if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink fetchByPrimaryKey(long workflowDefinitionLinkId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key of the workflow definition link to find
null if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search with
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByCompanyId(long companyId,
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.
findByCompanyId in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withstart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByCompanyId(long companyId,
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.
findByCompanyId in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withstart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public WorkflowDefinitionLink findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByCompanyId_First in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByCompanyId_Last in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByCompanyId_PrevAndNext in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key of the current workflow definition linkcompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
protected WorkflowDefinitionLink getByCompanyId_PrevAndNext(Session session,
WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public WorkflowDefinitionLink findByG_C_C(long groupId,
long companyId,
long classNameId)
throws NoSuchWorkflowDefinitionLinkException,
SystemException
NoSuchWorkflowDefinitionLinkException if it could not be found.
findByG_C_C in interface WorkflowDefinitionLinkPersistencegroupId - the group id to search withcompanyId - the company id to search withclassNameId - the class name id to search with
NoSuchWorkflowDefinitionLinkException - if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink fetchByG_C_C(long groupId,
long companyId,
long classNameId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_C_C in interface WorkflowDefinitionLinkPersistencegroupId - the group id to search withcompanyId - the company id to search withclassNameId - the class name id to search with
null if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink fetchByG_C_C(long groupId,
long companyId,
long classNameId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_C_C in interface WorkflowDefinitionLinkPersistencegroupId - the group id to search withcompanyId - the company id to search withclassNameId - the class name id to search with
null if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
throws SystemException
findByC_W_W in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search with
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
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.
findByC_W_W in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search withstart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> findByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
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.
findByC_W_W in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search withstart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public WorkflowDefinitionLink findByC_W_W_First(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByC_W_W_First in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink findByC_W_W_Last(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByC_W_W_Last in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a matching workflow definition link could not be found
SystemException - if a system exception occurred
public WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator)
throws NoSuchWorkflowDefinitionLinkException,
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.
findByC_W_W_PrevAndNext in interface WorkflowDefinitionLinkPersistenceworkflowDefinitionLinkId - the primary key of the current workflow definition linkcompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search withorderByComparator - the comparator to order the set by
NoSuchWorkflowDefinitionLinkException - if a workflow definition link with the primary key could not be found
SystemException - if a system exception occurred
protected WorkflowDefinitionLink getByC_W_W_PrevAndNext(Session session,
WorkflowDefinitionLink workflowDefinitionLink,
long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion,
OrderByComparator orderByComparator,
boolean previous)
public List<WorkflowDefinitionLink> findAll()
throws SystemException
findAll in interface WorkflowDefinitionLinkPersistenceSystemException - if a system exception occurred
public List<WorkflowDefinitionLink> 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.
findAll in interface WorkflowDefinitionLinkPersistencestart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)
SystemException - if a system exception occurred
public List<WorkflowDefinitionLink> 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.
findAll in interface WorkflowDefinitionLinkPersistencestart - the lower bound of the range of workflow definition links to returnend - the upper bound of the range of workflow definition links to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search with
SystemException - if a system exception occurred
public void removeByG_C_C(long groupId,
long companyId,
long classNameId)
throws NoSuchWorkflowDefinitionLinkException,
SystemException
removeByG_C_C in interface WorkflowDefinitionLinkPersistencegroupId - the group id to search withcompanyId - the company id to search withclassNameId - the class name id to search with
SystemException - if a system exception occurred
NoSuchWorkflowDefinitionLinkException
public void removeByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
throws SystemException
removeByC_W_W in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search with
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface WorkflowDefinitionLinkPersistenceSystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search with
SystemException - if a system exception occurred
public int countByG_C_C(long groupId,
long companyId,
long classNameId)
throws SystemException
countByG_C_C in interface WorkflowDefinitionLinkPersistencegroupId - the group id to search withcompanyId - the company id to search withclassNameId - the class name id to search with
SystemException - if a system exception occurred
public int countByC_W_W(long companyId,
String workflowDefinitionName,
int workflowDefinitionVersion)
throws SystemException
countByC_W_W in interface WorkflowDefinitionLinkPersistencecompanyId - the company id to search withworkflowDefinitionName - the workflow definition name to search withworkflowDefinitionVersion - the workflow definition version to search with
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface WorkflowDefinitionLinkPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||