|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.blogs.service.BlogsEntryLocalServiceWrapper
public class BlogsEntryLocalServiceWrapper
This class is a wrapper for BlogsEntryLocalService.
BlogsEntryLocalService| Constructor Summary | |
|---|---|
BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
|
|
| Method Summary | |
|---|---|
BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database. |
BlogsEntry |
addEntry(long userId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
|
void |
addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long entryId,
String[] communityPermissions,
String[] guestPermissions)
|
BlogsEntry |
createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key. |
void |
deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database. |
void |
deleteBlogsEntry(long entryId)
Deletes the blogs entry with the primary key from the database. |
void |
deleteEntries(long groupId)
|
void |
deleteEntry(BlogsEntry entry)
|
void |
deleteEntry(long entryId)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Gets a range of all the blogs entries. |
int |
getBlogsEntriesCount()
Gets the number of blogs entries. |
BlogsEntry |
getBlogsEntry(long entryId)
Gets the blogs entry with the primary key. |
BlogsEntry |
getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Gets the blogs entry with the UUID and group id. |
List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getCompanyEntries(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getCompanyEntriesCount(long companyId,
int status)
|
BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupEntriesCount(long groupId,
int status)
|
List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupUserEntriesCount(long groupId,
long userId,
int status)
|
List<BlogsEntry> |
getNoAssetEntries()
|
List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int status,
int start,
int end)
|
int |
getOrganizationEntriesCount(long organizationId,
int status)
|
BlogsEntryLocalService |
getWrappedBlogsEntryLocalService()
|
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames)
|
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database. |
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
Updates the blogs entry in the database. |
BlogsEntry |
updateEntry(long userId,
long entryId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
|
void |
updateEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
|
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 BlogsEntryLocalServiceWrapper(BlogsEntryLocalService blogsEntryLocalService)
| Method Detail |
|---|
public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
addBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry to add
SystemException - if a system exception occurredpublic BlogsEntry createBlogsEntry(long entryId)
createBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key for the new blogs entry
public void deleteBlogsEntry(long entryId)
throws PortalException,
SystemException
deleteBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key of the blogs entry to delete
PortalException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred
public void deleteBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
deleteBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry to delete
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface BlogsEntryLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public 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 in interface BlogsEntryLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)
SystemException - if a system exception occurred
public 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 in interface BlogsEntryLocalServicedynamicQuery - the dynamic query to search withstart - the lower bound of the range of model instances to returnend - the upper bound of the range of model instances to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface BlogsEntryLocalServicedynamicQuery - the dynamic query to search with
SystemException - if a system exception occurred
public BlogsEntry getBlogsEntry(long entryId)
throws PortalException,
SystemException
getBlogsEntry in interface BlogsEntryLocalServiceentryId - the primary key of the blogs entry to get
PortalException - if a blogs entry with the primary key could not be found
SystemException - if a system exception occurred
public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalServiceuuid - the UUID of blogs entry to getgroupId - the group id of the blogs entry to get
PortalException - if a blogs entry with the UUID and group id could not be found
SystemException - if a system exception occurred
public 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.
getBlogsEntries in interface BlogsEntryLocalServicestart - the lower bound of the range of blogs entries to returnend - the upper bound of the range of blogs entries to return (not inclusive)
SystemException - if a system exception occurred
public int getBlogsEntriesCount()
throws SystemException
getBlogsEntriesCount in interface BlogsEntryLocalServiceSystemException - if a system exception occurred
public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
throws SystemException
updateBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry to update
SystemException - if a system exception occurred
public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
throws SystemException
updateBlogsEntry in interface BlogsEntryLocalServiceblogsEntry - the blogs entry to updatemerge - whether to merge the blogs entry with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurred
public BlogsEntry addEntry(long userId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
addEntry in interface BlogsEntryLocalServicePortalException
SystemException
public void addEntryResources(BlogsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalException
SystemException
public void addEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalException
SystemException
public void addEntryResources(long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalException
SystemException
public void addEntryResources(long entryId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addEntryResources in interface BlogsEntryLocalServicePortalException
SystemException
public void deleteEntries(long groupId)
throws PortalException,
SystemException
deleteEntries in interface BlogsEntryLocalServicePortalException
SystemException
public void deleteEntry(BlogsEntry entry)
throws PortalException,
SystemException
deleteEntry in interface BlogsEntryLocalServicePortalException
SystemException
public void deleteEntry(long entryId)
throws PortalException,
SystemException
deleteEntry in interface BlogsEntryLocalServicePortalException
SystemException
public List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end)
throws SystemException
getCompanyEntries in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getCompanyEntries(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getCompanyEntries in interface BlogsEntryLocalServiceSystemException
public int getCompanyEntriesCount(long companyId,
int status)
throws SystemException
getCompanyEntriesCount in interface BlogsEntryLocalServiceSystemException
public BlogsEntry[] getEntriesPrevAndNext(long entryId)
throws PortalException,
SystemException
getEntriesPrevAndNext in interface BlogsEntryLocalServicePortalException
SystemException
public BlogsEntry getEntry(long entryId)
throws PortalException,
SystemException
getEntry in interface BlogsEntryLocalServicePortalException
SystemException
public BlogsEntry getEntry(long groupId,
String urlTitle)
throws PortalException,
SystemException
getEntry in interface BlogsEntryLocalServicePortalException
SystemException
public List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end)
throws SystemException
getGroupEntries in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getGroupEntries in interface BlogsEntryLocalServiceSystemException
public int getGroupEntriesCount(long groupId,
int status)
throws SystemException
getGroupEntriesCount in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getGroupsEntries(long companyId,
long groupId,
int status,
int start,
int end)
throws SystemException
getGroupsEntries in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end)
throws SystemException
getGroupUserEntries in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getGroupUserEntries(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
getGroupUserEntries in interface BlogsEntryLocalServiceSystemException
public int getGroupUserEntriesCount(long groupId,
long userId,
int status)
throws SystemException
getGroupUserEntriesCount in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getNoAssetEntries()
throws SystemException
getNoAssetEntries in interface BlogsEntryLocalServiceSystemException
public List<BlogsEntry> getOrganizationEntries(long organizationId,
int status,
int start,
int end)
throws SystemException
getOrganizationEntries in interface BlogsEntryLocalServiceSystemException
public int getOrganizationEntriesCount(long organizationId,
int status)
throws SystemException
getOrganizationEntriesCount in interface BlogsEntryLocalServiceSystemException
public void updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
updateAsset in interface BlogsEntryLocalServicePortalException
SystemException
public BlogsEntry updateEntry(long userId,
long entryId,
String title,
String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean allowPingbacks,
boolean allowTrackbacks,
String[] trackbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateEntry in interface BlogsEntryLocalServicePortalException
SystemException
public void updateEntryResources(BlogsEntry entry,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
updateEntryResources in interface BlogsEntryLocalServicePortalException
SystemException
public BlogsEntry updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface BlogsEntryLocalServicePortalException
SystemExceptionpublic BlogsEntryLocalService getWrappedBlogsEntryLocalService()
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||