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 |
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 java.util.List<BlogsEntry> |
getBlogsEntries(int start,
int end)
|
static int |
getBlogsEntriesCount()
|
static BlogsEntry |
getBlogsEntry(long entryId)
|
static BlogsEntry |
getBlogsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
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,
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,
OrderByComparator obc)
|
static int |
getGroupEntriesCount(long groupId,
int status)
|
static java.util.List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
|
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,
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 |
updateStatus(long userId,
long entryId,
int status,
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 SystemException
- Throws:
SystemException
createBlogsEntry
public static BlogsEntry createBlogsEntry(long entryId)
deleteBlogsEntry
public static void deleteBlogsEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteBlogsEntry
public static void deleteBlogsEntry(BlogsEntry blogsEntry)
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
getBlogsEntry
public static BlogsEntry getBlogsEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getBlogsEntryByUuidAndGroupId
public static BlogsEntry getBlogsEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getBlogsEntries
public static java.util.List<BlogsEntry> getBlogsEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getBlogsEntriesCount
public static int getBlogsEntriesCount()
throws SystemException
- Throws:
SystemException
updateBlogsEntry
public static BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
- Throws:
SystemException
updateBlogsEntry
public static BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public static void addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public static void addEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public static void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEntryResources
public static void addEntryResources(long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntries
public static void deleteEntries(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public static void deleteEntry(BlogsEntry entry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public static void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEntries
public static java.util.List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getCompanyEntriesCount
public static int getCompanyEntriesCount(long companyId,
int status)
throws SystemException
- Throws:
SystemException
getEntriesPrevAndNext
public static BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public static BlogsEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public static BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntries
public static java.util.List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public static int getGroupEntriesCount(long groupId,
int status)
throws SystemException
- Throws:
SystemException
getGroupsEntries
public static java.util.List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupUserEntries
public static java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupUserEntries
public static java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getGroupUserEntriesCount
public static int getGroupUserEntriesCount(long groupId,
long userId,
int status)
throws SystemException
- Throws:
SystemException
getNoAssetEntries
public static java.util.List<BlogsEntry> getNoAssetEntries()
throws SystemException
- Throws:
SystemException
getOrganizationEntries
public static java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getOrganizationEntriesCount
public static int getOrganizationEntriesCount(long organizationId,
int status)
throws SystemException
- Throws:
SystemException
updateAsset
public static void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws PortalException,
SystemException
- Throws:
PortalException
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntryResources
public static void updateEntryResources(BlogsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public static BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static BlogsEntryLocalService getService()
setService
public void setService(BlogsEntryLocalService service)