Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service.base
Class AssetTagLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetTagLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AssetTagLocalService
Direct Known Subclasses:
AssetTagLocalServiceImpl

public abstract class AssetTagLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AssetTagLocalService, IdentifiableBean

The base implementation of the asset tag local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in AssetTagLocalServiceImpl.

See Also:
AssetTagLocalServiceImpl, AssetTagLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetCategoryFinder assetCategoryFinder
           
protected  AssetCategoryLocalService assetCategoryLocalService
           
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetCategoryPropertyFinder assetCategoryPropertyFinder
           
protected  AssetCategoryPropertyLocalService assetCategoryPropertyLocalService
           
protected  AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
           
protected  AssetCategoryPropertyService assetCategoryPropertyService
           
protected  AssetCategoryService assetCategoryService
           
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  AssetLinkLocalService assetLinkLocalService
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagPropertyFinder assetTagPropertyFinder
           
protected  AssetTagPropertyKeyFinder assetTagPropertyKeyFinder
           
protected  AssetTagPropertyLocalService assetTagPropertyLocalService
           
protected  AssetTagPropertyPersistence assetTagPropertyPersistence
           
protected  AssetTagPropertyService assetTagPropertyService
           
protected  AssetTagService assetTagService
           
protected  AssetTagStatsLocalService assetTagStatsLocalService
           
protected  AssetTagStatsPersistence assetTagStatsPersistence
           
protected  AssetVocabularyFinder assetVocabularyFinder
           
protected  AssetVocabularyLocalService assetVocabularyLocalService
           
protected  AssetVocabularyPersistence assetVocabularyPersistence
           
protected  AssetVocabularyService assetVocabularyService
           
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
AssetTagLocalServiceBaseImpl()
           
 
Method Summary
 void addAssetEntryAssetTag(long entryId, AssetTag assetTag)
           
 void addAssetEntryAssetTag(long entryId, long tagId)
           
 void addAssetEntryAssetTags(long entryId, List<AssetTag> AssetTags)
           
 void addAssetEntryAssetTags(long entryId, long[] tagIds)
           
 AssetTag addAssetTag(AssetTag assetTag)
          Adds the asset tag to the database.
 void afterPropertiesSet()
           
 void clearAssetEntryAssetTags(long entryId)
           
 AssetTag createAssetTag(long tagId)
          Creates a new asset tag with the primary key.
 void deleteAssetEntryAssetTag(long entryId, AssetTag assetTag)
           
 void deleteAssetEntryAssetTag(long entryId, long tagId)
           
 void deleteAssetEntryAssetTags(long entryId, List<AssetTag> AssetTags)
           
 void deleteAssetEntryAssetTags(long entryId, long[] tagIds)
           
 AssetTag deleteAssetTag(AssetTag assetTag)
          Deletes the asset tag from the database.
 AssetTag deleteAssetTag(long tagId)
          Deletes the asset tag with the primary key from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 AssetTag fetchAssetTag(long tagId)
           
 AssetCategoryFinder getAssetCategoryFinder()
          Returns the asset category finder.
 AssetCategoryLocalService getAssetCategoryLocalService()
          Returns the asset category local service.
 AssetCategoryPersistence getAssetCategoryPersistence()
          Returns the asset category persistence.
 AssetCategoryPropertyFinder getAssetCategoryPropertyFinder()
          Returns the asset category property finder.
 AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService()
          Returns the asset category property local service.
 AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence()
          Returns the asset category property persistence.
 AssetCategoryPropertyService getAssetCategoryPropertyService()
          Returns the asset category property remote service.
 AssetCategoryService getAssetCategoryService()
          Returns the asset category remote service.
 List<AssetTag> getAssetEntryAssetTags(long entryId)
           
 List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end)
           
 List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetEntryAssetTagsCount(long entryId)
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 AssetLinkLocalService getAssetLinkLocalService()
          Returns the asset link local service.
 AssetLinkPersistence getAssetLinkPersistence()
          Returns the asset link persistence.
 AssetTag getAssetTag(long tagId)
          Returns the asset tag with the primary key.
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 AssetTagPropertyFinder getAssetTagPropertyFinder()
          Returns the asset tag property finder.
 AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder()
          Returns the asset tag property key finder.
 AssetTagPropertyLocalService getAssetTagPropertyLocalService()
          Returns the asset tag property local service.
 AssetTagPropertyPersistence getAssetTagPropertyPersistence()
          Returns the asset tag property persistence.
 AssetTagPropertyService getAssetTagPropertyService()
          Returns the asset tag property remote service.
 List<AssetTag> getAssetTags(int start, int end)
          Returns a range of all the asset tags.
 int getAssetTagsCount()
          Returns the number of asset tags.
 AssetTagService getAssetTagService()
          Returns the asset tag remote service.
 AssetTagStatsLocalService getAssetTagStatsLocalService()
          Returns the asset tag stats local service.
 AssetTagStatsPersistence getAssetTagStatsPersistence()
          Returns the asset tag stats persistence.
 AssetVocabularyFinder getAssetVocabularyFinder()
          Returns the asset vocabulary finder.
 AssetVocabularyLocalService getAssetVocabularyLocalService()
          Returns the asset vocabulary local service.
 AssetVocabularyPersistence getAssetVocabularyPersistence()
          Returns the asset vocabulary persistence.
 AssetVocabularyService getAssetVocabularyService()
          Returns the asset vocabulary remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
 boolean hasAssetEntryAssetTag(long entryId, long tagId)
           
 boolean hasAssetEntryAssetTags(long entryId)
           
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
          Sets the asset category finder.
 void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
          Sets the asset category local service.
 void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
          Sets the asset category persistence.
 void setAssetCategoryPropertyFinder(AssetCategoryPropertyFinder assetCategoryPropertyFinder)
          Sets the asset category property finder.
 void setAssetCategoryPropertyLocalService(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
          Sets the asset category property local service.
 void setAssetCategoryPropertyPersistence(AssetCategoryPropertyPersistence assetCategoryPropertyPersistence)
          Sets the asset category property persistence.
 void setAssetCategoryPropertyService(AssetCategoryPropertyService assetCategoryPropertyService)
          Sets the asset category property remote service.
 void setAssetCategoryService(AssetCategoryService assetCategoryService)
          Sets the asset category remote service.
 void setAssetEntryAssetTags(long entryId, long[] tagIds)
           
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
          Sets the asset link local service.
 void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
          Sets the asset link persistence.
 void setAssetTagFinder(AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setAssetTagPropertyFinder(AssetTagPropertyFinder assetTagPropertyFinder)
          Sets the asset tag property finder.
 void setAssetTagPropertyKeyFinder(AssetTagPropertyKeyFinder assetTagPropertyKeyFinder)
          Sets the asset tag property key finder.
 void setAssetTagPropertyLocalService(AssetTagPropertyLocalService assetTagPropertyLocalService)
          Sets the asset tag property local service.
 void setAssetTagPropertyPersistence(AssetTagPropertyPersistence assetTagPropertyPersistence)
          Sets the asset tag property persistence.
 void setAssetTagPropertyService(AssetTagPropertyService assetTagPropertyService)
          Sets the asset tag property remote service.
 void setAssetTagService(AssetTagService assetTagService)
          Sets the asset tag remote service.
 void setAssetTagStatsLocalService(AssetTagStatsLocalService assetTagStatsLocalService)
          Sets the asset tag stats local service.
 void setAssetTagStatsPersistence(AssetTagStatsPersistence assetTagStatsPersistence)
          Sets the asset tag stats persistence.
 void setAssetVocabularyFinder(AssetVocabularyFinder assetVocabularyFinder)
          Sets the asset vocabulary finder.
 void setAssetVocabularyLocalService(AssetVocabularyLocalService assetVocabularyLocalService)
          Sets the asset vocabulary local service.
 void setAssetVocabularyPersistence(AssetVocabularyPersistence assetVocabularyPersistence)
          Sets the asset vocabulary persistence.
 void setAssetVocabularyService(AssetVocabularyService assetVocabularyService)
          Sets the asset vocabulary remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 AssetTag updateAssetTag(AssetTag assetTag)
          Updates the asset tag in the database or adds it if it does not yet exist.
 AssetTag updateAssetTag(AssetTag assetTag, boolean merge)
          Updates the asset tag in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.asset.service.AssetTagLocalService
addTag, addTagResources, addTagResources, checkTags, decrementAssetCount, deleteTag, deleteTag, getEntryTags, getGroupsTags, getGroupTags, getGroupTags, getGroupTagsCount, getSocialActivityCounterOffsetTags, getSocialActivityCounterPeriodTags, getTag, getTag, getTagIds, getTagIds, getTagIds, getTagNames, getTagNames, getTagNames, getTags, getTags, getTags, getTags, getTags, getTagsSize, hasTag, incrementAssetCount, mergeTags, search, search, updateTag
 

Field Detail

assetCategoryLocalService

@BeanReference(type=AssetCategoryLocalService.class)
protected AssetCategoryLocalService assetCategoryLocalService

assetCategoryService

@BeanReference(type=AssetCategoryService.class)
protected AssetCategoryService assetCategoryService

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetCategoryFinder

@BeanReference(type=AssetCategoryFinder.class)
protected AssetCategoryFinder assetCategoryFinder

assetCategoryPropertyLocalService

@BeanReference(type=AssetCategoryPropertyLocalService.class)
protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService

assetCategoryPropertyService

@BeanReference(type=AssetCategoryPropertyService.class)
protected AssetCategoryPropertyService assetCategoryPropertyService

assetCategoryPropertyPersistence

@BeanReference(type=AssetCategoryPropertyPersistence.class)
protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetCategoryPropertyFinder

@BeanReference(type=AssetCategoryPropertyFinder.class)
protected AssetCategoryPropertyFinder assetCategoryPropertyFinder

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

assetLinkLocalService

@BeanReference(type=AssetLinkLocalService.class)
protected AssetLinkLocalService assetLinkLocalService

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagLocalService

@BeanReference(type=AssetTagLocalService.class)
protected AssetTagLocalService assetTagLocalService

assetTagService

@BeanReference(type=AssetTagService.class)
protected AssetTagService assetTagService

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=AssetTagFinder.class)
protected AssetTagFinder assetTagFinder

assetTagPropertyLocalService

@BeanReference(type=AssetTagPropertyLocalService.class)
protected AssetTagPropertyLocalService assetTagPropertyLocalService

assetTagPropertyService

@BeanReference(type=AssetTagPropertyService.class)
protected AssetTagPropertyService assetTagPropertyService

assetTagPropertyPersistence

@BeanReference(type=AssetTagPropertyPersistence.class)
protected AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagPropertyFinder

@BeanReference(type=AssetTagPropertyFinder.class)
protected AssetTagPropertyFinder assetTagPropertyFinder

assetTagPropertyKeyFinder

@BeanReference(type=AssetTagPropertyKeyFinder.class)
protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder

assetTagStatsLocalService

@BeanReference(type=AssetTagStatsLocalService.class)
protected AssetTagStatsLocalService assetTagStatsLocalService

assetTagStatsPersistence

@BeanReference(type=AssetTagStatsPersistence.class)
protected AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyLocalService

@BeanReference(type=AssetVocabularyLocalService.class)
protected AssetVocabularyLocalService assetVocabularyLocalService

assetVocabularyService

@BeanReference(type=AssetVocabularyService.class)
protected AssetVocabularyService assetVocabularyService

assetVocabularyPersistence

@BeanReference(type=AssetVocabularyPersistence.class)
protected AssetVocabularyPersistence assetVocabularyPersistence

assetVocabularyFinder

@BeanReference(type=AssetVocabularyFinder.class)
protected AssetVocabularyFinder assetVocabularyFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

AssetTagLocalServiceBaseImpl

public AssetTagLocalServiceBaseImpl()
Method Detail

addAssetTag

@Indexable(type=REINDEX)
public AssetTag addAssetTag(AssetTag assetTag)
                     throws SystemException
Adds the asset tag to the database. Also notifies the appropriate model listeners.

Specified by:
addAssetTag in interface AssetTagLocalService
Parameters:
assetTag - the asset tag
Returns:
the asset tag that was added
Throws:
SystemException - if a system exception occurred

createAssetTag

public AssetTag createAssetTag(long tagId)
Creates a new asset tag with the primary key. Does not add the asset tag to the database.

Specified by:
createAssetTag in interface AssetTagLocalService
Parameters:
tagId - the primary key for the new asset tag
Returns:
the new asset tag

deleteAssetTag

@Indexable(type=DELETE)
public AssetTag deleteAssetTag(long tagId)
                        throws PortalException,
                               SystemException
Deletes the asset tag with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTag in interface AssetTagLocalService
Parameters:
tagId - the primary key of the asset tag
Returns:
the asset tag that was removed
Throws:
PortalException - if a asset tag with the primary key could not be found
SystemException - if a system exception occurred

deleteAssetTag

@Indexable(type=DELETE)
public AssetTag deleteAssetTag(AssetTag assetTag)
                        throws SystemException
Deletes the asset tag from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTag in interface AssetTagLocalService
Parameters:
assetTag - the asset tag
Returns:
the asset tag that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface AssetTagLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchAssetTag

public AssetTag fetchAssetTag(long tagId)
                       throws SystemException
Specified by:
fetchAssetTag in interface AssetTagLocalService
Throws:
SystemException

getAssetTag

public AssetTag getAssetTag(long tagId)
                     throws PortalException,
                            SystemException
Returns the asset tag with the primary key.

Specified by:
getAssetTag in interface AssetTagLocalService
Parameters:
tagId - the primary key of the asset tag
Returns:
the asset tag
Throws:
PortalException - if a asset tag with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface AssetTagLocalService
Throws:
PortalException
SystemException

getAssetTags

public List<AssetTag> getAssetTags(int start,
                                   int end)
                            throws SystemException
Returns a range of all the asset tags.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getAssetTags in interface AssetTagLocalService
Parameters:
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
Returns:
the range of asset tags
Throws:
SystemException - if a system exception occurred

getAssetTagsCount

public int getAssetTagsCount()
                      throws SystemException
Returns the number of asset tags.

Specified by:
getAssetTagsCount in interface AssetTagLocalService
Returns:
the number of asset tags
Throws:
SystemException - if a system exception occurred

updateAssetTag

@Indexable(type=REINDEX)
public AssetTag updateAssetTag(AssetTag assetTag)
                        throws SystemException
Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetTag in interface AssetTagLocalService
Parameters:
assetTag - the asset tag
Returns:
the asset tag that was updated
Throws:
SystemException - if a system exception occurred

updateAssetTag

@Indexable(type=REINDEX)
public AssetTag updateAssetTag(AssetTag assetTag,
                                                    boolean merge)
                        throws SystemException
Updates the asset tag in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetTag in interface AssetTagLocalService
Parameters:
assetTag - the asset tag
merge - whether to merge the asset tag with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the asset tag that was updated
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetTag

public void addAssetEntryAssetTag(long entryId,
                                  long tagId)
                           throws SystemException
Specified by:
addAssetEntryAssetTag in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetTag

public void addAssetEntryAssetTag(long entryId,
                                  AssetTag assetTag)
                           throws SystemException
Specified by:
addAssetEntryAssetTag in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetTags

public void addAssetEntryAssetTags(long entryId,
                                   long[] tagIds)
                            throws SystemException
Specified by:
addAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetTags

public void addAssetEntryAssetTags(long entryId,
                                   List<AssetTag> AssetTags)
                            throws SystemException
Specified by:
addAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

clearAssetEntryAssetTags

public void clearAssetEntryAssetTags(long entryId)
                              throws SystemException
Specified by:
clearAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetTag

public void deleteAssetEntryAssetTag(long entryId,
                                     long tagId)
                              throws SystemException
Specified by:
deleteAssetEntryAssetTag in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetTag

public void deleteAssetEntryAssetTag(long entryId,
                                     AssetTag assetTag)
                              throws SystemException
Specified by:
deleteAssetEntryAssetTag in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetTags

public void deleteAssetEntryAssetTags(long entryId,
                                      long[] tagIds)
                               throws SystemException
Specified by:
deleteAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetTags

public void deleteAssetEntryAssetTags(long entryId,
                                      List<AssetTag> AssetTags)
                               throws SystemException
Specified by:
deleteAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId)
                                      throws SystemException
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId,
                                             int start,
                                             int end)
                                      throws SystemException
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetTagsCount

public int getAssetEntryAssetTagsCount(long entryId)
                                throws SystemException
Specified by:
getAssetEntryAssetTagsCount in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

hasAssetEntryAssetTag

public boolean hasAssetEntryAssetTag(long entryId,
                                     long tagId)
                              throws SystemException
Specified by:
hasAssetEntryAssetTag in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

hasAssetEntryAssetTags

public boolean hasAssetEntryAssetTags(long entryId)
                               throws SystemException
Specified by:
hasAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

setAssetEntryAssetTags

public void setAssetEntryAssetTags(long entryId,
                                   long[] tagIds)
                            throws SystemException
Specified by:
setAssetEntryAssetTags in interface AssetTagLocalService
Throws:
SystemException - if a system exception occurred

getAssetCategoryLocalService

public AssetCategoryLocalService getAssetCategoryLocalService()
Returns the asset category local service.

Returns:
the asset category local service

setAssetCategoryLocalService

public void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Sets the asset category local service.

Parameters:
assetCategoryLocalService - the asset category local service

getAssetCategoryService

public AssetCategoryService getAssetCategoryService()
Returns the asset category remote service.

Returns:
the asset category remote service

setAssetCategoryService

public void setAssetCategoryService(AssetCategoryService assetCategoryService)
Sets the asset category remote service.

Parameters:
assetCategoryService - the asset category remote service

getAssetCategoryPersistence

public AssetCategoryPersistence getAssetCategoryPersistence()
Returns the asset category persistence.

Returns:
the asset category persistence

setAssetCategoryPersistence

public void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
Sets the asset category persistence.

Parameters:
assetCategoryPersistence - the asset category persistence

getAssetCategoryFinder

public AssetCategoryFinder getAssetCategoryFinder()
Returns the asset category finder.

Returns:
the asset category finder

setAssetCategoryFinder

public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
Sets the asset category finder.

Parameters:
assetCategoryFinder - the asset category finder

getAssetCategoryPropertyLocalService

public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService()
Returns the asset category property local service.

Returns:
the asset category property local service

setAssetCategoryPropertyLocalService

public void setAssetCategoryPropertyLocalService(AssetCategoryPropertyLocalService assetCategoryPropertyLocalService)
Sets the asset category property local service.

Parameters:
assetCategoryPropertyLocalService - the asset category property local service

getAssetCategoryPropertyService

public AssetCategoryPropertyService getAssetCategoryPropertyService()
Returns the asset category property remote service.

Returns:
the asset category property remote service

setAssetCategoryPropertyService

public void setAssetCategoryPropertyService(AssetCategoryPropertyService assetCategoryPropertyService)
Sets the asset category property remote service.

Parameters:
assetCategoryPropertyService - the asset category property remote service

getAssetCategoryPropertyPersistence

public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence()
Returns the asset category property persistence.

Returns:
the asset category property persistence

setAssetCategoryPropertyPersistence

public void setAssetCategoryPropertyPersistence(AssetCategoryPropertyPersistence assetCategoryPropertyPersistence)
Sets the asset category property persistence.

Parameters:
assetCategoryPropertyPersistence - the asset category property persistence

getAssetCategoryPropertyFinder

public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder()
Returns the asset category property finder.

Returns:
the asset category property finder

setAssetCategoryPropertyFinder

public void setAssetCategoryPropertyFinder(AssetCategoryPropertyFinder assetCategoryPropertyFinder)
Sets the asset category property finder.

Parameters:
assetCategoryPropertyFinder - the asset category property finder

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getAssetLinkLocalService

public AssetLinkLocalService getAssetLinkLocalService()
Returns the asset link local service.

Returns:
the asset link local service

setAssetLinkLocalService

public void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service.

Parameters:
assetLinkLocalService - the asset link local service

getAssetLinkPersistence

public AssetLinkPersistence getAssetLinkPersistence()
Returns the asset link persistence.

Returns:
the asset link persistence

setAssetLinkPersistence

public void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence.

Parameters:
assetLinkPersistence - the asset link persistence

getAssetTagLocalService

public AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagService

public AssetTagService getAssetTagService()
Returns the asset tag remote service.

Returns:
the asset tag remote service

setAssetTagService

public void setAssetTagService(AssetTagService assetTagService)
Sets the asset tag remote service.

Parameters:
assetTagService - the asset tag remote service

getAssetTagPersistence

public AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag finder

getAssetTagPropertyLocalService

public AssetTagPropertyLocalService getAssetTagPropertyLocalService()
Returns the asset tag property local service.

Returns:
the asset tag property local service

setAssetTagPropertyLocalService

public void setAssetTagPropertyLocalService(AssetTagPropertyLocalService assetTagPropertyLocalService)
Sets the asset tag property local service.

Parameters:
assetTagPropertyLocalService - the asset tag property local service

getAssetTagPropertyService

public AssetTagPropertyService getAssetTagPropertyService()
Returns the asset tag property remote service.

Returns:
the asset tag property remote service

setAssetTagPropertyService

public void setAssetTagPropertyService(AssetTagPropertyService assetTagPropertyService)
Sets the asset tag property remote service.

Parameters:
assetTagPropertyService - the asset tag property remote service

getAssetTagPropertyPersistence

public AssetTagPropertyPersistence getAssetTagPropertyPersistence()
Returns the asset tag property persistence.

Returns:
the asset tag property persistence

setAssetTagPropertyPersistence

public void setAssetTagPropertyPersistence(AssetTagPropertyPersistence assetTagPropertyPersistence)
Sets the asset tag property persistence.

Parameters:
assetTagPropertyPersistence - the asset tag property persistence

getAssetTagPropertyFinder

public AssetTagPropertyFinder getAssetTagPropertyFinder()
Returns the asset tag property finder.

Returns:
the asset tag property finder

setAssetTagPropertyFinder

public void setAssetTagPropertyFinder(AssetTagPropertyFinder assetTagPropertyFinder)
Sets the asset tag property finder.

Parameters:
assetTagPropertyFinder - the asset tag property finder

getAssetTagPropertyKeyFinder

public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder()
Returns the asset tag property key finder.

Returns:
the asset tag property key finder

setAssetTagPropertyKeyFinder

public void setAssetTagPropertyKeyFinder(AssetTagPropertyKeyFinder assetTagPropertyKeyFinder)
Sets the asset tag property key finder.

Parameters:
assetTagPropertyKeyFinder - the asset tag property key finder

getAssetTagStatsLocalService

public AssetTagStatsLocalService getAssetTagStatsLocalService()
Returns the asset tag stats local service.

Returns:
the asset tag stats local service

setAssetTagStatsLocalService

public void setAssetTagStatsLocalService(AssetTagStatsLocalService assetTagStatsLocalService)
Sets the asset tag stats local service.

Parameters:
assetTagStatsLocalService - the asset tag stats local service

getAssetTagStatsPersistence

public AssetTagStatsPersistence getAssetTagStatsPersistence()
Returns the asset tag stats persistence.

Returns:
the asset tag stats persistence

setAssetTagStatsPersistence

public void setAssetTagStatsPersistence(AssetTagStatsPersistence assetTagStatsPersistence)
Sets the asset tag stats persistence.

Parameters:
assetTagStatsPersistence - the asset tag stats persistence

getAssetVocabularyLocalService

public AssetVocabularyLocalService getAssetVocabularyLocalService()
Returns the asset vocabulary local service.

Returns:
the asset vocabulary local service

setAssetVocabularyLocalService

public void setAssetVocabularyLocalService(AssetVocabularyLocalService assetVocabularyLocalService)
Sets the asset vocabulary local service.

Parameters:
assetVocabularyLocalService - the asset vocabulary local service

getAssetVocabularyService

public AssetVocabularyService getAssetVocabularyService()
Returns the asset vocabulary remote service.

Returns:
the asset vocabulary remote service

setAssetVocabularyService

public void setAssetVocabularyService(AssetVocabularyService assetVocabularyService)
Sets the asset vocabulary remote service.

Parameters:
assetVocabularyService - the asset vocabulary remote service

getAssetVocabularyPersistence

public AssetVocabularyPersistence getAssetVocabularyPersistence()
Returns the asset vocabulary persistence.

Returns:
the asset vocabulary persistence

setAssetVocabularyPersistence

public void setAssetVocabularyPersistence(AssetVocabularyPersistence assetVocabularyPersistence)
Sets the asset vocabulary persistence.

Parameters:
assetVocabularyPersistence - the asset vocabulary persistence

getAssetVocabularyFinder

public AssetVocabularyFinder getAssetVocabularyFinder()
Returns the asset vocabulary finder.

Returns:
the asset vocabulary finder

setAssetVocabularyFinder

public void setAssetVocabularyFinder(AssetVocabularyFinder assetVocabularyFinder)
Sets the asset vocabulary finder.

Parameters:
assetVocabularyFinder - the asset vocabulary finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface AssetTagLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface AssetTagLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.1.2-ce-ga3