com.liferay.portlet.tasks.service
Class TasksProposalLocalServiceUtil
java.lang.Object
com.liferay.portlet.tasks.service.TasksProposalLocalServiceUtil
public class TasksProposalLocalServiceUtil
- 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
TasksProposalLocalService
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:
TasksProposalLocalService
- Generated:
Method Summary |
static TasksProposal |
addProposal(long userId,
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 userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static TasksProposal |
addProposal(long userId,
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 |
addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addProposalResources(long proposalId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addProposalResources(TasksProposal proposal,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static TasksProposal |
addTasksProposal(TasksProposal tasksProposal)
|
static TasksProposal |
createTasksProposal(long proposalId)
|
static void |
deleteProposal(long proposalId)
|
static void |
deleteProposal(long classNameId,
java.lang.String classPK)
|
static void |
deleteProposal(java.lang.String className,
java.lang.String classPK)
|
static void |
deleteProposal(TasksProposal proposal)
|
static void |
deleteProposals(long groupId)
|
static void |
deleteTasksProposal(long proposalId)
|
static void |
deleteTasksProposal(TasksProposal tasksProposal)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static TasksProposal |
getProposal(long proposalId)
|
static TasksProposal |
getProposal(long classNameId,
java.lang.String classPK)
|
static TasksProposal |
getProposal(java.lang.String className,
java.lang.String classPK)
|
static java.util.List<TasksProposal> |
getProposals(long groupId,
int start,
int end)
|
static int |
getProposalsCount(long groupId)
|
static java.util.List<TasksProposal> |
getReviewProposals(long groupId,
long userId,
int start,
int end)
|
static int |
getReviewProposalsCount(long groupId,
long userId)
|
static TasksProposalLocalService |
getService()
|
static TasksProposal |
getTasksProposal(long proposalId)
|
static java.util.List<TasksProposal> |
getTasksProposals(int start,
int end)
|
static int |
getTasksProposalsCount()
|
static java.util.List<TasksProposal> |
getUserProposals(long groupId,
long userId,
int start,
int end)
|
static int |
getUserProposalsCount(long groupId,
long userId)
|
void |
setService(TasksProposalLocalService service)
|
static TasksProposal |
updateProposal(long userId,
long proposalId,
java.lang.String description,
int dueDateMonth,
int dueDateDay,
int dueDateYear,
int dueDateHour,
int dueDateMinute)
|
static TasksProposal |
updateTasksProposal(TasksProposal tasksProposal)
|
static TasksProposal |
updateTasksProposal(TasksProposal tasksProposal,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksProposalLocalServiceUtil
public TasksProposalLocalServiceUtil()
addTasksProposal
public static TasksProposal addTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTasksProposal
public static TasksProposal createTasksProposal(long proposalId)
deleteTasksProposal
public static void deleteTasksProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTasksProposal
public static void deleteTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksProposal
public static TasksProposal getTasksProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTasksProposals
public static java.util.List<TasksProposal> getTasksProposals(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksProposalsCount
public static int getTasksProposalsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTasksProposal
public static TasksProposal updateTasksProposal(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTasksProposal
public static TasksProposal updateTasksProposal(TasksProposal tasksProposal,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addProposal
public static TasksProposal addProposal(long userId,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposal
public static TasksProposal addProposal(long userId,
long groupId,
java.lang.String className,
java.lang.String classPK,
java.lang.String name,
java.lang.String description,
long reviewUserId,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposal
public static TasksProposal addProposal(long userId,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
public static void addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
public static void addProposalResources(long proposalId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
public static void addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProposalResources
public static void addProposalResources(TasksProposal proposal,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
public static void deleteProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
public static void deleteProposal(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
public static void deleteProposal(java.lang.String className,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposal
public static void deleteProposal(TasksProposal proposal)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteProposals
public static void deleteProposals(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposal
public static TasksProposal getProposal(long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposal
public static TasksProposal getProposal(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposal
public static TasksProposal getProposal(java.lang.String className,
java.lang.String classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getProposals
public static java.util.List<TasksProposal> getProposals(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProposalsCount
public static int getProposalsCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviewProposals
public static java.util.List<TasksProposal> getReviewProposals(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviewProposalsCount
public static int getReviewProposalsCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserProposals
public static java.util.List<TasksProposal> getUserProposals(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserProposalsCount
public static int getUserProposalsCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateProposal
public static TasksProposal updateProposal(long userId,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static TasksProposalLocalService getService()
setService
public void setService(TasksProposalLocalService service)