Liferay 7.0-ce-b4

com.liferay.portlet.asset.service
Interface AssetEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetEntryServiceWrapper

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

Provides the remote service interface for AssetEntry. 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
 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)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 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 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)
           
 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. As of 7.0.0, replaced by updateEntry(long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Double)
 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. As of 6.2.0, replaced by updateEntry(long, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)
 AssetEntry updateEntry(long groupId, 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. As of 6.2.0, replaced by updateEntry(long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)
 

Method Detail

fetchEntry

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

getCompanyEntries

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

getCompanyEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEntriesCount(long companyId)

getEntries

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

getEntriesCount

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

getEntry

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

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

incrementViewCounter

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

updateEntry

@Deprecated
AssetEntry updateEntry(long groupId,
                                  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
Deprecated. As of 6.2.0, replaced by updateEntry(long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)

Throws:
PortalException

updateEntry

@Deprecated
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
Deprecated. As of 6.2.0, replaced by updateEntry(long, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)

Throws:
PortalException

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 expirationDate,
                       String mimeType,
                       String title,
                       String description,
                       String summary,
                       String url,
                       String layoutUuid,
                       int height,
                       int width,
                       Double priority)
                       throws PortalException
Throws:
PortalException

updateEntry

@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
Deprecated. As of 7.0.0, replaced by updateEntry(long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Double)

Throws:
PortalException

Liferay 7.0-ce-b4