|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil
public class BlogsEntryLocalServiceUtil
The utility for the blogs entry local service. This utility wraps BlogsEntryLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
BlogsEntryLocalService,
BlogsEntryLocalServiceBaseImpl,
BlogsEntryLocalServiceImpl| Constructor Summary | |
|---|---|
BlogsEntryLocalServiceUtil()
|
|
| Method Summary | |
|---|---|
static BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database. |
static BlogsEntry |
addEntry(long userId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
|
static void |
addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
static void |
addEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
static void |
addEntryResources(long entryId,
String[] groupPermissions,
String[] guestPermissions)
|
static void |
checkEntries()
|
static BlogsEntry |
createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key. |
static BlogsEntry |
deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database. |
static BlogsEntry |
deleteBlogsEntry(long entryId)
Deletes the blogs entry with the primary key from the database. |
static void |
deleteEntries(long groupId)
|
static void |
deleteEntry(BlogsEntry entry)
|
static void |
deleteEntry(long entryId)
|
static DynamicQuery |
dynamicQuery()
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
static BlogsEntry |
fetchBlogsEntry(long entryId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Returns a range of all the blogs entries. |
static int |
getBlogsEntriesCount()
Returns the number of blogs entries. |
static BlogsEntry |
getBlogsEntry(long entryId)
Returns the blogs entry with the primary key. |
static BlogsEntry |
getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry with the UUID in the group. |
static List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end)
Deprecated. getCompanyEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. getCompanyEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
|
static int |
getCompanyEntriesCount(long companyId,
Date displayDate,
int status)
Deprecated. getCompanyEntriesCount(long, Date, QueryDefinition) |
static int |
getCompanyEntriesCount(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
|
static BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
static BlogsEntry |
getEntry(long entryId)
|
static BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
static List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
Deprecated. getGroupEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. getGroupEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
static List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
Deprecated. getGroupEntries(long, QueryDefinition) |
static List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. getGroupEntries(long, QueryDefinition) |
static List<BlogsEntry> |
getGroupEntries(long groupId,
QueryDefinition queryDefinition)
|
static int |
getGroupEntriesCount(long groupId,
Date displayDate,
int status)
Deprecated. getGroupEntriesCount(long, Date, QueryDefinition) |
static int |
getGroupEntriesCount(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
static int |
getGroupEntriesCount(long groupId,
int status)
Deprecated. getGroupEntriesCount(long, QueryDefinition) |
static int |
getGroupEntriesCount(long groupId,
QueryDefinition queryDefinition)
|
static List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int start,
int end)
Deprecated. getGroupsEntries(long, long, Date, QueryDefinition) |
static List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
static List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end)
Deprecated. getGroupUserEntries(long, long, Date,
QueryDefinition) |
static List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. getGroupUserEntries(long, long, Date,
QueryDefinition) |
static List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
|
static int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
int status)
Deprecated. getGroupUserEntriesCount(long, long, Date,
QueryDefinition) |
static int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
|
static List<BlogsEntry> |
getNoAssetEntries()
|
static List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end)
Deprecated. getOrganizationEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. getOrganizationEntries(long, Date, QueryDefinition) |
static List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
|
static int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
int status)
Deprecated. getOrganizationEntriesCount(long, Date,
QueryDefinition) |
static int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
|
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
static BlogsEntryLocalService |
getService()
|
static void |
moveEntriesToTrash(long groupId,
long userId)
|
static BlogsEntry |
moveEntryToTrash(long userId,
BlogsEntry entry)
|
static BlogsEntry |
moveEntryToTrash(long userId,
long entryId)
|
static void |
restoreEntryFromTrash(long userId,
long entryId)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(BlogsEntryLocalService service)
Deprecated. |
static void |
subscribe(long userId,
long groupId)
|
static void |
unsubscribe(long userId,
long groupId)
|
static void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
static BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database or adds it if it does not yet exist. |
static BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
|
static void |
updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
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 |
| Constructor Detail |
|---|
public BlogsEntryLocalServiceUtil()
| Method Detail |
|---|
public static BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
blogsEntry - the blogs entry
SystemException - if a system exception occurredpublic static BlogsEntry createBlogsEntry(long entryId)
entryId - the primary key for the new blogs entry
public static BlogsEntry deleteBlogsEntry(long entryId)
throws PortalException,
SystemException
entryId - the primary key of the blogs entry
PortalException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred
public static BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
blogsEntry - the blogs entry
SystemException - if a system exception occurredpublic static DynamicQuery dynamicQuery()
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
public static BlogsEntry fetchBlogsEntry(long entryId)
throws SystemException
SystemException
public static BlogsEntry getBlogsEntry(long entryId)
throws PortalException,
SystemException
entryId - the primary key of the blogs entry
PortalException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred
public static PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
uuid - the UUID of blogs entrygroupId - the group id of the blogs entry
PortalException - if a blogs entry with the UUID in the group could not be found
SystemException - if a system exception occurred
public static List<BlogsEntry> getBlogsEntries(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of blogs entriesend - the upper bound of the range of blogs entries (not inclusive)
SystemException - if a system exception occurred
public static int getBlogsEntriesCount()
throws SystemException
SystemException - if a system exception occurred
public static BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
blogsEntry - the blogs entry
SystemException - if a system exception occurredpublic static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
public static BlogsEntry addEntry(long userId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void addEntryResources(long entryId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static void checkEntries()
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteEntries(long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteEntry(BlogsEntry entry)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteEntry(long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
getCompanyEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getCompanyEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getCompanyEntries(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static int getCompanyEntriesCount(long companyId,
Date displayDate,
int status)
throws SystemException
getCompanyEntriesCount(long, Date, QueryDefinition)
SystemException
public static int getCompanyEntriesCount(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry getEntry(long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry getEntry(long groupId,
String urlTitle)
throws PortalException,
SystemException
PortalException
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
getGroupEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getGroupEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws SystemException
getGroupEntries(long, QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getGroupEntries(long, QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupEntries(long groupId,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static int getGroupEntriesCount(long groupId,
Date displayDate,
int status)
throws SystemException
getGroupEntriesCount(long, Date, QueryDefinition)
SystemException
public static int getGroupEntriesCount(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static int getGroupEntriesCount(long groupId,
int status)
throws SystemException
getGroupEntriesCount(long, QueryDefinition)
SystemException
public static int getGroupEntriesCount(long groupId,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
getGroupsEntries(long, long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
getGroupUserEntries(long, long, Date,
QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getGroupUserEntries(long, long, Date,
QueryDefinition)
SystemException
public static List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static int getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
int status)
throws SystemException
getGroupUserEntriesCount(long, long, Date,
QueryDefinition)
SystemException
public static int getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static List<BlogsEntry> getNoAssetEntries()
throws SystemException
SystemException
public static List<BlogsEntry> getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end)
throws SystemException
getOrganizationEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getOrganizationEntries(long, Date, QueryDefinition)
SystemException
public static List<BlogsEntry> getOrganizationEntries(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static int getOrganizationEntriesCount(long organizationId,
Date displayDate,
int status)
throws SystemException
getOrganizationEntriesCount(long, Date,
QueryDefinition)
SystemException
public static int getOrganizationEntriesCount(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
throws SystemException
SystemException
public static void moveEntriesToTrash(long groupId,
long userId)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry moveEntryToTrash(long userId,
BlogsEntry entry)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry moveEntryToTrash(long userId,
long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void restoreEntryFromTrash(long userId,
long entryId)
throws PortalException,
SystemException
PortalException
SystemException
public static void subscribe(long userId,
long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static void unsubscribe(long userId,
long groupId)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry updateEntry(long userId,
long entryId,
String title,
String description,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
boolean smallImage,
String smallImageURL,
String smallImageFileName,
InputStream smallImageInputStream,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
PortalException
SystemException
public static BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemExceptionpublic static BlogsEntryLocalService getService()
public void setService(BlogsEntryLocalService service)
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||