@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetEntryService extends BaseService
AssetEntryServiceUtil
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.
|
void |
incrementViewCounter(AssetEntry assetEntry) |
AssetEntry |
incrementViewCounter(long companyId,
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 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) |
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyEntriesCount(long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetEntry> getEntries(AssetEntryQuery entryQuery) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(AssetEntryQuery entryQuery) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry getEntry(String className, long classPK) throws PortalException
PortalException
String getOSGiServiceIdentifier()
void incrementViewCounter(AssetEntry assetEntry) throws PortalException
PortalException
@AccessControlled(guestAccessEnabled=true) AssetEntry incrementViewCounter(long companyId, String className, long classPK) throws PortalException
PortalException
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
PortalException