com.liferay.portlet.announcements.service
Class AnnouncementsFlagLocalServiceUtil
java.lang.Object
com.liferay.portlet.announcements.service.AnnouncementsFlagLocalServiceUtil
public class AnnouncementsFlagLocalServiceUtil
- 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
AnnouncementsFlagLocalService
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:
AnnouncementsFlagLocalService
- Generated:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnouncementsFlagLocalServiceUtil
public AnnouncementsFlagLocalServiceUtil()
addAnnouncementsFlag
public static AnnouncementsFlag addAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createAnnouncementsFlag
public static AnnouncementsFlag createAnnouncementsFlag(long flagId)
deleteAnnouncementsFlag
public static void deleteAnnouncementsFlag(long flagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteAnnouncementsFlag
public static void deleteAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAnnouncementsFlag
public static AnnouncementsFlag getAnnouncementsFlag(long flagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getAnnouncementsFlags
public static java.util.List<AnnouncementsFlag> getAnnouncementsFlags(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAnnouncementsFlagsCount
public static int getAnnouncementsFlagsCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAnnouncementsFlag
public static AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAnnouncementsFlag
public static AnnouncementsFlag updateAnnouncementsFlag(AnnouncementsFlag announcementsFlag,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addFlag
public static AnnouncementsFlag addFlag(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteFlag
public static void deleteFlag(long flagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFlags
public static void deleteFlags(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFlag
public static AnnouncementsFlag getFlag(long userId,
long entryId,
int value)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static AnnouncementsFlagLocalService getService()
setService
public void setService(AnnouncementsFlagLocalService service)