public class AssetEntryServiceImpl extends AssetEntryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagPersistence, counterLocalService
Constructor and Description |
---|
AssetEntryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
com.liferay.asset.kernel.model.AssetEntry |
getEntry(String className,
long classPK) |
protected boolean |
hasEntryQueryResults(com.liferay.asset.kernel.service.persistence.AssetEntryQuery originalEntryQuery,
com.liferay.asset.kernel.service.persistence.AssetEntryQuery filteredEntryQuery) |
void |
incrementViewCounter(com.liferay.asset.kernel.model.AssetEntry assetEntry) |
com.liferay.asset.kernel.model.AssetEntry |
incrementViewCounter(long companyId,
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 listable,
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,
Double priority) |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setCounterLocalService
public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(long companyId, int start, int end)
public int getCompanyEntriesCount(long companyId)
public List<com.liferay.asset.kernel.model.AssetEntry> getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public int getEntriesCount(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetEntry getEntry(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void incrementViewCounter(com.liferay.asset.kernel.model.AssetEntry assetEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@AccessControlled(guestAccessEnabled=true) public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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 listable, 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, Double priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.asset.kernel.service.persistence.AssetEntryQuery buildFilteredEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected Object[] filterEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery, boolean returnEntriesCountOnly) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected boolean hasEntryQueryResults(com.liferay.asset.kernel.service.persistence.AssetEntryQuery originalEntryQuery, com.liferay.asset.kernel.service.persistence.AssetEntryQuery filteredEntryQuery)