com.liferay.portlet.tasks.service
Class TasksProposalServiceUtil
java.lang.Object
com.liferay.portlet.tasks.service.TasksProposalServiceUtil
public class TasksProposalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.tasks.service.TasksProposalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
TasksProposalService
Method Summary |
static TasksProposal |
addProposal(long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static TasksProposal |
addProposal(long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
deleteProposal(long proposalId)
|
static TasksProposalService |
getService()
|
void |
setService(TasksProposalService service)
|
static TasksProposal |
updateProposal(long proposalId,
java.lang.String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksProposalServiceUtil
public TasksProposalServiceUtil()
addProposal
public static TasksProposal addProposal(long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
addProposal
public static TasksProposal addProposal(long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteProposal
public static void deleteProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
updateProposal
public static TasksProposal updateProposal(long proposalId,
java.lang.String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getService
public static TasksProposalService getService()
setService
public void setService(TasksProposalService service)