|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 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)
|
void |
addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long entryId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
checkEntries()
|
BlogsEntry |
createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key. |
BlogsEntry |
deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database. |
BlogsEntry |
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)
|
DynamicQuery |
dynamicQuery()
|
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)
Returns the number of rows that match the dynamic query. |
BlogsEntry |
fetchBlogsEntry(long entryId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Returns a range of all the blogs entries. |
int |
getBlogsEntriesCount()
Returns the number of blogs entries. |
BlogsEntry |
getBlogsEntry(long entryId)
Returns the blogs entry with the primary key. |
BlogsEntry |
getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry with the UUID in the group. |
List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getCompanyEntriesCount(long companyId,
Date displayDate,
int status)
|
BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
BlogsEntry |
getEntry(long entryId)
|
BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
|
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,
Date displayDate,
int status)
|
int |
getGroupEntriesCount(long groupId,
int status)
|
List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
int status)
|
List<BlogsEntry> |
getNoAssetEntries()
|
List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end)
|
List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
int status)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
BlogsEntryLocalService |
getWrappedBlogsEntryLocalService()
Deprecated. Renamed to getWrappedService() |
BlogsEntryLocalService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.blogs.service.BlogsEntryLocalService) |
void |
setWrappedService(BlogsEntryLocalService blogsEntryLocalService)
|
void |
subscribe(long userId,
long groupId)
|
void |
unsubscribe(long userId,
long groupId)
|
void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database or adds it if it does not yet exist. |
BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry,
boolean merge)
Updates the blogs entry in the database or adds it if it does not yet exist. |
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)
|
void |
updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
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 BlogsEntryLocalService
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredpublic BlogsEntry createBlogsEntry(long entryId)
createBlogsEntry
in interface BlogsEntryLocalService
entryId
- the primary key for the new blogs entry
public BlogsEntry deleteBlogsEntry(long entryId) throws PortalException, SystemException
deleteBlogsEntry
in interface BlogsEntryLocalService
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 occurredpublic BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry) throws SystemException
deleteBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface BlogsEntryLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface BlogsEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 BlogsEntryLocalService
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 occurredpublic 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 BlogsEntryLocalService
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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface BlogsEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic BlogsEntry fetchBlogsEntry(long entryId) throws SystemException
fetchBlogsEntry
in interface BlogsEntryLocalService
SystemException
public BlogsEntry getBlogsEntry(long entryId) throws PortalException, SystemException
getBlogsEntry
in interface BlogsEntryLocalService
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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface BlogsEntryLocalService
PortalException
SystemException
public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getBlogsEntryByUuidAndGroupId
in interface BlogsEntryLocalService
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 occurredpublic 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 BlogsEntryLocalService
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 occurredpublic int getBlogsEntriesCount() throws SystemException
getBlogsEntriesCount
in interface BlogsEntryLocalService
SystemException
- if a system exception occurredpublic BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry) throws SystemException
updateBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredpublic BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry, boolean merge) throws SystemException
updateBlogsEntry
in interface BlogsEntryLocalService
blogsEntry
- the blogs entrymerge
- 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 occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface BlogsEntryLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface BlogsEntryLocalService
beanIdentifier
- the Spring bean ID for this beanpublic 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
addEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public void addEntryResources(BlogsEntry entry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addEntryResources
in interface BlogsEntryLocalService
PortalException
SystemException
public void addEntryResources(BlogsEntry entry, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addEntryResources
in interface BlogsEntryLocalService
PortalException
SystemException
public void addEntryResources(long entryId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addEntryResources
in interface BlogsEntryLocalService
PortalException
SystemException
public void addEntryResources(long entryId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addEntryResources
in interface BlogsEntryLocalService
PortalException
SystemException
public void checkEntries() throws PortalException, SystemException
checkEntries
in interface BlogsEntryLocalService
PortalException
SystemException
public void deleteEntries(long groupId) throws PortalException, SystemException
deleteEntries
in interface BlogsEntryLocalService
PortalException
SystemException
public void deleteEntry(BlogsEntry entry) throws PortalException, SystemException
deleteEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public void deleteEntry(long entryId) throws PortalException, SystemException
deleteEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int start, int end) throws SystemException
getCompanyEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getCompanyEntries
in interface BlogsEntryLocalService
SystemException
public int getCompanyEntriesCount(long companyId, Date displayDate, int status) throws SystemException
getCompanyEntriesCount
in interface BlogsEntryLocalService
SystemException
public BlogsEntry[] getEntriesPrevAndNext(long entryId) throws PortalException, SystemException
getEntriesPrevAndNext
in interface BlogsEntryLocalService
PortalException
SystemException
public BlogsEntry getEntry(long entryId) throws PortalException, SystemException
getEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public BlogsEntry getEntry(long groupId, String urlTitle) throws PortalException, SystemException
getEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end) throws SystemException
getGroupEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end) throws SystemException
getGroupEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries
in interface BlogsEntryLocalService
SystemException
public int getGroupEntriesCount(long groupId, Date displayDate, int status) throws SystemException
getGroupEntriesCount
in interface BlogsEntryLocalService
SystemException
public int getGroupEntriesCount(long groupId, int status) throws SystemException
getGroupEntriesCount
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int start, int end) throws SystemException
getGroupsEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, int status, int start, int end) throws SystemException
getGroupUserEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupUserEntries
in interface BlogsEntryLocalService
SystemException
public int getGroupUserEntriesCount(long groupId, long userId, Date displayDate, int status) throws SystemException
getGroupUserEntriesCount
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getNoAssetEntries() throws SystemException
getNoAssetEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int start, int end) throws SystemException
getOrganizationEntries
in interface BlogsEntryLocalService
SystemException
public List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getOrganizationEntries
in interface BlogsEntryLocalService
SystemException
public int getOrganizationEntriesCount(long organizationId, Date displayDate, int status) throws SystemException
getOrganizationEntriesCount
in interface BlogsEntryLocalService
SystemException
public void subscribe(long userId, long groupId) throws PortalException, SystemException
subscribe
in interface BlogsEntryLocalService
PortalException
SystemException
public void unsubscribe(long userId, long groupId) throws PortalException, SystemException
unsubscribe
in interface BlogsEntryLocalService
PortalException
SystemException
public void updateAsset(long userId, BlogsEntry entry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
updateAsset
in interface BlogsEntryLocalService
PortalException
SystemException
public 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
updateEntry
in interface BlogsEntryLocalService
PortalException
SystemException
public void updateEntryResources(BlogsEntry entry, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
updateEntryResources
in interface BlogsEntryLocalService
PortalException
SystemException
public BlogsEntry updateStatus(long userId, long entryId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus
in interface BlogsEntryLocalService
PortalException
SystemException
public BlogsEntryLocalService getWrappedBlogsEntryLocalService()
getWrappedService()
public void setWrappedBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService(com.liferay.portlet.blogs.service.BlogsEntryLocalService)
public BlogsEntryLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<BlogsEntryLocalService>
public void setWrappedService(BlogsEntryLocalService blogsEntryLocalService)
setWrappedService
in interface ServiceWrapper<BlogsEntryLocalService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |