Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service
Class AssetEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetEntryServiceUtil

@ProviderType
public class AssetEntryServiceUtil
extends Object

Provides the remote service utility for AssetEntry. This utility wraps com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server. 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:
AssetEntryService, com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl, com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl

Constructor Summary
AssetEntryServiceUtil()
           
 
Method Summary
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
static int getCompanyEntriesCount(long companyId)
           
static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
static int getEntriesCount(AssetEntryQuery entryQuery)
           
static AssetEntry getEntry(long entryId)
           
static AssetEntryService getService()
           
static AssetEntry incrementViewCounter(String className, long classPK)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(AssetEntryService service)
          Deprecated. As of 6.2.0
static 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)
           
static 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)
static 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

AssetEntryServiceUtil

public AssetEntryServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

getCompanyEntries

public static List<AssetEntry> getCompanyEntries(long companyId,
                                                 int start,
                                                 int end)
                                          throws SystemException
Throws:
SystemException

getCompanyEntriesCount

public static int getCompanyEntriesCount(long companyId)
                                  throws SystemException
Throws:
SystemException

getEntries

public static List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getEntriesCount

public static int getEntriesCount(AssetEntryQuery entryQuery)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getEntry

public static AssetEntry getEntry(long entryId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

incrementViewCounter

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

updateEntry

public static 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,
                                     SystemException
Throws:
PortalException
SystemException

updateEntry

public static 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. 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
SystemException

updateEntry

public static 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,
                                     SystemException
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
SystemException

getService

public static AssetEntryService getService()

setService

public void setService(AssetEntryService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5