com.liferay.portlet.asset.service.impl
Class AssetEntryLocalServiceImpl
java.lang.Object
com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
- All Implemented Interfaces:
- AssetEntryLocalService
public class AssetEntryLocalServiceImpl
- extends AssetEntryLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, companyLocalService, companyPersistence, companyService, counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialEquityLogLocalService, socialEquityLogPersistence, userFinder, userLocalService, userPersistence, userService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
Method Summary |
void |
deleteEntry(AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(String className,
long classPK)
|
List<AssetEntry> |
getAncestorEntries(long entryId)
|
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)
|
protected AssetEntry |
getEntry(Document doc)
|
AssetEntry |
getEntry(long entryId)
|
AssetEntry |
getEntry(long groupId,
String classUuid)
|
AssetEntry |
getEntry(String className,
long classPK)
|
protected AssetEntryDisplay[] |
getEntryDisplays(List<AssetEntry> entries,
String languageId)
|
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)
|
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 |
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 com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl |
addAssetEntry, createAssetEntry, deleteAssetEntry, deleteAssetEntry, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntries, getAssetEntriesCount, getAssetEntry, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, updateAssetEntry, updateAssetEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryLocalServiceImpl
public AssetEntryLocalServiceImpl()
deleteEntry
public void deleteEntry(AssetEntry entry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public void deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
public void deleteEntry(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAncestorEntries
public List<AssetEntry> getAncestorEntries(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getChildEntries
public List<AssetEntry> getChildEntries(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyEntries
public List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getCompanyEntryDisplays
public AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
String languageId)
throws SystemException
- Throws:
SystemException
getEntries
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws SystemException
- Throws:
SystemException
getEntriesCount
public int getEntriesCount(AssetEntryQuery entryQuery)
throws SystemException
- Throws:
SystemException
getEntry
public AssetEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public AssetEntry getEntry(long groupId,
String classUuid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public AssetEntry getEntry(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNextEntry
public AssetEntry getNextEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentEntry
public AssetEntry getParentEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPreviousEntry
public AssetEntry getPreviousEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTopViewedEntries
public List<AssetEntry> getTopViewedEntries(String className,
boolean asc,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTopViewedEntries
public List<AssetEntry> getTopViewedEntries(String[] className,
boolean asc,
int start,
int end)
throws SystemException
- Throws:
SystemException
incrementViewCounter
public void incrementViewCounter(long userId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementViewCounter
@BufferedIncrement(incrementClass=NumberIncrement.class)
public void incrementViewCounter(long userId,
String className,
long classPK,
int increment)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public Hits search(long companyId,
String portletId,
String keywords,
int start,
int end)
throws SystemException
- Throws:
SystemException
search
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
- Throws:
SystemException
searchEntryDisplays
public AssetEntryDisplay[] searchEntryDisplays(long companyId,
String portletId,
String keywords,
String languageId,
int start,
int end)
throws SystemException
- Throws:
SystemException
searchEntryDisplaysCount
public int searchEntryDisplaysCount(long companyId,
String portletId,
String keywords,
String languageId)
throws SystemException
- Throws:
SystemException
updateEntry
public AssetEntry updateEntry(long userId,
long groupId,
String className,
long classPK,
long[] categoryIds,
String[] tagNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
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
- Throws:
PortalException
SystemException
updateVisible
public AssetEntry updateVisible(String className,
long classPK,
boolean visible)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
public void validate(String className,
long[] categoryIds,
String[] tagNames)
throws PortalException
- Throws:
PortalException
getEntry
protected AssetEntry getEntry(Document doc)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntryDisplays
protected AssetEntryDisplay[] getEntryDisplays(List<AssetEntry> entries,
String languageId)
throws SystemException
- Throws:
SystemException