com.liferay.portlet.asset.service.impl
Class AssetEntryServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
- All Implemented Interfaces:
- com.liferay.asset.kernel.service.AssetEntryService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService
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 |
| Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
Method Summary |
protected com.liferay.asset.kernel.service.persistence.AssetEntryQuery |
buildFilteredEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
|
com.liferay.asset.kernel.model.AssetEntry |
fetchEntry(long entryId)
|
protected Object[] |
filterEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getCompanyEntries(long companyId,
int start,
int end)
|
int |
getCompanyEntriesCount(long companyId)
|
List<com.liferay.asset.kernel.model.AssetEntry> |
getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
|
int |
getEntriesCount(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
|
com.liferay.asset.kernel.model.AssetEntry |
getEntry(long entryId)
|
protected boolean |
hasEntryQueryResults(com.liferay.asset.kernel.service.persistence.AssetEntryQuery originalEntryQuery,
com.liferay.asset.kernel.service.persistence.AssetEntryQuery filteredEntryQuery)
|
com.liferay.asset.kernel.model.AssetEntry |
incrementViewCounter(String className,
long classPK)
|
com.liferay.asset.kernel.model.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)
|
com.liferay.asset.kernel.model.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) |
| 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 com.liferay.portal.kernel.service.BaseServiceImpl |
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetEntryServiceImpl
public AssetEntryServiceImpl()
fetchEntry
public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getCompanyEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(long companyId,
int start,
int end)
getCompanyEntriesCount
public int getCompanyEntriesCount(long companyId)
getEntries
public List<com.liferay.asset.kernel.model.AssetEntry> getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getEntriesCount
public int getEntriesCount(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getEntry
public com.liferay.asset.kernel.model.AssetEntry getEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
incrementViewCounter
public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
public com.liferay.asset.kernel.model.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 com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateEntry
@Deprecated
public com.liferay.asset.kernel.model.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 com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException
buildFilteredEntryQuery
protected com.liferay.asset.kernel.service.persistence.AssetEntryQuery buildFilteredEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
filterEntryQuery
protected Object[] filterEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery,
boolean returnEntriesCountOnly)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
hasEntryQueryResults
protected boolean hasEntryQueryResults(com.liferay.asset.kernel.service.persistence.AssetEntryQuery originalEntryQuery,
com.liferay.asset.kernel.service.persistence.AssetEntryQuery filteredEntryQuery)