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:
- com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.asset.service.AssetEntryLocalService
public class AssetEntryLocalServiceImpl
- extends AssetEntryLocalServiceBaseImpl
- Author:
- Brian Wing Shun Chan, Bruno Farache, Zsolt Berentey
| 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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, companyLocalService, companyPersistence, companyService, counterLocalService, dlAppLocalService, dlAppService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
|
Method Summary |
void |
deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(java.lang.String className,
long classPK)
|
com.liferay.portlet.asset.model.AssetEntry |
fetchEntry(long entryId)
|
com.liferay.portlet.asset.model.AssetEntry |
fetchEntry(java.lang.String className,
long classPK)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getAncestorEntries(long entryId)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getChildEntries(long entryId)
|
protected java.lang.String[] |
getClassNames(java.lang.String className)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
com.liferay.portlet.asset.model.AssetEntryDisplay[] |
getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getEntries(com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
|
int |
getEntriesCount(com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
|
protected com.liferay.portlet.asset.model.AssetEntry |
getEntry(com.liferay.portal.kernel.search.Document document)
|
com.liferay.portlet.asset.model.AssetEntry |
getEntry(long entryId)
|
com.liferay.portlet.asset.model.AssetEntry |
getEntry(long groupId,
java.lang.String classUuid)
|
com.liferay.portlet.asset.model.AssetEntry |
getEntry(java.lang.String className,
long classPK)
|
protected com.liferay.portlet.asset.model.AssetEntryDisplay[] |
getEntryDisplays(java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries,
java.lang.String languageId)
|
com.liferay.portlet.asset.model.AssetEntry |
getNextEntry(long entryId)
|
com.liferay.portlet.asset.model.AssetEntry |
getParentEntry(long entryId)
|
com.liferay.portlet.asset.model.AssetEntry |
getPreviousEntry(long entryId)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
|
com.liferay.portlet.asset.model.AssetEntry |
incrementViewCounter(long userId,
java.lang.String className,
long classPK,
int increment)
|
void |
reindex(java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
java.lang.String className,
java.lang.String keywords,
int start,
int end)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
long userId,
java.lang.String className,
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)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
int start,
int end)
|
com.liferay.portlet.asset.model.AssetEntryDisplay[] |
searchEntryDisplays(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
|
int |
searchEntryDisplaysCount(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
java.lang.String languageId)
|
com.liferay.portlet.asset.model.AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
|
com.liferay.portlet.asset.model.AssetEntry |
updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String classUuid,
long classTypeId,
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,
java.lang.String layoutUuid,
int height,
int width,
java.lang.Integer priority,
boolean sync)
|
com.liferay.portlet.asset.model.AssetEntry |
updateVisible(java.lang.String className,
long classPK,
boolean visible)
|
void |
validate(long groupId,
java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
|
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl |
addAssetEntry, afterPropertiesSet, createAssetEntry, deleteAssetEntry, deleteAssetEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetEntry, 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, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getDLAppLocalService, getDLAppService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setDLAppLocalService, setDLAppService, 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, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, 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(com.liferay.portlet.asset.model.AssetEntry entry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteEntry
public void deleteEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
fetchEntry
public com.liferay.portlet.asset.model.AssetEntry fetchEntry(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchEntry
public com.liferay.portlet.asset.model.AssetEntry fetchEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getAncestorEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getChildEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyEntryDisplays
public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
int start,
int end,
java.lang.String languageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntriesCount
public int getEntriesCount(com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getEntry
public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntry
public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
java.lang.String classUuid)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntry
public com.liferay.portlet.asset.model.AssetEntry getEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getNextEntry
public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getParentEntry
public com.liferay.portlet.asset.model.AssetEntry getParentEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getPreviousEntry
public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTopViewedEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(java.lang.String className,
boolean asc,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTopViewedEntries
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(java.lang.String[] className,
boolean asc,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
incrementViewCounter
@BufferedIncrement(incrementClass=com.liferay.portal.kernel.increment.NumberIncrement.class)
public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(long userId,
java.lang.String className,
long classPK,
int increment)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
reindex
public void reindex(java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
java.lang.String className,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long[] groupIds,
long userId,
java.lang.String className,
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 com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchEntryDisplays
public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
java.lang.String languageId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchEntryDisplaysCount
public int searchEntryDisplaysCount(long companyId,
long[] groupIds,
java.lang.String className,
java.lang.String keywords,
java.lang.String languageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateEntry
public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
long[] categoryIds,
java.lang.String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateEntry
public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
long groupId,
java.lang.String className,
long classPK,
java.lang.String classUuid,
long classTypeId,
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,
java.lang.String layoutUuid,
int height,
int width,
java.lang.Integer priority,
boolean sync)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateVisible
public com.liferay.portlet.asset.model.AssetEntry updateVisible(java.lang.String className,
long classPK,
boolean visible)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
validate
public void validate(long groupId,
java.lang.String className,
long[] categoryIds,
java.lang.String[] tagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getClassNames
protected java.lang.String[] getClassNames(java.lang.String className)
getEntry
protected com.liferay.portlet.asset.model.AssetEntry getEntry(com.liferay.portal.kernel.search.Document document)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getEntryDisplays
protected com.liferay.portlet.asset.model.AssetEntryDisplay[] getEntryDisplays(java.util.List<com.liferay.portlet.asset.model.AssetEntry> entries,
java.lang.String languageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException