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(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(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 SystemException
- Throws:
SystemException
createTasksProposal
public static TasksProposal createTasksProposal(long proposalId)
deleteTasksProposal
public static void deleteTasksProposal(long proposalId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTasksProposal
public static void deleteTasksProposal(TasksProposal tasksProposal)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getTasksProposal
public static TasksProposal getTasksProposal(long proposalId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTasksProposals
public static java.util.List<TasksProposal> getTasksProposals(int start,
int end)
throws SystemException
- Throws:
SystemException
getTasksProposalsCount
public static int getTasksProposalsCount()
throws SystemException
- Throws:
SystemException
updateTasksProposal
public static TasksProposal updateTasksProposal(TasksProposal tasksProposal)
throws SystemException
- Throws:
SystemException
updateTasksProposal
public static TasksProposal updateTasksProposal(TasksProposal tasksProposal,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
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 PortalException,
SystemException
- Throws:
PortalException
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addProposalResources
public static void addProposalResources(long proposalId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProposalResources
public static void addProposalResources(long proposalId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProposalResources
public static void addProposalResources(TasksProposal proposal,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProposalResources
public static void addProposalResources(TasksProposal proposal,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProposal
public static void deleteProposal(long proposalId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProposal
public static void deleteProposal(long classNameId,
java.lang.String classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProposal
public static void deleteProposal(java.lang.String className,
java.lang.String classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProposal
public static void deleteProposal(TasksProposal proposal)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProposals
public static void deleteProposals(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProposal
public static TasksProposal getProposal(long proposalId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProposal
public static TasksProposal getProposal(long classNameId,
java.lang.String classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProposal
public static TasksProposal getProposal(java.lang.String className,
java.lang.String classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getProposals
public static java.util.List<TasksProposal> getProposals(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getProposalsCount
public static int getProposalsCount(long groupId)
throws SystemException
- Throws:
SystemException
getReviewProposals
public static java.util.List<TasksProposal> getReviewProposals(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getReviewProposalsCount
public static int getReviewProposalsCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
getUserProposals
public static java.util.List<TasksProposal> getUserProposals(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUserProposalsCount
public static int getUserProposalsCount(long groupId,
long userId)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static TasksProposalLocalService getService()
setService
public void setService(TasksProposalLocalService service)