|
Liferay 6.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface BlogsEntryLocalService
Provides the local service interface for BlogsEntry. 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.
BlogsEntryLocalServiceUtil
,
BlogsEntryLocalServiceBaseImpl
,
BlogsEntryLocalServiceImpl
Method Summary | |
---|---|
abstract BlogsEntry |
addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database. |
abstract 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)
|
abstract void |
addEntryResources(BlogsEntry entry,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
abstract void |
addEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
|
abstract void |
addEntryResources(long entryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
abstract void |
addEntryResources(long entryId,
String[] groupPermissions,
String[] guestPermissions)
|
abstract void |
checkEntries()
|
abstract BlogsEntry |
createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key. |
abstract BlogsEntry |
deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database. |
abstract BlogsEntry |
deleteBlogsEntry(long entryId)
Deletes the blogs entry with the primary key from the database. |
abstract void |
deleteEntries(long groupId)
|
abstract void |
deleteEntry(BlogsEntry entry)
|
abstract void |
deleteEntry(long entryId)
|
abstract DynamicQuery |
dynamicQuery()
|
abstract List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
abstract List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
abstract 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. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
abstract BlogsEntry |
fetchBlogsEntry(long entryId)
|
abstract BlogsEntry |
fetchBlogsEntryByUuidAndCompanyId(String uuid,
long companyId)
Returns the blogs entry with the matching UUID and company. |
abstract BlogsEntry |
fetchBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry matching the UUID and group. |
abstract String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
abstract List<BlogsEntry> |
getBlogsEntries(int start,
int end)
Returns a range of all the blogs entries. |
abstract int |
getBlogsEntriesCount()
Returns the number of blogs entries. |
abstract BlogsEntry |
getBlogsEntry(long entryId)
Returns the blogs entry with the primary key. |
abstract BlogsEntry |
getBlogsEntryByUuidAndCompanyId(String uuid,
long companyId)
Returns the blogs entry with the matching UUID and company. |
abstract BlogsEntry |
getBlogsEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the blogs entry matching the UUID and group. |
abstract List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getCompanyEntries(long,
Date, QueryDefinition) |
abstract List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getCompanyEntries(long,
Date, QueryDefinition) |
abstract List<BlogsEntry> |
getCompanyEntries(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract int |
getCompanyEntriesCount(long companyId,
Date displayDate,
int status)
Deprecated. As of 6.2.0, replaced by getCompanyEntriesCount(long,
Date, QueryDefinition) |
abstract int |
getCompanyEntriesCount(long companyId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract BlogsEntry[] |
getEntriesPrevAndNext(long entryId)
|
abstract BlogsEntry |
getEntry(long entryId)
|
abstract BlogsEntry |
getEntry(long groupId,
String urlTitle)
|
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupEntries(long, Date,
QueryDefinition) |
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getGroupEntries(long, Date,
QueryDefinition) |
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupEntries(long,
QueryDefinition) |
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getGroupEntries(long,
QueryDefinition) |
abstract List<BlogsEntry> |
getGroupEntries(long groupId,
QueryDefinition queryDefinition)
|
abstract int |
getGroupEntriesCount(long groupId,
Date displayDate,
int status)
Deprecated. As of 6.2.0, replaced by getGroupEntriesCount(long,
Date, QueryDefinition) |
abstract int |
getGroupEntriesCount(long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract int |
getGroupEntriesCount(long groupId,
int status)
Deprecated. As of 6.2.0, replaced by getGroupEntriesCount(long,
QueryDefinition) |
abstract int |
getGroupEntriesCount(long groupId,
QueryDefinition queryDefinition)
|
abstract List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupsEntries(long, long,
Date, QueryDefinition) |
abstract List<BlogsEntry> |
getGroupsEntries(long companyId,
long groupId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getGroupUserEntries(long,
long, Date, QueryDefinition) |
abstract List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getGroupUserEntries(long,
long, Date, QueryDefinition) |
abstract List<BlogsEntry> |
getGroupUserEntries(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
int status)
Deprecated. As of 6.2.0, replaced by getGroupUserEntriesCount(long, long, Date, QueryDefinition) |
abstract int |
getGroupUserEntriesCount(long groupId,
long userId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract List<BlogsEntry> |
getNoAssetEntries()
|
abstract List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getOrganizationEntries(long,
Date, QueryDefinition) |
abstract List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
int status,
int start,
int end,
OrderByComparator obc)
Deprecated. As of 6.2.0, replaced by getOrganizationEntries(long,
Date, QueryDefinition) |
abstract List<BlogsEntry> |
getOrganizationEntries(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
int status)
Deprecated. As of 6.2.0, replaced by getOrganizationEntriesCount(long, Date, QueryDefinition) |
abstract int |
getOrganizationEntriesCount(long organizationId,
Date displayDate,
QueryDefinition queryDefinition)
|
abstract PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
abstract void |
moveEntriesToTrash(long groupId,
long userId)
|
abstract BlogsEntry |
moveEntryToTrash(long userId,
BlogsEntry entry)
Moves the blogs entry to the recycle bin. |
abstract BlogsEntry |
moveEntryToTrash(long userId,
long entryId)
Moves the blogs entry with the ID to the recycle bin. |
abstract void |
restoreEntryFromTrash(long userId,
long entryId)
Restores the blogs entry with the ID from the recycle bin. |
abstract void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
abstract void |
subscribe(long userId,
long groupId)
|
abstract void |
unsubscribe(long userId,
long groupId)
|
abstract void |
updateAsset(long userId,
BlogsEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
abstract BlogsEntry |
updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database or adds it if it does not yet exist. |
abstract 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)
|
abstract void |
updateEntryResources(BlogsEntry entry,
String[] groupPermissions,
String[] guestPermissions)
|
abstract BlogsEntry |
updateStatus(long userId,
long entryId,
int status,
ServiceContext serviceContext)
|
Method Detail |
---|
BlogsEntry addBlogsEntry(BlogsEntry blogsEntry) throws SystemException
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredBlogsEntry createBlogsEntry(long entryId)
entryId
- the primary key for the new blogs entry
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 occurredBlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry) throws SystemException
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredList 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from BlogsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredList 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from BlogsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry fetchBlogsEntry(long entryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry fetchBlogsEntryByUuidAndCompanyId(String uuid, long companyId) throws SystemException
uuid
- the blogs entry's UUIDcompanyId
- the primary key of the company
null
if a matching blogs entry could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry fetchBlogsEntryByUuidAndGroupId(String uuid, long groupId) throws SystemException
uuid
- the blogs entry's UUIDgroupId
- the primary key of the group
null
if a matching blogs entry could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) 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@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry getBlogsEntryByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
uuid
- the blogs entry's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching blogs entry could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
uuid
- the blogs entry's UUIDgroupId
- the primary key of the group
PortalException
- if a matching blogs entry could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) 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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from BlogsEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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@Transactional(propagation=SUPPORTS, readOnly=true) int getBlogsEntriesCount() throws SystemException
SystemException
- if a system exception occurredBlogsEntry updateBlogsEntry(BlogsEntry blogsEntry) throws SystemException
blogsEntry
- the blogs entry
SystemException
- if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanBlogsEntry 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
void addEntryResources(BlogsEntry entry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addEntryResources(BlogsEntry entry, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addEntryResources(long entryId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
void addEntryResources(long entryId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
void checkEntries() throws PortalException, SystemException
PortalException
SystemException
void deleteEntries(long groupId) throws PortalException, SystemException
PortalException
SystemException
void deleteEntry(BlogsEntry entry) throws PortalException, SystemException
PortalException
SystemException
void deleteEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int start, int end) throws SystemException
getCompanyEntries(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getCompanyEntries(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getCompanyEntries(long companyId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyEntriesCount(long companyId, Date displayDate, int status) throws SystemException
getCompanyEntriesCount(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyEntriesCount(long companyId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry[] getEntriesPrevAndNext(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry getEntry(long entryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) BlogsEntry getEntry(long groupId, String urlTitle) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end) throws SystemException
getGroupEntries(long, Date,
QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries(long, Date,
QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end) throws SystemException
getGroupEntries(long,
QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupEntries(long,
QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupEntries(long groupId, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, Date displayDate, int status) throws SystemException
getGroupEntriesCount(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, int status) throws SystemException
getGroupEntriesCount(long,
QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, int status, int start, int end) throws SystemException
getGroupsEntries(long, long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupsEntries(long companyId, long groupId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, int status, int start, int end) throws SystemException
getGroupUserEntries(long,
long, Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getGroupUserEntries(long groupId, long userId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupUserEntriesCount(long groupId, long userId, Date displayDate, int status) throws SystemException
getGroupUserEntriesCount(long, long, Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupUserEntriesCount(long groupId, long userId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getNoAssetEntries() throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int start, int end) throws SystemException
getOrganizationEntries(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, int status, int start, int end, OrderByComparator obc) throws SystemException
getOrganizationEntries(long,
Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<BlogsEntry> getOrganizationEntries(long organizationId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getOrganizationEntriesCount(long organizationId, Date displayDate, int status) throws SystemException
getOrganizationEntriesCount(long, Date, QueryDefinition)
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getOrganizationEntriesCount(long organizationId, Date displayDate, QueryDefinition queryDefinition) throws SystemException
SystemException
void moveEntriesToTrash(long groupId, long userId) throws PortalException, SystemException
PortalException
SystemException
BlogsEntry moveEntryToTrash(long userId, BlogsEntry entry) throws PortalException, SystemException
userId
- the primary key of the user moving the blogs entryentry
- the blogs entry to be moved
PortalException
- if a user with the primary key could not be found
or if the blogs entry owner's social activity counter could not
be updated
SystemException
- if a system exception occurredBlogsEntry moveEntryToTrash(long userId, long entryId) throws PortalException, SystemException
userId
- the primary key of the user moving the blogs entryentryId
- the primary key of the blogs entry to be moved
PortalException
- if a user or blogs entry with the primary key
could not be found or if the blogs entry owner's social activity
counter could not be updated
SystemException
- if a system exception occurredvoid restoreEntryFromTrash(long userId, long entryId) throws PortalException, SystemException
userId
- the primary key of the user restoring the blogs entryentryId
- the primary key of the blogs entry to be restored
PortalException
- if a user or blogs entry with the primary key
could not be found or if the blogs entry owner's social activity
counter could not be updated
SystemException
- if a system exception occurredvoid subscribe(long userId, long groupId) throws PortalException, SystemException
PortalException
SystemException
void unsubscribe(long userId, long groupId) throws PortalException, SystemException
PortalException
SystemException
void updateAsset(long userId, BlogsEntry entry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalException
SystemException
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
void updateEntryResources(BlogsEntry entry, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
BlogsEntry updateStatus(long userId, long entryId, int status, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |