@AccessControlled @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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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(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) |
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 expirationDate,
String mimeType,
String title,
String description,
String summary,
String url,
String layoutUuid,
int height,
int width,
Double priority)
Deprecated.
|
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.
|
@Transactional(propagation=SUPPORTS, readOnly=true) AssetEntry fetchEntry(long entryId) throws PortalException
AssetEntryServiceUtil
to access the asset entry remote service. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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(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
@Deprecated 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 expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Double priority) throws PortalException
updateEntry(long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)
PortalException
@Deprecated 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
updateEntry(long, Date, Date, String, long, String, long,
long[], String[], boolean, boolean, Date, Date, Date, Date,
String, String, String, String, String, String, int, int,
Double)
PortalException