Liferay 6.0.5

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

All Superinterfaces:
BasePersistence<TasksProposal>
All Known Implementing Classes:
TasksProposalPersistenceImpl

public interface TasksProposalPersistence
extends BasePersistence<TasksProposal>

The persistence interface for the tasks proposal service.

Never modify or reference this interface directly. Always use TasksProposalUtil to access the tasks proposal persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.

Caching information and settings can be found in portal.properties

See Also:
TasksProposalPersistenceImpl, TasksProposalUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<TasksProposal> tasksProposals)
          Caches the tasks proposals in the entity cache if it is enabled.
 void cacheResult(TasksProposal tasksProposal)
          Caches the tasks proposal in the entity cache if it is enabled.
 int countAll()
          Counts all the tasks proposals.
 int countByC_C(long classNameId, String classPK)
          Counts all the tasks proposals where classNameId = ? and classPK = ?.
 int countByG_U(long groupId, long userId)
          Counts all the tasks proposals where groupId = ? and userId = ?.
 int countByGroupId(long groupId)
          Counts all the tasks proposals where groupId = ?.
 TasksProposal create(long proposalId)
          Creates a new tasks proposal with the primary key.
 TasksProposal fetchByC_C(long classNameId, String classPK)
          Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found.
 TasksProposal fetchByC_C(long classNameId, String classPK, boolean retrieveFromCache)
          Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 TasksProposal fetchByPrimaryKey(long proposalId)
          Finds the tasks proposal with the primary key or returns null if it could not be found.
 int filterCountByG_U(long groupId, long userId)
          Filters by the user's permissions and counts all the tasks proposals where groupId = ? and userId = ?.
 int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the tasks proposals where groupId = ?.
 List<TasksProposal> filterFindByG_U(long groupId, long userId)
          Filters by the user's permissions and finds all the tasks proposals where groupId = ? and userId = ?.
 List<TasksProposal> filterFindByG_U(long groupId, long userId, int start, int end)
          Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ? and userId = ?.
 List<TasksProposal> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ? and userId = ?.
 List<TasksProposal> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the tasks proposals where groupId = ?.
 List<TasksProposal> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ?.
 List<TasksProposal> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ?.
 List<TasksProposal> findAll()
          Finds all the tasks proposals.
 List<TasksProposal> findAll(int start, int end)
          Finds a range of all the tasks proposals.
 List<TasksProposal> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the tasks proposals.
 TasksProposal findByC_C(long classNameId, String classPK)
          Finds the tasks proposal where classNameId = ? and classPK = ? or throws a NoSuchProposalException if it could not be found.
 TasksProposal findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the first tasks proposal in the ordered set where groupId = ? and userId = ?.
 TasksProposal findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Finds the last tasks proposal in the ordered set where groupId = ? and userId = ?.
 TasksProposal[] findByG_U_PrevAndNext(long proposalId, long groupId, long userId, OrderByComparator orderByComparator)
          Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ? and userId = ?.
 List<TasksProposal> findByG_U(long groupId, long userId)
          Finds all the tasks proposals where groupId = ? and userId = ?.
 List<TasksProposal> findByG_U(long groupId, long userId, int start, int end)
          Finds a range of all the tasks proposals where groupId = ? and userId = ?.
 List<TasksProposal> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the tasks proposals where groupId = ? and userId = ?.
 TasksProposal findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first tasks proposal in the ordered set where groupId = ?.
 TasksProposal findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last tasks proposal in the ordered set where groupId = ?.
 TasksProposal[] findByGroupId_PrevAndNext(long proposalId, long groupId, OrderByComparator orderByComparator)
          Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ?.
 List<TasksProposal> findByGroupId(long groupId)
          Finds all the tasks proposals where groupId = ?.
 List<TasksProposal> findByGroupId(long groupId, int start, int end)
          Finds a range of all the tasks proposals where groupId = ?.
 List<TasksProposal> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the tasks proposals where groupId = ?.
 TasksProposal findByPrimaryKey(long proposalId)
          Finds the tasks proposal with the primary key or throws a NoSuchProposalException if it could not be found.
 TasksProposal remove(long proposalId)
          Removes the tasks proposal with the primary key from the database.
 void removeAll()
          Removes all the tasks proposals from the database.
 void removeByC_C(long classNameId, String classPK)
          Removes the tasks proposal where classNameId = ? and classPK = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the tasks proposals where groupId = ? and userId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the tasks proposals where groupId = ? from the database.
 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, update
 

Method Detail

cacheResult

void cacheResult(TasksProposal tasksProposal)
Caches the tasks proposal in the entity cache if it is enabled.

Parameters:
tasksProposal - the tasks proposal to cache

cacheResult

void cacheResult(List<TasksProposal> tasksProposals)
Caches the tasks proposals in the entity cache if it is enabled.

Parameters:
tasksProposals - the tasks proposals to cache

create

TasksProposal create(long proposalId)
Creates a new tasks proposal with the primary key. Does not add the tasks proposal to the database.

Parameters:
proposalId - the primary key for the new tasks proposal
Returns:
the new tasks proposal

remove

TasksProposal remove(long proposalId)
                     throws SystemException,
                            NoSuchProposalException
Removes the tasks proposal with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
proposalId - the primary key of the tasks proposal to remove
Returns:
the tasks proposal that was removed
Throws:
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

TasksProposal updateImpl(TasksProposal tasksProposal,
                         boolean merge)
                         throws SystemException
Throws:
SystemException

findByPrimaryKey

TasksProposal findByPrimaryKey(long proposalId)
                               throws SystemException,
                                      NoSuchProposalException
Finds the tasks proposal with the primary key or throws a NoSuchProposalException if it could not be found.

Parameters:
proposalId - the primary key of the tasks proposal to find
Returns:
the tasks proposal
Throws:
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

TasksProposal fetchByPrimaryKey(long proposalId)
                                throws SystemException
Finds the tasks proposal with the primary key or returns null if it could not be found.

Parameters:
proposalId - the primary key of the tasks proposal to find
Returns:
the tasks proposal, or null if a tasks proposal with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId

List<TasksProposal> findByGroupId(long groupId)
                                  throws SystemException
Finds all the tasks proposals where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByGroupId

List<TasksProposal> findByGroupId(long groupId,
                                  int start,
                                  int end)
                                  throws SystemException
Finds a range of all the tasks proposals where groupId = ?.

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.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByGroupId

List<TasksProposal> findByGroupId(long groupId,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Finds an ordered range of all the tasks proposals where groupId = ?.

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.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByGroupId_First

TasksProposal findByGroupId_First(long groupId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchProposalException
Finds the first tasks proposal in the ordered set where groupId = ?.

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.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching tasks proposal
Throws:
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred

findByGroupId_Last

TasksProposal findByGroupId_Last(long groupId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchProposalException
Finds the last tasks proposal in the ordered set where groupId = ?.

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.

Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching tasks proposal
Throws:
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

TasksProposal[] findByGroupId_PrevAndNext(long proposalId,
                                          long groupId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchProposalException
Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ?.

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.

Parameters:
proposalId - the primary key of the current tasks proposal
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next tasks proposal
Throws:
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<TasksProposal> filterFindByGroupId(long groupId)
                                        throws SystemException
Filters by the user's permissions and finds all the tasks proposals where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<TasksProposal> filterFindByGroupId(long groupId,
                                        int start,
                                        int end)
                                        throws SystemException
Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ?.

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.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<TasksProposal> filterFindByGroupId(long groupId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ?.

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.

Parameters:
groupId - the group id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_U

List<TasksProposal> findByG_U(long groupId,
                              long userId)
                              throws SystemException
Finds all the tasks proposals where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByG_U

List<TasksProposal> findByG_U(long groupId,
                              long userId,
                              int start,
                              int end)
                              throws SystemException
Finds a range of all the tasks proposals where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByG_U

List<TasksProposal> findByG_U(long groupId,
                              long userId,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Finds an ordered range of all the tasks proposals where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching tasks proposals
Throws:
SystemException - if a system exception occurred

findByG_U_First

TasksProposal findByG_U_First(long groupId,
                              long userId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchProposalException
Finds the first tasks proposal in the ordered set where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching tasks proposal
Throws:
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred

findByG_U_Last

TasksProposal findByG_U_Last(long groupId,
                             long userId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchProposalException
Finds the last tasks proposal in the ordered set where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching tasks proposal
Throws:
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred

findByG_U_PrevAndNext

TasksProposal[] findByG_U_PrevAndNext(long proposalId,
                                      long groupId,
                                      long userId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchProposalException
Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ? and userId = ?.

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.

Parameters:
proposalId - the primary key of the current tasks proposal
groupId - the group id to search with
userId - the user id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next tasks proposal
Throws:
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_U

List<TasksProposal> filterFindByG_U(long groupId,
                                    long userId)
                                    throws SystemException
Filters by the user's permissions and finds all the tasks proposals where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

List<TasksProposal> filterFindByG_U(long groupId,
                                    long userId,
                                    int start,
                                    int end)
                                    throws SystemException
Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

List<TasksProposal> filterFindByG_U(long groupId,
                                    long userId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ? and userId = ?.

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.

Parameters:
groupId - the group id to search with
userId - the user id to search with
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_C

TasksProposal findByC_C(long classNameId,
                        String classPK)
                        throws SystemException,
                               NoSuchProposalException
Finds the tasks proposal where classNameId = ? and classPK = ? or throws a NoSuchProposalException if it could not be found.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the matching tasks proposal
Throws:
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred

fetchByC_C

TasksProposal fetchByC_C(long classNameId,
                         String classPK)
                         throws SystemException
Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the matching tasks proposal, or null if a matching tasks proposal could not be found
Throws:
SystemException - if a system exception occurred

fetchByC_C

TasksProposal fetchByC_C(long classNameId,
                         String classPK,
                         boolean retrieveFromCache)
                         throws SystemException
Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the matching tasks proposal, or null if a matching tasks proposal could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<TasksProposal> findAll()
                            throws SystemException
Finds all the tasks proposals.

Returns:
the tasks proposals
Throws:
SystemException - if a system exception occurred

findAll

List<TasksProposal> findAll(int start,
                            int end)
                            throws SystemException
Finds a range of all the tasks proposals.

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.

Parameters:
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
Returns:
the range of tasks proposals
Throws:
SystemException - if a system exception occurred

findAll

List<TasksProposal> findAll(int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Finds an ordered range of all the tasks proposals.

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.

Parameters:
start - the lower bound of the range of tasks proposals to return
end - the upper bound of the range of tasks proposals to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of tasks proposals
Throws:
SystemException - if a system exception occurred

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Removes all the tasks proposals where groupId = ? from the database.

Parameters:
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws SystemException
Removes all the tasks proposals where groupId = ? and userId = ? from the database.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Throws:
SystemException - if a system exception occurred

removeByC_C

void removeByC_C(long classNameId,
                 String classPK)
                 throws SystemException,
                        NoSuchProposalException
Removes the tasks proposal where classNameId = ? and classPK = ? from the database.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Throws:
SystemException - if a system exception occurred
NoSuchProposalException

removeAll

void removeAll()
               throws SystemException
Removes all the tasks proposals from the database.

Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Counts all the tasks proposals where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching tasks proposals
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Filters by the user's permissions and counts all the tasks proposals where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_U

int countByG_U(long groupId,
               long userId)
               throws SystemException
Counts all the tasks proposals where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching tasks proposals
Throws:
SystemException - if a system exception occurred

filterCountByG_U

int filterCountByG_U(long groupId,
                     long userId)
                     throws SystemException
Filters by the user's permissions and counts all the tasks proposals where groupId = ? and userId = ?.

Parameters:
groupId - the group id to search with
userId - the user id to search with
Returns:
the number of matching tasks proposals that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByC_C

int countByC_C(long classNameId,
               String classPK)
               throws SystemException
Counts all the tasks proposals where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name id to search with
classPK - the class p k to search with
Returns:
the number of matching tasks proposals
Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Counts all the tasks proposals.

Returns:
the number of tasks proposals
Throws:
SystemException - if a system exception occurred

Liferay 6.0.5