com.liferay.portlet.blogs.service
Class BlogsEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil
public class BlogsEntryLocalServiceUtil
- 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
BlogsEntryLocalService
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:
BlogsEntryLocalService
- Generated:
Method Summary |
static BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
|
static BlogsEntry |
addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
static void |
addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static BlogsEntry |
createBlogsEntry(long entryId)
|
static void |
deleteBlogsEntry(BlogsEntry blogsEntry)
|
static void |
deleteBlogsEntry(long entryId)
|
static void |
deleteEntries(long groupId)
|
static void |
deleteEntry(BlogsEntry entry)
|
static void |
deleteEntry(long entryId)
|
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 java.util.List<BlogsEntry> |
getBlogsEntries(int start,
int end)
|
static int |
getBlogsEntriesCount()
|
static BlogsEntry |
getBlogsEntry(long entryId)
|
static java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end)
|
static java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getCompanyEntriesCount(long companyId,
int status)
|
static BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
static BlogsEntry |
getEntry(long entryId)
|
static BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
|
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupEntriesCount(long groupId,
int status)
|
static java.util.List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
|
static java.util.List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupUserEntriesCount(long groupId,
long userId,
int status)
|
static java.util.List<BlogsEntry> |
getNoAssetEntries()
|
static java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int status,
int start,
int end)
|
static int |
getOrganizationEntriesCount(long organizationId,
int status)
|
static BlogsEntryLocalService |
getService()
|
void |
setService(BlogsEntryLocalService service)
|
static void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
static BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
|
static BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
|
static BlogsEntry |
updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
|
static void |
updateEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static BlogsEntry |
updateWorkflowStatus(long userId,
long entryId,
java.lang.String[] trackbacks,
boolean pingOldTrackbaks,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsEntryLocalServiceUtil
public BlogsEntryLocalServiceUtil()
addBlogsEntry
public static BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createBlogsEntry
public static BlogsEntry createBlogsEntry(long entryId)
deleteBlogsEntry
public static void deleteBlogsEntry(long entryId)
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
deleteBlogsEntry
public static void deleteBlogsEntry(BlogsEntry blogsEntry)
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
getBlogsEntry
public static BlogsEntry getBlogsEntry(long entryId)
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
getBlogsEntries
public static java.util.List<BlogsEntry> getBlogsEntries(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getBlogsEntriesCount
public static int getBlogsEntriesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBlogsEntry
public static BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBlogsEntry
public static BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addEntry
public static BlogsEntry addEntry(java.lang.String uuid,
long userId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
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
addEntryResources
public static void addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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
addEntryResources
public static void addEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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
addEntryResources
public static void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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
addEntryResources
public static void addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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
deleteEntries
public static void deleteEntries(long groupId)
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
deleteEntry
public static void deleteEntry(BlogsEntry entry)
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
deleteEntry
public static void deleteEntry(long entryId)
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
getCompanyEntries
public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntries
public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntriesPrevAndNext
public static BlogsEntry[] getEntriesPrevAndNext(long entryId)
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
getEntry
public static BlogsEntry getEntry(long entryId)
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
getEntry
public static BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
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
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries
public static java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntries
public static java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupUserEntriesCount
public static int getGroupUserEntriesCount(long groupId,
long userId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getNoAssetEntries
public static java.util.List<BlogsEntry> getNoAssetEntries()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getOrganizationEntries
public static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getOrganizationEntriesCount
public static int getOrganizationEntriesCount(long organizationId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAsset
public static void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
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
updateEntry
public static BlogsEntry updateEntry(long userId,
long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
ServiceContext serviceContext)
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
updateEntryResources
public static void updateEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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
updateWorkflowStatus
public static BlogsEntry updateWorkflowStatus(long userId,
long entryId,
java.lang.String[] trackbacks,
boolean pingOldTrackbaks,
ServiceContext serviceContext)
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 BlogsEntryLocalService getService()
setService
public void setService(BlogsEntryLocalService service)