Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service
Interface AssetEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetEntryServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetEntryService
extends BaseService

The interface for the asset entry remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
AssetEntryServiceUtil, com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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 incrementViewCounter(String className, long classPK)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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 publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync)
           
 AssetEntry updateEntry(long groupId, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, 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, Integer priority, boolean sync)
          Deprecated. #updateEntry(long, Date, Date. String, long, String, long, long[], String[], boolean, Date, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getCompanyEntries(long companyId,
                                                                            int start,
                                                                            int end)
                                   throws SystemException
Throws:
SystemException

getCompanyEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEntriesCount(long companyId)
                           throws SystemException
Throws:
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(long entryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

incrementViewCounter

AssetEntry incrementViewCounter(String className,
                                long classPK)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

updateEntry

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 publishDate,
                       Date expirationDate,
                       String mimeType,
                       String title,
                       String description,
                       String summary,
                       String url,
                       String layoutUuid,
                       int height,
                       int width,
                       Integer priority,
                       boolean sync)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(long groupId,
                       String className,
                       long classPK,
                       String classUuid,
                       long classTypeId,
                       long[] categoryIds,
                       String[] tagNames,
                       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,
                       Integer priority,
                       boolean sync)
                       throws PortalException,
                              SystemException
Deprecated. #updateEntry(long, Date, Date. String, long, String, long, long[], String[], boolean, Date, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)

Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3