com.liferay.portlet.tags.service.impl
Class TagsAssetServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.tags.service.impl.TagsAssetServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tags.service.TagsAssetService

public class TagsAssetServiceImpl
extends PrincipalBean
implements com.liferay.portlet.tags.service.TagsAssetService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
TagsAssetServiceImpl()
           
 
Method Summary
 void deleteAsset(long assetId)
           
 com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
           
 com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(java.lang.String languageId)
           
 com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(long companyId, int begin, int end, java.lang.String languageId)
           
 java.util.List getCompanyAssets(long companyId, int begin, int end)
           
 int getCompanyAssetsCount(long companyId)
           
 com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int begin, int end)
           
 int searchAssetDisplaysCount(long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId)
           
 com.liferay.portlet.tags.model.TagsAsset updateAsset(java.lang.String className, long classPK, java.lang.String[] entryNames, 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)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetServiceImpl

public TagsAssetServiceImpl()
Method Detail

deleteAsset

public void deleteAsset(long assetId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteAsset in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAsset

public com.liferay.portlet.tags.model.TagsAsset getAsset(long assetId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Specified by:
getAsset in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetTypes

public com.liferay.portlet.tags.model.TagsAssetType[] getAssetTypes(java.lang.String languageId)
Specified by:
getAssetTypes in interface com.liferay.portlet.tags.service.TagsAssetService

getCompanyAssetDisplays

public com.liferay.portlet.tags.model.TagsAssetDisplay[] getCompanyAssetDisplays(long companyId,
                                                                                 int begin,
                                                                                 int end,
                                                                                 java.lang.String languageId)
                                                                          throws com.liferay.portal.PortalException,
                                                                                 com.liferay.portal.SystemException
Specified by:
getCompanyAssetDisplays in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyAssets

public java.util.List getCompanyAssets(long companyId,
                                       int begin,
                                       int end)
                                throws com.liferay.portal.SystemException
Specified by:
getCompanyAssets in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.SystemException

getCompanyAssetsCount

public int getCompanyAssetsCount(long companyId)
                          throws com.liferay.portal.SystemException
Specified by:
getCompanyAssetsCount in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.SystemException

searchAssetDisplays

public com.liferay.portlet.tags.model.TagsAssetDisplay[] searchAssetDisplays(long companyId,
                                                                             java.lang.String portletId,
                                                                             java.lang.String keywords,
                                                                             java.lang.String languageId,
                                                                             int begin,
                                                                             int end)
                                                                      throws com.liferay.portal.PortalException,
                                                                             com.liferay.portal.SystemException
Specified by:
searchAssetDisplays in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

searchAssetDisplaysCount

public int searchAssetDisplaysCount(long companyId,
                                    java.lang.String portletId,
                                    java.lang.String keywords,
                                    java.lang.String languageId)
                             throws com.liferay.portal.SystemException
Specified by:
searchAssetDisplaysCount in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.SystemException

updateAsset

public com.liferay.portlet.tags.model.TagsAsset updateAsset(java.lang.String className,
                                                            long classPK,
                                                            java.lang.String[] entryNames,
                                                            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)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Specified by:
updateAsset in interface com.liferay.portlet.tags.service.TagsAssetService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException