Liferay 6.0.5

com.liferay.portlet.asset.service.impl
Class AssetEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
All Implemented Interfaces:
AssetEntryService

public class AssetEntryServiceImpl
extends AssetEntryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, companyLocalService, companyPersistence, companyService, counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, groupFinder, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialEquityLogLocalService, socialEquityLogPersistence, userFinder, userLocalService, userPersistence, userService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
AssetEntryServiceImpl()
           
 
Method Summary
 void deleteEntry(long entryId)
           
protected  String exportToRSS(String name, String description, String type, double version, String displayStyle, String feedURL, String tagURL, List<AssetEntry> assetEntries)
           
protected  long[] filterCategoryIds(long[] categoryIds)
           
protected  Object[] filterQuery(AssetEntryQuery entryQuery)
           
protected  long[] filterTagIds(long[] tagIds)
           
 List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
 int getCompanyEntriesCount(long companyId)
           
 String getCompanyEntriesRSS(long companyId, int max, String type, double version, String displayStyle, String feedURL, String tagURL)
           
 AssetEntryDisplay[] getCompanyEntryDisplays(long companyId, int start, int end, String languageId)
           
 List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
 int getEntriesCount(AssetEntryQuery entryQuery)
           
 String getEntriesRSS(AssetEntryQuery entryQuery, String name, String type, double version, String displayStyle, String feedURL, String tagURL)
           
 AssetEntry getEntry(long entryId)
           
 void incrementViewCounter(String className, long classPK)
           
 AssetEntryDisplay[] searchEntryDisplays(long companyId, String portletId, String keywords, String languageId, int start, int end)
           
 int searchEntryDisplaysCount(long companyId, String portletId, String keywords, String languageId)
           
protected  void setupQuery(AssetEntryQuery entryQuery)
           
 AssetEntry updateEntry(long groupId, String className, long classPK, String classUuid, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, int height, int width, Integer priority, boolean sync)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetEntryServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetEntryServiceImpl

public AssetEntryServiceImpl()
Method Detail

deleteEntry

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

getCompanyEntries

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

getCompanyEntriesCount

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

getCompanyEntriesRSS

public String getCompanyEntriesRSS(long companyId,
                                   int max,
                                   String type,
                                   double version,
                                   String displayStyle,
                                   String feedURL,
                                   String tagURL)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getCompanyEntryDisplays

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

getEntries

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

getEntriesCount

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

getEntriesRSS

public String getEntriesRSS(AssetEntryQuery entryQuery,
                            String name,
                            String type,
                            double version,
                            String displayStyle,
                            String feedURL,
                            String tagURL)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getEntry

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

incrementViewCounter

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

searchEntryDisplays

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

searchEntryDisplaysCount

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

updateEntry

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

exportToRSS

protected String exportToRSS(String name,
                             String description,
                             String type,
                             double version,
                             String displayStyle,
                             String feedURL,
                             String tagURL,
                             List<AssetEntry> assetEntries)
                      throws SystemException
Throws:
SystemException

filterCategoryIds

protected long[] filterCategoryIds(long[] categoryIds)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

filterTagIds

protected long[] filterTagIds(long[] tagIds)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

filterQuery

protected Object[] filterQuery(AssetEntryQuery entryQuery)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

setupQuery

protected void setupQuery(AssetEntryQuery entryQuery)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5