com.liferay.portlet.journal.service
Class JournalFeedLocalServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalFeedLocalServiceUtil
public class JournalFeedLocalServiceUtil
- 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.journal.service.JournalFeedLocalService
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:
JournalFeedLocalService
Method Summary |
static JournalFeed |
addFeed(long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static JournalFeed |
addFeed(long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static JournalFeed |
addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static JournalFeed |
addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static JournalFeed |
addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFeedResources(JournalFeed feed,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFeedResources(JournalFeed feed,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFeedResources(long feedId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFeedResources(long feedId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static JournalFeed |
addJournalFeed(JournalFeed journalFeed)
|
static JournalFeed |
createJournalFeed(long id)
|
static void |
deleteFeed(JournalFeed feed)
|
static void |
deleteFeed(long feedId)
|
static void |
deleteFeed(long groupId,
java.lang.String feedId)
|
static void |
deleteJournalFeed(JournalFeed journalFeed)
|
static void |
deleteJournalFeed(long id)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static JournalFeed |
getFeed(long feedId)
|
static JournalFeed |
getFeed(long groupId,
java.lang.String feedId)
|
static java.util.List<JournalFeed> |
getFeeds()
|
static java.util.List<JournalFeed> |
getFeeds(long groupId)
|
static java.util.List<JournalFeed> |
getFeeds(long groupId,
int start,
int end)
|
static int |
getFeedsCount(long groupId)
|
static JournalFeed |
getJournalFeed(long id)
|
static java.util.List<JournalFeed> |
getJournalFeeds(int start,
int end)
|
static int |
getJournalFeedsCount()
|
static JournalFeedLocalService |
getService()
|
static java.util.List<JournalFeed> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalFeed> |
search(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String keywords)
|
static int |
searchCount(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
void |
setService(JournalFeedLocalService service)
|
static JournalFeed |
updateFeed(long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion)
|
static JournalFeed |
updateJournalFeed(JournalFeed journalFeed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalFeedLocalServiceUtil
public JournalFeedLocalServiceUtil()
addJournalFeed
public static JournalFeed addJournalFeed(JournalFeed journalFeed)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createJournalFeed
public static JournalFeed createJournalFeed(long id)
deleteJournalFeed
public static void deleteJournalFeed(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteJournalFeed
public static void deleteJournalFeed(JournalFeed journalFeed)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> 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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalFeed
public static JournalFeed getJournalFeed(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getJournalFeeds
public static java.util.List<JournalFeed> getJournalFeeds(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalFeedsCount
public static int getJournalFeedsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateJournalFeed
public static JournalFeed updateJournalFeed(JournalFeed journalFeed)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addFeed
public static JournalFeed addFeed(long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFeed
public static JournalFeed addFeed(long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
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
addFeed
public static JournalFeed addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFeed
public static JournalFeed addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
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
addFeed
public static JournalFeed addFeed(java.lang.String uuid,
long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion,
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
addFeedResources
public static void addFeedResources(long feedId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFeedResources
public static void addFeedResources(JournalFeed feed,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFeedResources
public static void addFeedResources(long feedId,
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
addFeedResources
public static void addFeedResources(JournalFeed feed,
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
deleteFeed
public static void deleteFeed(long feedId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFeed
public static void deleteFeed(long groupId,
java.lang.String feedId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFeed
public static void deleteFeed(JournalFeed feed)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFeed
public static JournalFeed getFeed(long feedId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFeed
public static JournalFeed getFeed(long groupId,
java.lang.String feedId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFeedsCount
public static int getFeedsCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static java.util.List<JournalFeed> search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static java.util.List<JournalFeed> search(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFeed
public static JournalFeed updateFeed(long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String structureId,
java.lang.String templateId,
java.lang.String rendererTemplateId,
int delta,
java.lang.String orderByCol,
java.lang.String orderByType,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String targetPortletId,
java.lang.String contentField,
java.lang.String feedType,
double feedVersion)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static JournalFeedLocalService getService()
setService
public void setService(JournalFeedLocalService service)