com.liferay.portlet.asset.service.impl
Class AssetEntryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, AssetEntryService
public class AssetEntryServiceImpl
- extends AssetEntryServiceBaseImpl
Provides the remote service for accessing and updating asset entries. Its
methods include permission checks.
| Fields inherited from class com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl |
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, resourceLocalService, socialActivityCounterFinder, socialActivityCounterLocalService, socialActivityCounterPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
|
Method Summary |
protected AssetEntryQuery |
buildFilteredEntryQuery(AssetEntryQuery entryQuery)
|
protected long[] |
filterCategoryIds(long[] categoryIds)
|
protected Object[] |
filterEntryQuery(AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
|
protected long[] |
filterTagIds(long[] tagIds)
|
protected long[][] |
filterTagIdsArray(long[][] tagIdsArray)
|
List<AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
List<AssetEntry> |
getEntries(AssetEntryQuery entryQuery)
|
int |
getEntriesCount(AssetEntryQuery entryQuery)
|
AssetEntry |
getEntry(long entryId)
|
protected boolean |
hasEntryQueryResults(AssetEntryQuery originalEntryQuery,
AssetEntryQuery filteredEntryQuery)
|
AssetEntry |
incrementViewCounter(String className,
long classPK)
|
AssetEntry |
updateEntry(long groupId,
Date createDate,
Date modifiedDate,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
|
AssetEntry |
updateEntry(long groupId,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date publishDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
Deprecated. As of 6.2.0, replaced by updateEntry(long, String,
long, String, long, long[], String[], boolean, Date, Date,
Date, String, String, String, String, String, String, int,
int, Integer, boolean) |
AssetEntry |
updateEntry(long groupId,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
Deprecated. As of 6.2.0, replaced by updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
Date, Date, Date, String, String, String, String, String,
String, int, int, Integer, boolean) |
| Methods inherited from class com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, 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, getResourceLocalService, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSystemEventLocalService, getSystemEventPersistence, 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, setResourceLocalService, setSocialActivityCounterFinder, setSocialActivityCounterLocalService, setSocialActivityCounterPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryServiceImpl
public AssetEntryServiceImpl()
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
getEntries
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntriesCount
public int getEntriesCount(AssetEntryQuery entryQuery)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntry
public AssetEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementViewCounter
public AssetEntry incrementViewCounter(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public AssetEntry updateEntry(long groupId,
Date createDate,
Date modifiedDate,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public AssetEntry updateEntry(long groupId,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date publishDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
updateEntry(long, String,
long, String, long, long[], String[], boolean, Date, Date,
Date, String, String, String, String, String, String, int,
int, Integer, boolean)
- Throws:
PortalException
SystemException
updateEntry
public AssetEntry updateEntry(long groupId,
String className,
long classPK,
String classUuid,
long classTypeId,
long[] categoryIds,
String[] tagNames,
boolean visible,
Date startDate,
Date endDate,
Date expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Integer priority,
boolean sync)
throws PortalException,
SystemException
- Deprecated. As of 6.2.0, replaced by
updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
Date, Date, Date, String, String, String, String, String,
String, int, int, Integer, boolean)
- Throws:
PortalException
SystemException
buildFilteredEntryQuery
protected AssetEntryQuery buildFilteredEntryQuery(AssetEntryQuery entryQuery)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
filterCategoryIds
protected long[] filterCategoryIds(long[] categoryIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
filterEntryQuery
protected Object[] filterEntryQuery(AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
filterTagIds
protected long[] filterTagIds(long[] tagIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
filterTagIdsArray
protected long[][] filterTagIdsArray(long[][] tagIdsArray)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasEntryQueryResults
protected boolean hasEntryQueryResults(AssetEntryQuery originalEntryQuery,
AssetEntryQuery filteredEntryQuery)