com.liferay.portal.service.persistence
Interface WorkflowDefinitionLinkPersistence

All Superinterfaces:
BasePersistence<WorkflowDefinitionLink>

public interface WorkflowDefinitionLinkPersistence
extends BasePersistence<WorkflowDefinitionLink>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
WorkflowDefinitionLinkPersistenceImpl, WorkflowDefinitionLinkUtil
Generated:

Method Summary
 void cacheResult(java.util.List<WorkflowDefinitionLink> workflowDefinitionLinks)
           
 void cacheResult(WorkflowDefinitionLink workflowDefinitionLink)
           
 int countAll()
           
 int countByC_W_W(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
           
 int countByCompanyId(long companyId)
           
 int countByG_C_C(long groupId, long companyId, long classNameId)
           
 WorkflowDefinitionLink create(long workflowDefinitionLinkId)
           
 WorkflowDefinitionLink fetchByG_C_C(long groupId, long companyId, long classNameId)
           
 WorkflowDefinitionLink fetchByG_C_C(long groupId, long companyId, long classNameId, boolean retrieveFromCache)
           
 WorkflowDefinitionLink fetchByPrimaryKey(long workflowDefinitionLinkId)
           
 java.util.List<WorkflowDefinitionLink> findAll()
           
 java.util.List<WorkflowDefinitionLink> findAll(int start, int end)
           
 java.util.List<WorkflowDefinitionLink> findAll(int start, int end, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink findByC_W_W_First(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink findByC_W_W_Last(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId, long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion, OrderByComparator orderByComparator)
           
 java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
           
 java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion, int start, int end)
           
 java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion, int start, int end, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId, long companyId, OrderByComparator orderByComparator)
           
 java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId)
           
 java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 WorkflowDefinitionLink findByG_C_C(long groupId, long companyId, long classNameId)
           
 WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId)
           
 WorkflowDefinitionLink remove(long workflowDefinitionLinkId)
           
 void removeAll()
           
 void removeByC_W_W(long companyId, java.lang.String workflowDefinitionName, int workflowDefinitionVersion)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_C_C(long groupId, long companyId, long classNameId)
           
 WorkflowDefinitionLink updateImpl(WorkflowDefinitionLink workflowDefinitionLink, 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
 

Method Detail

cacheResult

void cacheResult(WorkflowDefinitionLink workflowDefinitionLink)

cacheResult

void cacheResult(java.util.List<WorkflowDefinitionLink> workflowDefinitionLinks)

create

WorkflowDefinitionLink create(long workflowDefinitionLinkId)

remove

WorkflowDefinitionLink remove(long workflowDefinitionLinkId)
                              throws NoSuchWorkflowDefinitionLinkException,
                                     SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

updateImpl

WorkflowDefinitionLink updateImpl(WorkflowDefinitionLink workflowDefinitionLink,
                                  boolean merge)
                                  throws SystemException
Throws:
SystemException

findByPrimaryKey

WorkflowDefinitionLink findByPrimaryKey(long workflowDefinitionLinkId)
                                        throws NoSuchWorkflowDefinitionLinkException,
                                               SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

fetchByPrimaryKey

WorkflowDefinitionLink fetchByPrimaryKey(long workflowDefinitionLinkId)
                                         throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId,
                                                       int start,
                                                       int end)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<WorkflowDefinitionLink> findByCompanyId(long companyId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                       throws SystemException
Throws:
SystemException

findByCompanyId_First

WorkflowDefinitionLink findByCompanyId_First(long companyId,
                                             OrderByComparator orderByComparator)
                                             throws NoSuchWorkflowDefinitionLinkException,
                                                    SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findByCompanyId_Last

WorkflowDefinitionLink findByCompanyId_Last(long companyId,
                                            OrderByComparator orderByComparator)
                                            throws NoSuchWorkflowDefinitionLinkException,
                                                   SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findByCompanyId_PrevAndNext

WorkflowDefinitionLink[] findByCompanyId_PrevAndNext(long workflowDefinitionLinkId,
                                                     long companyId,
                                                     OrderByComparator orderByComparator)
                                                     throws NoSuchWorkflowDefinitionLinkException,
                                                            SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findByG_C_C

WorkflowDefinitionLink findByG_C_C(long groupId,
                                   long companyId,
                                   long classNameId)
                                   throws NoSuchWorkflowDefinitionLinkException,
                                          SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

fetchByG_C_C

WorkflowDefinitionLink fetchByG_C_C(long groupId,
                                    long companyId,
                                    long classNameId)
                                    throws SystemException
Throws:
SystemException

fetchByG_C_C

WorkflowDefinitionLink fetchByG_C_C(long groupId,
                                    long companyId,
                                    long classNameId,
                                    boolean retrieveFromCache)
                                    throws SystemException
Throws:
SystemException

findByC_W_W

java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId,
                                                   java.lang.String workflowDefinitionName,
                                                   int workflowDefinitionVersion)
                                                   throws SystemException
Throws:
SystemException

findByC_W_W

java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId,
                                                   java.lang.String workflowDefinitionName,
                                                   int workflowDefinitionVersion,
                                                   int start,
                                                   int end)
                                                   throws SystemException
Throws:
SystemException

findByC_W_W

java.util.List<WorkflowDefinitionLink> findByC_W_W(long companyId,
                                                   java.lang.String workflowDefinitionName,
                                                   int workflowDefinitionVersion,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException
Throws:
SystemException

findByC_W_W_First

WorkflowDefinitionLink findByC_W_W_First(long companyId,
                                         java.lang.String workflowDefinitionName,
                                         int workflowDefinitionVersion,
                                         OrderByComparator orderByComparator)
                                         throws NoSuchWorkflowDefinitionLinkException,
                                                SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findByC_W_W_Last

WorkflowDefinitionLink findByC_W_W_Last(long companyId,
                                        java.lang.String workflowDefinitionName,
                                        int workflowDefinitionVersion,
                                        OrderByComparator orderByComparator)
                                        throws NoSuchWorkflowDefinitionLinkException,
                                               SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findByC_W_W_PrevAndNext

WorkflowDefinitionLink[] findByC_W_W_PrevAndNext(long workflowDefinitionLinkId,
                                                 long companyId,
                                                 java.lang.String workflowDefinitionName,
                                                 int workflowDefinitionVersion,
                                                 OrderByComparator orderByComparator)
                                                 throws NoSuchWorkflowDefinitionLinkException,
                                                        SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

findAll

java.util.List<WorkflowDefinitionLink> findAll()
                                               throws SystemException
Throws:
SystemException

findAll

java.util.List<WorkflowDefinitionLink> findAll(int start,
                                               int end)
                                               throws SystemException
Throws:
SystemException

findAll

java.util.List<WorkflowDefinitionLink> findAll(int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_C_C

void removeByG_C_C(long groupId,
                   long companyId,
                   long classNameId)
                   throws NoSuchWorkflowDefinitionLinkException,
                          SystemException
Throws:
NoSuchWorkflowDefinitionLinkException
SystemException

removeByC_W_W

void removeByC_W_W(long companyId,
                   java.lang.String workflowDefinitionName,
                   int workflowDefinitionVersion)
                   throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_C_C

int countByG_C_C(long groupId,
                 long companyId,
                 long classNameId)
                 throws SystemException
Throws:
SystemException

countByC_W_W

int countByC_W_W(long companyId,
                 java.lang.String workflowDefinitionName,
                 int workflowDefinitionVersion)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException