Liferay 7.0-ce-b4

com.liferay.portlet.asset.service
Class AssetEntryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetEntryServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<AssetEntryService>, AssetEntryService

@ProviderType
public class AssetEntryServiceWrapper
extends Object
implements AssetEntryService, ServiceWrapper<AssetEntryService>

Provides a wrapper for AssetEntryService.

See Also:
AssetEntryService

Constructor Summary
AssetEntryServiceWrapper(AssetEntryService assetEntryService)
           
 
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.
 AssetEntryService getWrappedService()
           
 AssetEntry incrementViewCounter(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 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)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetEntryServiceWrapper

public AssetEntryServiceWrapper(AssetEntryService assetEntryService)
Method Detail

fetchEntry

public AssetEntry fetchEntry(long entryId)
                      throws PortalException
Specified by:
fetchEntry in interface AssetEntryService
Throws:
PortalException

getCompanyEntries

public List<AssetEntry> getCompanyEntries(long companyId,
                                          int start,
                                          int end)
Specified by:
getCompanyEntries in interface AssetEntryService

getCompanyEntriesCount

public int getCompanyEntriesCount(long companyId)
Specified by:
getCompanyEntriesCount in interface AssetEntryService

getEntries

public List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                            throws PortalException
Specified by:
getEntries in interface AssetEntryService
Throws:
PortalException

getEntriesCount

public int getEntriesCount(AssetEntryQuery entryQuery)
                    throws PortalException
Specified by:
getEntriesCount in interface AssetEntryService
Throws:
PortalException

getEntry

public AssetEntry getEntry(long entryId)
                    throws PortalException
Specified by:
getEntry in interface AssetEntryService
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface AssetEntryService
Returns:
the OSGi service identifier

incrementViewCounter

public AssetEntry incrementViewCounter(String className,
                                       long classPK)
                                throws PortalException
Specified by:
incrementViewCounter in interface AssetEntryService
Throws:
PortalException

updateEntry

@Deprecated
public 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)

Specified by:
updateEntry in interface AssetEntryService
Throws:
PortalException

updateEntry

@Deprecated
public 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)

Specified by:
updateEntry in interface AssetEntryService
Throws:
PortalException

updateEntry

public 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
Specified by:
updateEntry in interface AssetEntryService
Throws:
PortalException

updateEntry

@Deprecated
public 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)

Specified by:
updateEntry in interface AssetEntryService
Throws:
PortalException

getWrappedService

public AssetEntryService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<AssetEntryService>

setWrappedService

public void setWrappedService(AssetEntryService assetEntryService)
Specified by:
setWrappedService in interface ServiceWrapper<AssetEntryService>

Liferay 7.0-ce-b4