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
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
- Generated:
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,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
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 |
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 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 JournalFeed |
getJournalFeedByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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,
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,
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,
ServiceContext serviceContext)
|
static JournalFeed |
updateJournalFeed(JournalFeed journalFeed)
|
static JournalFeed |
updateJournalFeed(JournalFeed journalFeed,
boolean merge)
|
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 SystemException
- Throws:
SystemException
createJournalFeed
public static JournalFeed createJournalFeed(long id)
deleteJournalFeed
public static void deleteJournalFeed(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteJournalFeed
public static void deleteJournalFeed(JournalFeed journalFeed)
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
getJournalFeed
public static JournalFeed getJournalFeed(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalFeedByUuidAndGroupId
public static JournalFeed getJournalFeedByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalFeeds
public static java.util.List<JournalFeed> getJournalFeeds(int start,
int end)
throws SystemException
- Throws:
SystemException
getJournalFeedsCount
public static int getJournalFeedsCount()
throws SystemException
- Throws:
SystemException
updateJournalFeed
public static JournalFeed updateJournalFeed(JournalFeed journalFeed)
throws SystemException
- Throws:
SystemException
updateJournalFeed
public static JournalFeed updateJournalFeed(JournalFeed journalFeed,
boolean merge)
throws SystemException
- Throws:
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public static void addFeedResources(long feedId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public static void addFeedResources(JournalFeed feed,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public static void addFeedResources(long feedId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public static void addFeedResources(JournalFeed feed,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
public static void deleteFeed(long feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
public static void deleteFeed(long groupId,
java.lang.String feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
public static void deleteFeed(JournalFeed feed)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeed
public static JournalFeed getFeed(long feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeed
public static JournalFeed getFeed(long groupId,
java.lang.String feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds()
throws SystemException
- Throws:
SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds(long groupId)
throws SystemException
- Throws:
SystemException
getFeeds
public static java.util.List<JournalFeed> getFeeds(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFeedsCount
public static int getFeedsCount(long groupId)
throws SystemException
- Throws:
SystemException
search
public static java.util.List<JournalFeed> search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
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,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws SystemException
- Throws:
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 SystemException
- Throws:
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static JournalFeedLocalService getService()
setService
public void setService(JournalFeedLocalService service)