com.liferay.portlet.asset.service
Class AssetEntryLocalServiceUtil

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

public class AssetEntryLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the AssetEntryLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
AssetEntryLocalService
Generated:

Constructor Summary
AssetEntryLocalServiceUtil()
           
 
Method Summary
static AssetEntry addAssetEntry(AssetEntry assetEntry)
           
static AssetEntry createAssetEntry(long entryId)
           
static void deleteAssetEntry(AssetEntry assetEntry)
           
static void deleteAssetEntry(long entryId)
           
static void deleteEntry(AssetEntry entry)
           
static void deleteEntry(long entryId)
           
static void deleteEntry(java.lang.String className, long classPK)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static java.util.List<AssetEntry> getAncestorEntries(long entryId)
           
static java.util.List<AssetEntry> getAssetEntries(int start, int end)
           
static int getAssetEntriesCount()
           
static AssetEntry getAssetEntry(long entryId)
           
static java.util.List<AssetEntry> getChildEntries(long entryId)
           
static java.util.List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
static int getCompanyEntriesCount(long companyId)
           
static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, java.lang.String languageId)
           
static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
static int getEntriesCount(AssetEntryQuery entryQuery)
           
static AssetEntry getEntry(long entryId)
           
static AssetEntry getEntry(java.lang.String className, long classPK)
           
static AssetEntry getNextEntry(long entryId)
           
static AssetEntry getParentEntry(long entryId)
           
static AssetEntry getPreviousEntry(long entryId)
           
static AssetEntryLocalService getService()
           
static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className, boolean asc, int start, int end)
           
static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className, boolean asc, int start, int end)
           
static void incrementViewCounter(long userId, java.lang.String className, long classPK)
           
static Hits search(long companyId, long[] groupIds, java.lang.String portletId, java.lang.String userName, java.lang.String title, java.lang.String description, java.lang.String assetCategoryIds, java.lang.String assetTagNames, boolean andSearch, int start, int end)
           
static Hits search(long companyId, java.lang.String portletId, java.lang.String keywords, int start, int end)
           
static AssetEntryDisplay[] searchEntryDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int start, int end)
           
static int searchEntryDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 void setService(AssetEntryLocalService service)
           
static AssetEntry updateAssetEntry(AssetEntry assetEntry)
           
static AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge)
           
static AssetEntry updateEntry(long userId, long groupId, java.lang.String className, long classPK, long[] categoryIds, java.lang.String[] tagNames)
           
static AssetEntry updateEntry(long userId, long groupId, java.lang.String className, long classPK, long[] categoryIds, java.lang.String[] tagNames, boolean visible, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority, boolean sync)
           
static AssetEntry updateVisible(java.lang.String className, long classPK, boolean visible)
           
static void validate(java.lang.String className, long[] categoryIds, java.lang.String[] tagNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetEntryLocalServiceUtil

public AssetEntryLocalServiceUtil()
Method Detail

addAssetEntry

public static AssetEntry addAssetEntry(AssetEntry assetEntry)
                                throws SystemException
Throws:
SystemException

createAssetEntry

public static AssetEntry createAssetEntry(long entryId)

deleteAssetEntry

public static void deleteAssetEntry(long entryId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

deleteAssetEntry

public static void deleteAssetEntry(AssetEntry assetEntry)
                             throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getAssetEntry

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

getAssetEntries

public static java.util.List<AssetEntry> getAssetEntries(int start,
                                                         int end)
                                                  throws SystemException
Throws:
SystemException

getAssetEntriesCount

public static int getAssetEntriesCount()
                                throws SystemException
Throws:
SystemException

updateAssetEntry

public static AssetEntry updateAssetEntry(AssetEntry assetEntry)
                                   throws SystemException
Throws:
SystemException

updateAssetEntry

public static AssetEntry updateAssetEntry(AssetEntry assetEntry,
                                          boolean merge)
                                   throws SystemException
Throws:
SystemException

deleteEntry

public static void deleteEntry(AssetEntry entry)
                        throws SystemException
Throws:
SystemException

deleteEntry

public static void deleteEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteEntry

public static void deleteEntry(java.lang.String className,
                               long classPK)
                        throws SystemException
Throws:
SystemException

getAncestorEntries

public static java.util.List<AssetEntry> getAncestorEntries(long entryId)
                                                     throws PortalException,
                                                            SystemException
Throws:
PortalException
SystemException

getChildEntries

public static java.util.List<AssetEntry> getChildEntries(long entryId)
                                                  throws PortalException,
                                                         SystemException
Throws:
PortalException
SystemException

getCompanyEntries

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

getCompanyEntriesCount

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

getCompanyEntryDisplays

public static AssetEntryDisplay[] getCompanyEntryDisplays(long companyId,
                                                          int start,
                                                          int end,
                                                          java.lang.String languageId)
                                                   throws SystemException
Throws:
SystemException

getEntries

public static java.util.List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                                             throws SystemException
Throws:
SystemException

getEntriesCount

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

getEntry

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

getEntry

public static AssetEntry getEntry(java.lang.String className,
                                  long classPK)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getNextEntry

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

getParentEntry

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

getPreviousEntry

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

getTopViewedEntries

public static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String className,
                                                             boolean asc,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException

getTopViewedEntries

public static java.util.List<AssetEntry> getTopViewedEntries(java.lang.String[] className,
                                                             boolean asc,
                                                             int start,
                                                             int end)
                                                      throws SystemException
Throws:
SystemException

incrementViewCounter

public static void incrementViewCounter(long userId,
                                        java.lang.String className,
                                        long classPK)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

search

public static Hits search(long companyId,
                          java.lang.String portletId,
                          java.lang.String keywords,
                          int start,
                          int end)
                   throws SystemException
Throws:
SystemException

search

public static Hits search(long companyId,
                          long[] groupIds,
                          java.lang.String portletId,
                          java.lang.String userName,
                          java.lang.String title,
                          java.lang.String description,
                          java.lang.String assetCategoryIds,
                          java.lang.String assetTagNames,
                          boolean andSearch,
                          int start,
                          int end)
                   throws SystemException
Throws:
SystemException

searchEntryDisplays

public static AssetEntryDisplay[] searchEntryDisplays(long companyId,
                                                      java.lang.String portletId,
                                                      java.lang.String keywords,
                                                      java.lang.String languageId,
                                                      int start,
                                                      int end)
                                               throws SystemException
Throws:
SystemException

searchEntryDisplaysCount

public static int searchEntryDisplaysCount(long companyId,
                                           java.lang.String portletId,
                                           java.lang.String keywords,
                                           java.lang.String languageId)
                                    throws SystemException
Throws:
SystemException

updateEntry

public static AssetEntry updateEntry(long userId,
                                     long groupId,
                                     java.lang.String className,
                                     long classPK,
                                     long[] categoryIds,
                                     java.lang.String[] tagNames)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateEntry

public static AssetEntry updateEntry(long userId,
                                     long groupId,
                                     java.lang.String className,
                                     long classPK,
                                     long[] categoryIds,
                                     java.lang.String[] tagNames,
                                     boolean visible,
                                     java.util.Date startDate,
                                     java.util.Date endDate,
                                     java.util.Date publishDate,
                                     java.util.Date expirationDate,
                                     java.lang.String mimeType,
                                     java.lang.String title,
                                     java.lang.String description,
                                     java.lang.String summary,
                                     java.lang.String url,
                                     int height,
                                     int width,
                                     java.lang.Integer priority,
                                     boolean sync)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

updateVisible

public static AssetEntry updateVisible(java.lang.String className,
                                       long classPK,
                                       boolean visible)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

validate

public static void validate(java.lang.String className,
                            long[] categoryIds,
                            java.lang.String[] tagNames)
                     throws PortalException
Throws:
PortalException

getService

public static AssetEntryLocalService getService()

setService

public void setService(AssetEntryLocalService service)