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:
- IdentifiableOSGiService, 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, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, socialActivityCounterFinder, socialActivityCounterLocalService, socialActivityCounterPersistence, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
protected AssetEntryQuery |
buildFilteredEntryQuery(AssetEntryQuery entryQuery)
|
AssetEntry |
fetchEntry(long entryId)
|
protected Object[] |
filterEntryQuery(AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
|
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,
Double priority)
|
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)
Deprecated. As of 7.0.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, Double) |
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, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getSocialActivityCounterFinder, getSocialActivityCounterLocalService, getSocialActivityCounterPersistence, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setSocialActivityCounterFinder, setSocialActivityCounterLocalService, setSocialActivityCounterPersistence, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryServiceImpl
public AssetEntryServiceImpl()
fetchEntry
public AssetEntry fetchEntry(long entryId)
throws PortalException
- Throws:
PortalException
getCompanyEntries
public List<AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
getEntries
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
throws PortalException
- Throws:
PortalException
getEntriesCount
public int getEntriesCount(AssetEntryQuery entryQuery)
throws PortalException
- Throws:
PortalException
getEntry
public AssetEntry getEntry(long entryId)
throws PortalException
- Throws:
PortalException
incrementViewCounter
public AssetEntry incrementViewCounter(String className,
long classPK)
throws PortalException
- Throws:
PortalException
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,
Double priority)
throws PortalException
- Throws:
PortalException
updateEntry
@Deprecated
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
- Deprecated. As of 7.0.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, Double)
- Throws:
PortalException
updateEntry
@Deprecated
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
- 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
updateEntry
@Deprecated
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
- 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
buildFilteredEntryQuery
protected AssetEntryQuery buildFilteredEntryQuery(AssetEntryQuery entryQuery)
throws PortalException
- Throws:
PortalException
filterEntryQuery
protected Object[] filterEntryQuery(AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
throws PortalException
- Throws:
PortalException
hasEntryQueryResults
protected boolean hasEntryQueryResults(AssetEntryQuery originalEntryQuery,
AssetEntryQuery filteredEntryQuery)