public class AssetEntryServiceWrapper extends Object implements AssetEntryService, ServiceWrapper<AssetEntryService>
AssetEntryService
.AssetEntryService
Constructor and Description |
---|
AssetEntryServiceWrapper() |
AssetEntryServiceWrapper(AssetEntryService assetEntryService) |
Modifier and Type | Method and Description |
---|---|
AssetEntry |
fetchEntry(long entryId) |
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) |
AssetEntry |
getEntry(String className,
long classPK) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
AssetEntryService |
getWrappedService() |
void |
incrementViewCounter(AssetEntry assetEntry) |
AssetEntry |
incrementViewCounter(long companyId,
String className,
long classPK) |
void |
setWrappedService(AssetEntryService assetEntryService) |
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) |
public AssetEntryServiceWrapper()
public AssetEntryServiceWrapper(AssetEntryService assetEntryService)
public AssetEntry fetchEntry(long entryId) throws PortalException
fetchEntry
in interface AssetEntryService
PortalException
public List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
getCompanyEntries
in interface AssetEntryService
public int getCompanyEntriesCount(long companyId)
getCompanyEntriesCount
in interface AssetEntryService
public List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws PortalException
getEntries
in interface AssetEntryService
PortalException
public int getEntriesCount(AssetEntryQuery entryQuery) throws PortalException
getEntriesCount
in interface AssetEntryService
PortalException
public AssetEntry getEntry(long entryId) throws PortalException
getEntry
in interface AssetEntryService
PortalException
public AssetEntry getEntry(String className, long classPK) throws PortalException
getEntry
in interface AssetEntryService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AssetEntryService
public void incrementViewCounter(AssetEntry assetEntry) throws PortalException
incrementViewCounter
in interface AssetEntryService
PortalException
public AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws PortalException
incrementViewCounter
in interface AssetEntryService
PortalException
public 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 PortalException
updateEntry
in interface AssetEntryService
PortalException
public AssetEntryService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetEntryService>
public void setWrappedService(AssetEntryService assetEntryService)
setWrappedService
in interface ServiceWrapper<AssetEntryService>