|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface TasksProposalLocalService
The interface for the tasks proposal local service.
Never modify or reference this interface directly. Always use TasksProposalLocalServiceUtil
to access the tasks proposal local service. Add custom service methods to TasksProposalLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
TasksProposalLocalServiceUtil
,
TasksProposalLocalServiceBaseImpl
,
TasksProposalLocalServiceImpl
Method Summary | |
---|---|
TasksProposal |
addProposal(long userId,
long groupId,
String className,
String classPK,
String name,
String description,
long reviewUserId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
TasksProposal |
addProposal(long userId,
long groupId,
String className,
String classPK,
String name,
String description,
long reviewUserId,
Boolean addCommunityPermissions,
Boolean addGuestPermissions,
String[] communityPermissions,
String[] guestPermissions)
|
TasksProposal |
addProposal(long userId,
long groupId,
String className,
String classPK,
String name,
String description,
long reviewUserId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProposalResources(long proposalId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addProposalResources(TasksProposal proposal,
String[] communityPermissions,
String[] guestPermissions)
|
TasksProposal |
addTasksProposal(TasksProposal tasksProposal)
Adds the tasks proposal to the database. |
TasksProposal |
createTasksProposal(long proposalId)
Creates a new tasks proposal with the primary key. |
void |
deleteProposal(long proposalId)
|
void |
deleteProposal(long classNameId,
String classPK)
|
void |
deleteProposal(String className,
String classPK)
|
void |
deleteProposal(TasksProposal proposal)
|
void |
deleteProposals(long groupId)
|
void |
deleteTasksProposal(long proposalId)
Deletes the tasks proposal with the primary key from the database. |
void |
deleteTasksProposal(TasksProposal tasksProposal)
Deletes the tasks proposal from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
TasksProposal |
getProposal(long proposalId)
|
TasksProposal |
getProposal(long classNameId,
String classPK)
|
TasksProposal |
getProposal(String className,
String classPK)
|
List<TasksProposal> |
getProposals(long groupId,
int start,
int end)
|
int |
getProposalsCount(long groupId)
|
List<TasksProposal> |
getReviewProposals(long groupId,
long userId,
int start,
int end)
|
int |
getReviewProposalsCount(long groupId,
long userId)
|
TasksProposal |
getTasksProposal(long proposalId)
Gets the tasks proposal with the primary key. |
List<TasksProposal> |
getTasksProposals(int start,
int end)
Gets a range of all the tasks proposals. |
int |
getTasksProposalsCount()
Gets the number of tasks proposals. |
List<TasksProposal> |
getUserProposals(long groupId,
long userId,
int start,
int end)
|
int |
getUserProposalsCount(long groupId,
long userId)
|
TasksProposal |
updateProposal(long userId,
long proposalId,
String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
|
TasksProposal |
updateTasksProposal(TasksProposal tasksProposal)
Updates the tasks proposal in the database. |
TasksProposal |
updateTasksProposal(TasksProposal tasksProposal,
boolean merge)
Updates the tasks proposal in the database. |
Method Detail |
---|
TasksProposal addTasksProposal(TasksProposal tasksProposal) throws SystemException
tasksProposal
- the tasks proposal to add
SystemException
- if a system exception occurredTasksProposal createTasksProposal(long proposalId)
proposalId
- the primary key for the new tasks proposal
void deleteTasksProposal(long proposalId) throws PortalException, SystemException
proposalId
- the primary key of the tasks proposal to delete
PortalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurredvoid deleteTasksProposal(TasksProposal tasksProposal) throws SystemException
tasksProposal
- the tasks proposal to delete
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) TasksProposal getTasksProposal(long proposalId) throws PortalException, SystemException
proposalId
- the primary key of the tasks proposal to get
PortalException
- if a tasks proposal with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<TasksProposal> getTasksProposals(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.
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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getTasksProposalsCount() throws SystemException
SystemException
- if a system exception occurredTasksProposal updateTasksProposal(TasksProposal tasksProposal) throws SystemException
tasksProposal
- the tasks proposal to update
SystemException
- if a system exception occurredTasksProposal updateTasksProposal(TasksProposal tasksProposal, boolean merge) throws SystemException
tasksProposal
- the tasks proposal to updatemerge
- whether to merge the tasks proposal with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredTasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
TasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, Boolean addCommunityPermissions, Boolean addGuestPermissions, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
TasksProposal addProposal(long userId, long groupId, String className, String classPK, String name, String description, long reviewUserId, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProposalResources(long proposalId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProposalResources(long proposalId, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProposalResources(TasksProposal proposal, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addProposalResources(TasksProposal proposal, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void deleteProposal(long proposalId) throws PortalException, SystemException
PortalException
SystemException
void deleteProposal(long classNameId, String classPK) throws PortalException, SystemException
PortalException
SystemException
void deleteProposal(String className, String classPK) throws PortalException, SystemException
PortalException
SystemException
void deleteProposal(TasksProposal proposal) throws PortalException, SystemException
PortalException
SystemException
void deleteProposals(long groupId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) TasksProposal getProposal(long proposalId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) TasksProposal getProposal(long classNameId, String classPK) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) TasksProposal getProposal(String className, String classPK) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<TasksProposal> getProposals(long groupId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getProposalsCount(long groupId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<TasksProposal> getReviewProposals(long groupId, long userId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getReviewProposalsCount(long groupId, long userId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<TasksProposal> getUserProposals(long groupId, long userId, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getUserProposalsCount(long groupId, long userId) throws SystemException
SystemException
TasksProposal updateProposal(long userId, long proposalId, String description, int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |