com.liferay.portlet.asset.service
Interface AssetEntryLocalService
- All Known Implementing Classes:
- AssetEntryLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetEntryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetEntryLocalServiceUtil
- Generated:
Method Summary |
AssetEntry |
addAssetEntry(AssetEntry assetEntry)
|
AssetEntry |
createAssetEntry(long entryId)
|
void |
deleteAssetEntry(AssetEntry assetEntry)
|
void |
deleteAssetEntry(long entryId)
|
void |
deleteEntry(AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(java.lang.String className,
long classPK)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
java.util.List<AssetEntry> |
getAncestorEntries(long entryId)
|
java.util.List<AssetEntry> |
getAssetEntries(int start,
int end)
|
int |
getAssetEntriesCount()
|
AssetEntry |
getAssetEntry(long entryId)
|
java.util.List<AssetEntry> |
getChildEntries(long entryId)
|
java.util.List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
AssetEntryDisplay[] |
getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
java.util.List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
int |
getEntriesCount(AssetEntryQuery entryQuery)
|
AssetEntry |
getEntry(long entryId)
|
AssetEntry |
getEntry(java.lang.String className,
long classPK)
|
AssetEntry |
getNextEntry(long entryId)
|
AssetEntry |
getParentEntry(long entryId)
|
AssetEntry |
getPreviousEntry(long entryId)
|
java.util.List<AssetEntry> |
getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
|
java.util.List<AssetEntry> |
getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
|
void |
incrementViewCounter(long userId,
java.lang.String className,
long classPK)
|
Hits |
search(long companyId,
long[] groupIds,
java.lang.String portletId,
java.lang.String userName,
java.lang.String title,
java.lang.String description,
java.lang.String assetCategoryIds,
java.lang.String assetTagNames,
boolean andSearch,
int start,
int end)
|
Hits |
search(long companyId,
java.lang.String portletId,
java.lang.String keywords,
int start,
int end)
|
AssetEntryDisplay[] |
searchEntryDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
|
int |
searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
|
AssetEntry |
updateAssetEntry(AssetEntry assetEntry)
|
AssetEntry |
updateAssetEntry(AssetEntry assetEntry,
boolean merge)
|
AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
|
AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames,
boolean visible,
java.util.Date startDate,
java.util.Date endDate,
java.util.Date publishDate,
java.util.Date expirationDate,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String summary,
java.lang.String url,
int height,
int width,
java.lang.Integer priority,
boolean sync)
|
AssetEntry |
updateVisible(java.lang.String className,
long classPK,
boolean visible)
|
void |
validate(java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
|
addAssetEntry
AssetEntry addAssetEntry(AssetEntry assetEntry)
throws SystemException
- Throws:
SystemException
createAssetEntry
AssetEntry createAssetEntry(long entryId)
deleteAssetEntry
void deleteAssetEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetEntry
void deleteAssetEntry(AssetEntry assetEntry)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getAssetEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getAssetEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetEntriesCount()
throws SystemException
- Throws:
SystemException
updateAssetEntry
AssetEntry updateAssetEntry(AssetEntry assetEntry)
throws SystemException
- Throws:
SystemException
updateAssetEntry
AssetEntry updateAssetEntry(AssetEntry assetEntry,
boolean merge)
throws SystemException
- Throws:
SystemException
deleteEntry
void deleteEntry(AssetEntry entry)
throws SystemException
- Throws:
SystemException
deleteEntry
void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
void deleteEntry(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getAncestorEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getAncestorEntries(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChildEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getChildEntries(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyEntriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getCompanyEntryDisplays
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws SystemException
- Throws:
SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws SystemException
- Throws:
SystemException
getEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
throws SystemException
- Throws:
SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getEntry(java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNextEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getNextEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getParentEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPreviousEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntry getPreviousEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTopViewedEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTopViewedEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
throws SystemException
- Throws:
SystemException
incrementViewCounter
void incrementViewCounter(long userId,
java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
Hits search(long companyId,
java.lang.String portletId,
java.lang.String keywords,
int start,
int end)
throws SystemException
- Throws:
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
Hits search(long companyId,
long[] groupIds,
java.lang.String portletId,
java.lang.String userName,
java.lang.String title,
java.lang.String description,
java.lang.String assetCategoryIds,
java.lang.String assetTagNames,
boolean andSearch,
int start,
int end)
throws SystemException
- Throws:
SystemException
searchEntryDisplays
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetEntryDisplay[] searchEntryDisplays(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
throws SystemException
- Throws:
SystemException
searchEntryDisplaysCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchEntryDisplaysCount(long companyId,
java.lang.String portletId,
java.lang.String keywords,
java.lang.String languageId)
throws SystemException
- Throws:
SystemException
updateEntry
AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames,
boolean visible,
java.util.Date startDate,
java.util.Date endDate,
java.util.Date publishDate,
java.util.Date expirationDate,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String summary,
java.lang.String url,
int height,
int width,
java.lang.Integer priority,
boolean sync)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateVisible
AssetEntry updateVisible(java.lang.String className,
long classPK,
boolean visible)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
void validate(java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
throws PortalException
- Throws:
PortalException