com.liferay.portlet.tasks.service.persistence
Interface TasksProposalPersistence

All Superinterfaces:
BasePersistence<TasksProposal>

public interface TasksProposalPersistence
extends BasePersistence<TasksProposal>

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:
TasksProposalPersistenceImpl, TasksProposalUtil
Generated:

Method Summary
 void cacheResult(java.util.List<TasksProposal> tasksProposals)
           
 void cacheResult(TasksProposal tasksProposal)
           
 int countAll()
           
 int countByC_C(long classNameId, java.lang.String classPK)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 TasksProposal create(long proposalId)
           
 TasksProposal fetchByC_C(long classNameId, java.lang.String classPK)
           
 TasksProposal fetchByC_C(long classNameId, java.lang.String classPK, boolean retrieveFromCache)
           
 TasksProposal fetchByPrimaryKey(long proposalId)
           
 java.util.List<TasksProposal> findAll()
           
 java.util.List<TasksProposal> findAll(int start, int end)
           
 java.util.List<TasksProposal> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal findByC_C(long classNameId, java.lang.String classPK)
           
 TasksProposal findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal[] findByG_U_PrevAndNext(long proposalId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksProposal> findByG_U(long groupId, long userId)
           
 java.util.List<TasksProposal> findByG_U(long groupId, long userId, int start, int end)
           
 java.util.List<TasksProposal> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal[] findByGroupId_PrevAndNext(long proposalId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksProposal> findByGroupId(long groupId)
           
 java.util.List<TasksProposal> findByGroupId(long groupId, int start, int end)
           
 java.util.List<TasksProposal> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksProposal findByPrimaryKey(long proposalId)
           
 TasksProposal remove(long proposalId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, java.lang.String classPK)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 TasksProposal update(TasksProposal tasksProposal)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TasksProposal updateImpl(TasksProposal tasksProposal, 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(TasksProposal tasksProposal)

cacheResult

void cacheResult(java.util.List<TasksProposal> tasksProposals)

create

TasksProposal create(long proposalId)

remove

TasksProposal remove(long proposalId)
                     throws com.liferay.portal.SystemException,
                            NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

update

TasksProposal update(TasksProposal tasksProposal)
                     throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

TasksProposal updateImpl(TasksProposal tasksProposal,
                         boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TasksProposal findByPrimaryKey(long proposalId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

fetchByPrimaryKey

TasksProposal fetchByPrimaryKey(long proposalId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<TasksProposal> findByGroupId(long groupId)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<TasksProposal> findByGroupId(long groupId,
                                            int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<TasksProposal> findByGroupId(long groupId,
                                            int start,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

TasksProposal findByGroupId_First(long groupId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByGroupId_Last

TasksProposal findByGroupId_Last(long groupId,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByGroupId_PrevAndNext

TasksProposal[] findByGroupId_PrevAndNext(long proposalId,
                                          long groupId,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByG_U

java.util.List<TasksProposal> findByG_U(long groupId,
                                        long userId)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

java.util.List<TasksProposal> findByG_U(long groupId,
                                        long userId,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

java.util.List<TasksProposal> findByG_U(long groupId,
                                        long userId,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_First

TasksProposal findByG_U_First(long groupId,
                              long userId,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByG_U_Last

TasksProposal findByG_U_Last(long groupId,
                             long userId,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByG_U_PrevAndNext

TasksProposal[] findByG_U_PrevAndNext(long proposalId,
                                      long groupId,
                                      long userId,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

findByC_C

TasksProposal findByC_C(long classNameId,
                        java.lang.String classPK)
                        throws com.liferay.portal.SystemException,
                               NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

fetchByC_C

TasksProposal fetchByC_C(long classNameId,
                         java.lang.String classPK)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C

TasksProposal fetchByC_C(long classNameId,
                         java.lang.String classPK,
                         boolean retrieveFromCache)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TasksProposal> findAll()
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TasksProposal> findAll(int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TasksProposal> findAll(int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 java.lang.String classPK)
                 throws com.liferay.portal.SystemException,
                        NoSuchProposalException
Throws:
com.liferay.portal.SystemException
NoSuchProposalException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

int countByG_U(long groupId,
               long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

int countByC_C(long classNameId,
               java.lang.String classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException