|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.asset.service.AssetEntryLocalServiceWrapper
public class AssetEntryLocalServiceWrapper
This class is a wrapper for AssetEntryLocalService
.
AssetEntryLocalService
Constructor Summary | |
---|---|
AssetEntryLocalServiceWrapper(AssetEntryLocalService assetEntryLocalService)
|
Method Summary | |
---|---|
AssetEntry |
addAssetEntry(AssetEntry assetEntry)
Adds the asset entry to the database. |
AssetEntry |
createAssetEntry(long entryId)
Creates a new asset entry with the primary key. |
void |
deleteAssetEntry(AssetEntry assetEntry)
Deletes the asset entry from the database. |
void |
deleteAssetEntry(long entryId)
Deletes the asset entry with the primary key from the database. |
void |
deleteEntry(AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(String className,
long classPK)
|
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<AssetEntry> |
getAncestorEntries(long entryId)
|
List<AssetEntry> |
getAssetEntries(int start,
int end)
Gets a range of all the asset entries. |
int |
getAssetEntriesCount()
Gets the number of asset entries. |
AssetEntry |
getAssetEntry(long entryId)
Gets the asset entry with the primary key. |
List<AssetEntry> |
getChildEntries(long entryId)
|
List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
AssetEntryDisplay[] |
getCompanyEntryDisplays(long companyId,
int start,
int end,
String languageId)
|
List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
int |
getEntriesCount(AssetEntryQuery entryQuery)
|
AssetEntry |
getEntry(long entryId)
|
AssetEntry |
getEntry(long groupId,
String classUuid)
|
AssetEntry |
getEntry(String className,
long classPK)
|
AssetEntry |
getNextEntry(long entryId)
|
AssetEntry |
getParentEntry(long entryId)
|
AssetEntry |
getPreviousEntry(long entryId)
|
List<AssetEntry> |
getTopViewedEntries(String[] className,
boolean asc,
int start,
int end)
|
List<AssetEntry> |
getTopViewedEntries(String className,
boolean asc,
int start,
int end)
|
AssetEntryLocalService |
getWrappedAssetEntryLocalService()
|
void |
incrementViewCounter(long userId,
String className,
long classPK)
|
void |
incrementViewCounter(long userId,
String className,
long classPK,
int increment)
|
Hits |
search(long companyId,
long[] groupIds,
String portletId,
String userName,
String title,
String description,
String assetCategoryIds,
String assetTagNames,
boolean andSearch,
int start,
int end)
|
Hits |
search(long companyId,
String portletId,
String keywords,
int start,
int end)
|
AssetEntryDisplay[] |
searchEntryDisplays(long companyId,
String portletId,
String keywords,
String languageId,
int start,
int end)
|
int |
searchEntryDisplaysCount(long companyId,
String portletId,
String keywords,
String languageId)
|
AssetEntry |
updateAssetEntry(AssetEntry assetEntry)
Updates the asset entry in the database. |
AssetEntry |
updateAssetEntry(AssetEntry assetEntry,
boolean merge)
Updates the asset entry in the database. |
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
|
AssetEntry |
updateEntry(long userId,
long groupId,
String className,
long classPK,
String classUuid,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date publishDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
int height,
int width,
Integer priority,
boolean sync)
|
AssetEntry |
updateVisible(String className,
long classPK,
boolean visible)
|
void |
validate(String className,
long[] categoryIds,
String[] tagNames)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetEntryLocalServiceWrapper(AssetEntryLocalService assetEntryLocalService)
Method Detail |
---|
public AssetEntry addAssetEntry(AssetEntry assetEntry) throws SystemException
addAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entry to add
SystemException
- if a system exception occurredpublic AssetEntry createAssetEntry(long entryId)
createAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key for the new asset entry
public void deleteAssetEntry(long entryId) throws PortalException, SystemException
deleteAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key of the asset entry to delete
PortalException
- if a asset entry with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteAssetEntry(AssetEntry assetEntry) throws SystemException
deleteAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entry to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AssetEntryLocalService
dynamicQuery
- the dynamic query to search with
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 AssetEntryLocalService
dynamicQuery
- 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 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 AssetEntryLocalService
dynamicQuery
- 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface AssetEntryLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic AssetEntry getAssetEntry(long entryId) throws PortalException, SystemException
getAssetEntry
in interface AssetEntryLocalService
entryId
- the primary key of the asset entry to get
PortalException
- if a asset entry with the primary key could not be found
SystemException
- if a system exception occurredpublic List<AssetEntry> getAssetEntries(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.
getAssetEntries
in interface AssetEntryLocalService
start
- the lower bound of the range of asset entries to returnend
- the upper bound of the range of asset entries to return (not inclusive)
SystemException
- if a system exception occurredpublic int getAssetEntriesCount() throws SystemException
getAssetEntriesCount
in interface AssetEntryLocalService
SystemException
- if a system exception occurredpublic AssetEntry updateAssetEntry(AssetEntry assetEntry) throws SystemException
updateAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entry to update
SystemException
- if a system exception occurredpublic AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge) throws SystemException
updateAssetEntry
in interface AssetEntryLocalService
assetEntry
- the asset entry to updatemerge
- whether to merge the asset 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 void deleteEntry(AssetEntry entry) throws PortalException, SystemException
deleteEntry
in interface AssetEntryLocalService
PortalException
SystemException
public void deleteEntry(long entryId) throws PortalException, SystemException
deleteEntry
in interface AssetEntryLocalService
PortalException
SystemException
public void deleteEntry(String className, long classPK) throws PortalException, SystemException
deleteEntry
in interface AssetEntryLocalService
PortalException
SystemException
public List<AssetEntry> getAncestorEntries(long entryId) throws PortalException, SystemException
getAncestorEntries
in interface AssetEntryLocalService
PortalException
SystemException
public List<AssetEntry> getChildEntries(long entryId) throws PortalException, SystemException
getChildEntries
in interface AssetEntryLocalService
PortalException
SystemException
public List<AssetEntry> getCompanyEntries(long companyId, int start, int end) throws SystemException
getCompanyEntries
in interface AssetEntryLocalService
SystemException
public int getCompanyEntriesCount(long companyId) throws SystemException
getCompanyEntriesCount
in interface AssetEntryLocalService
SystemException
public AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId) throws SystemException
getCompanyEntryDisplays
in interface AssetEntryLocalService
SystemException
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws SystemException
getEntries
in interface AssetEntryLocalService
SystemException
public int getEntriesCount(AssetEntryQuery entryQuery) throws SystemException
getEntriesCount
in interface AssetEntryLocalService
SystemException
public AssetEntry getEntry(long entryId) throws PortalException, SystemException
getEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry getEntry(long groupId, String classUuid) throws PortalException, SystemException
getEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry getEntry(String className, long classPK) throws PortalException, SystemException
getEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry getNextEntry(long entryId) throws PortalException, SystemException
getNextEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry getParentEntry(long entryId) throws PortalException, SystemException
getParentEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry getPreviousEntry(long entryId) throws PortalException, SystemException
getPreviousEntry
in interface AssetEntryLocalService
PortalException
SystemException
public List<AssetEntry> getTopViewedEntries(String className, boolean asc, int start, int end) throws SystemException
getTopViewedEntries
in interface AssetEntryLocalService
SystemException
public List<AssetEntry> getTopViewedEntries(String[] className, boolean asc, int start, int end) throws SystemException
getTopViewedEntries
in interface AssetEntryLocalService
SystemException
public void incrementViewCounter(long userId, String className, long classPK) throws PortalException, SystemException
incrementViewCounter
in interface AssetEntryLocalService
PortalException
SystemException
public void incrementViewCounter(long userId, String className, long classPK, int increment) throws PortalException, SystemException
incrementViewCounter
in interface AssetEntryLocalService
PortalException
SystemException
public Hits search(long companyId, String portletId, String keywords, int start, int end) throws SystemException
search
in interface AssetEntryLocalService
SystemException
public Hits search(long companyId, long[] groupIds, String portletId, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean andSearch, int start, int end) throws SystemException
search
in interface AssetEntryLocalService
SystemException
public AssetEntryDisplay[] searchEntryDisplays(long companyId, String portletId, String keywords, String languageId, int start, int end) throws SystemException
searchEntryDisplays
in interface AssetEntryLocalService
SystemException
public int searchEntryDisplaysCount(long companyId, String portletId, String keywords, String languageId) throws SystemException
searchEntryDisplaysCount
in interface AssetEntryLocalService
SystemException
public AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames) throws PortalException, SystemException
updateEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry updateEntry(long userId, long groupId, String className, long classPK, String classUuid, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, int height, int width, Integer priority, boolean sync) throws PortalException, SystemException
updateEntry
in interface AssetEntryLocalService
PortalException
SystemException
public AssetEntry updateVisible(String className, long classPK, boolean visible) throws PortalException, SystemException
updateVisible
in interface AssetEntryLocalService
PortalException
SystemException
public void validate(String className, long[] categoryIds, String[] tagNames) throws PortalException
validate
in interface AssetEntryLocalService
PortalException
public AssetEntryLocalService getWrappedAssetEntryLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |