|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<TasksProposal> com.liferay.portlet.tasks.service.persistence.TasksProposalPersistenceImpl
public class TasksProposalPersistenceImpl
The persistence implementation for the tasks proposal service.
Never modify or reference this class directly. Always use TasksProposalUtil
to access the tasks proposal persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
TasksProposalPersistence
,
TasksProposalUtil
Field Summary | |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY
|
static String |
FINDER_CLASS_NAME_LIST
|
static FinderPath |
FINDER_PATH_COUNT_ALL
|
static FinderPath |
FINDER_PATH_COUNT_BY_C_C
|
static FinderPath |
FINDER_PATH_COUNT_BY_G_U
|
static FinderPath |
FINDER_PATH_COUNT_BY_GROUPID
|
static FinderPath |
FINDER_PATH_FETCH_BY_C_C
|
static FinderPath |
FINDER_PATH_FIND_ALL
|
static FinderPath |
FINDER_PATH_FIND_BY_G_U
|
static FinderPath |
FINDER_PATH_FIND_BY_GROUPID
|
protected MBMessagePersistence |
mbMessagePersistence
|
protected ResourcePersistence |
resourcePersistence
|
protected SocialActivityPersistence |
socialActivityPersistence
|
protected TasksProposalPersistence |
tasksProposalPersistence
|
protected TasksReviewPersistence |
tasksReviewPersistence
|
protected UserPersistence |
userPersistence
|
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 | |
---|---|
TasksProposalPersistenceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Initializes the tasks proposal persistence. |
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. |
void |
clearCache()
Clears the cache for all tasks proposals. |
void |
clearCache(TasksProposal tasksProposal)
Clears the cache for the tasks proposal. |
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. |
TasksProposal |
fetchByPrimaryKey(Serializable primaryKey)
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 |
findByPrimaryKey(Serializable primaryKey)
Finds the tasks proposal with the primary key or throws a NoSuchModelException if it could not be found. |
protected TasksProposal |
getByG_U_PrevAndNext(Session session,
TasksProposal tasksProposal,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected TasksProposal |
getByGroupId_PrevAndNext(Session session,
TasksProposal tasksProposal,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
TasksProposal |
remove(long proposalId)
Removes the tasks proposal with the primary key from the database. |
TasksProposal |
remove(Serializable primaryKey)
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. |
protected TasksProposal |
removeImpl(TasksProposal tasksProposal)
Removes the model instance from the database. |
protected TasksProposal |
toUnwrappedModel(TasksProposal tasksProposal)
|
TasksProposal |
updateImpl(TasksProposal tasksProposal,
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_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_G_U
public static final FinderPath FINDER_PATH_COUNT_BY_G_U
public static final FinderPath FINDER_PATH_FETCH_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=TasksProposalPersistence.class) protected TasksProposalPersistence tasksProposalPersistence
@BeanReference(type=TasksReviewPersistence.class) protected TasksReviewPersistence tasksReviewPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
Constructor Detail |
---|
public TasksProposalPersistenceImpl()
Method Detail |
---|
public void cacheResult(TasksProposal tasksProposal)
cacheResult
in interface TasksProposalPersistence
tasksProposal
- the tasks proposal to cachepublic void cacheResult(List<TasksProposal> tasksProposals)
cacheResult
in interface TasksProposalPersistence
tasksProposals
- the tasks proposals to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<TasksProposal>
clearCache
in class BasePersistenceImpl<TasksProposal>
public void clearCache(TasksProposal tasksProposal)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<TasksProposal>
clearCache
in class BasePersistenceImpl<TasksProposal>
tasksProposal
- the instance of this model to clear the cache forpublic TasksProposal create(long proposalId)
create
in interface TasksProposalPersistence
proposalId
- the primary key for the new tasks proposal
public TasksProposal remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<TasksProposal>
remove
in class BasePersistenceImpl<TasksProposal>
primaryKey
- the primary key of the tasks proposal to remove
NoSuchModelException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksProposal remove(long proposalId) throws NoSuchProposalException, SystemException
remove
in interface TasksProposalPersistence
proposalId
- the primary key of the tasks proposal to remove
NoSuchProposalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksProposal removeImpl(TasksProposal tasksProposal) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<TasksProposal>
tasksProposal
- the model instance to remove
SystemException
- if a system exception occurredpublic TasksProposal updateImpl(TasksProposal tasksProposal, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface TasksProposalPersistence
updateImpl
in class BasePersistenceImpl<TasksProposal>
tasksProposal
- 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 TasksProposal toUnwrappedModel(TasksProposal tasksProposal)
public TasksProposal findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<TasksProposal>
findByPrimaryKey
in class BasePersistenceImpl<TasksProposal>
primaryKey
- the primary key of the tasks proposal to find
NoSuchModelException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksProposal findByPrimaryKey(long proposalId) throws NoSuchProposalException, SystemException
NoSuchProposalException
if it could not be found.
findByPrimaryKey
in interface TasksProposalPersistence
proposalId
- the primary key of the tasks proposal to find
NoSuchProposalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksProposal fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<TasksProposal>
fetchByPrimaryKey
in class BasePersistenceImpl<TasksProposal>
primaryKey
- the primary key of the tasks proposal to find
null
if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksProposal fetchByPrimaryKey(long proposalId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface TasksProposalPersistence
proposalId
- the primary key of the tasks proposal to find
null
if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredpublic List<TasksProposal> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<TasksProposal> findByGroupId(long groupId, 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.
findByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksProposal> findByGroupId(long groupId, 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.
findByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksProposal findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByGroupId_First
in interface TasksProposalPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByGroupId_Last
in interface TasksProposalPersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal[] findByGroupId_PrevAndNext(long proposalId, long groupId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByGroupId_PrevAndNext
in interface TasksProposalPersistence
proposalId
- the primary key of the current tasks proposalgroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksProposal getByGroupId_PrevAndNext(Session session, TasksProposal tasksProposal, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<TasksProposal> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<TasksProposal> filterFindByGroupId(long groupId, 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.
filterFindByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksProposal> filterFindByGroupId(long groupId, 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.
filterFindByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<TasksProposal> findByG_U(long groupId, long userId) throws SystemException
findByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic List<TasksProposal> findByG_U(long groupId, long userId, 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.
findByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksProposal> findByG_U(long groupId, long userId, 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.
findByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksProposal findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByG_U_First
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByG_U_Last
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal[] findByG_U_PrevAndNext(long proposalId, long groupId, long userId, OrderByComparator orderByComparator) throws NoSuchProposalException, 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.
findByG_U_PrevAndNext
in interface TasksProposalPersistence
proposalId
- the primary key of the current tasks proposalgroupId
- the group id to search withuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchProposalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksProposal getByG_U_PrevAndNext(Session session, TasksProposal tasksProposal, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
public List<TasksProposal> filterFindByG_U(long groupId, long userId) throws SystemException
filterFindByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic List<TasksProposal> filterFindByG_U(long groupId, long userId, 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.
filterFindByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksProposal> filterFindByG_U(long groupId, long userId, 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.
filterFindByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search withstart
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksProposal findByC_C(long classNameId, String classPK) throws NoSuchProposalException, SystemException
NoSuchProposalException
if it could not be found.
findByC_C
in interface TasksProposalPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
NoSuchProposalException
- if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal fetchByC_C(long classNameId, String classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByC_C
in interface TasksProposalPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
null
if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic TasksProposal fetchByC_C(long classNameId, String classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByC_C
in interface TasksProposalPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
null
if a matching tasks proposal could not be found
SystemException
- if a system exception occurredpublic List<TasksProposal> findAll() throws SystemException
findAll
in interface TasksProposalPersistence
SystemException
- if a system exception occurredpublic List<TasksProposal> 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 TasksProposalPersistence
start
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksProposal> 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 TasksProposalPersistence
start
- the lower bound of the range of tasks proposals to returnend
- the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic void removeByG_U(long groupId, long userId) throws SystemException
removeByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByC_C(long classNameId, String classPK) throws NoSuchProposalException, SystemException
removeByC_C
in interface TasksProposalPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurred
NoSuchProposalException
public void removeAll() throws SystemException
removeAll
in interface TasksProposalPersistence
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface TasksProposalPersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByG_U(long groupId, long userId) throws SystemException
countByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_U(long groupId, long userId) throws SystemException
filterCountByG_U
in interface TasksProposalPersistence
groupId
- the group id to search withuserId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByC_C(long classNameId, String classPK) throws SystemException
countByC_C
in interface TasksProposalPersistence
classNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface TasksProposalPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |