com.liferay.portlet.tasks.service.persistence
Class TasksProposalUtil

java.lang.Object
  extended by com.liferay.portlet.tasks.service.persistence.TasksProposalUtil

public class TasksProposalUtil
extends java.lang.Object

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

Constructor Summary
TasksProposalUtil()
           
 
Method Summary
static void cacheResult(java.util.List<TasksProposal> tasksProposals)
           
static void cacheResult(TasksProposal tasksProposal)
           
static void clearCache()
           
static int countAll()
           
static int countByC_C(long classNameId, java.lang.String classPK)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static TasksProposal create(long proposalId)
           
static TasksProposal fetchByC_C(long classNameId, java.lang.String classPK)
           
static TasksProposal fetchByC_C(long classNameId, java.lang.String classPK, boolean retrieveFromCache)
           
static TasksProposal fetchByPrimaryKey(long proposalId)
           
static java.util.List<TasksProposal> findAll()
           
static java.util.List<TasksProposal> findAll(int start, int end)
           
static java.util.List<TasksProposal> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal findByC_C(long classNameId, java.lang.String classPK)
           
static TasksProposal findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal[] findByG_U_PrevAndNext(long proposalId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<TasksProposal> findByG_U(long groupId, long userId)
           
static java.util.List<TasksProposal> findByG_U(long groupId, long userId, int start, int end)
           
static java.util.List<TasksProposal> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal[] findByGroupId_PrevAndNext(long proposalId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<TasksProposal> findByGroupId(long groupId)
           
static java.util.List<TasksProposal> findByGroupId(long groupId, int start, int end)
           
static java.util.List<TasksProposal> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TasksProposal findByPrimaryKey(long proposalId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static TasksProposalPersistence getPersistence()
           
static TasksProposal remove(long proposalId)
           
static TasksProposal remove(TasksProposal tasksProposal)
           
static void removeAll()
           
static void removeByC_C(long classNameId, java.lang.String classPK)
           
static void removeByG_U(long groupId, long userId)
           
static void removeByGroupId(long groupId)
           
 void setPersistence(TasksProposalPersistence persistence)
           
static TasksProposal update(TasksProposal tasksProposal, boolean merge)
           
static TasksProposal updateImpl(TasksProposal tasksProposal, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksProposalUtil

public TasksProposalUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static TasksProposal remove(TasksProposal tasksProposal)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static TasksProposal update(TasksProposal tasksProposal,
                                   boolean merge)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(TasksProposal tasksProposal)

cacheResult

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

create

public static TasksProposal create(long proposalId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static TasksProposal fetchByPrimaryKey(long proposalId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

public static TasksProposal findByGroupId_First(long groupId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException,
                                                NoSuchProposalException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchProposalException

findByGroupId_Last

public static TasksProposal findByGroupId_Last(long groupId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchProposalException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchProposalException

findByGroupId_PrevAndNext

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

findByG_U

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

findByG_U

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

findByG_U

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

findByG_U_First

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

findByG_U_Last

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

findByG_U_PrevAndNext

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

findByC_C

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

fetchByC_C

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

fetchByC_C

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

findAll

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

findAll

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

findAll

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

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_U

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

removeByC_C

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

removeAll

public static void removeAll()
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_U

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

countByC_C

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

countAll

public static int countAll()
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getPersistence

public static TasksProposalPersistence getPersistence()

setPersistence

public void setPersistence(TasksProposalPersistence persistence)