Liferay 7.0-ce-b4

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:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, AssetTagLocalService
Direct Known Subclasses:
AssetTagLocalServiceImpl

@ProviderType
public abstract class AssetTagLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AssetTagLocalService, IdentifiableOSGiService

Provides the base implementation for 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  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagStatsLocalService assetTagStatsLocalService
           
protected  AssetTagStatsPersistence assetTagStatsPersistence
           
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
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.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 AssetTag fetchAssetTag(long tagId)
           
 AssetTag fetchAssetTagByUuidAndGroupId(String uuid, long groupId)
          Returns the asset tag matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 List<AssetTag> getAssetEntryAssetTags(long entryId)
           
 List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end)
           
 List<AssetTag> getAssetEntryAssetTags(long entryId, int start, int end, OrderByComparator<AssetTag> 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.
 long[] getAssetEntryPrimaryKeys(long tagId)
          Returns the entryIds of the asset entries associated with the asset tag.
 AssetTag getAssetTag(long tagId)
          Returns the asset tag with the primary key.
 AssetTag getAssetTagByUuidAndGroupId(String uuid, long groupId)
          Returns the asset tag matching the UUID and group.
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 List<AssetTag> getAssetTags(int start, int end)
          Returns a range of all the asset tags.
 List<AssetTag> getAssetTagsByUuidAndCompanyId(String uuid, long companyId)
          Returns all the asset tags matching the UUID and company.
 List<AssetTag> getAssetTagsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetTag> orderByComparator)
          Returns a range of asset tags matching the UUID and company.
 int getAssetTagsCount()
          Returns the number of asset tags.
 AssetTagStatsLocalService getAssetTagStatsLocalService()
          Returns the asset tag stats local service.
 AssetTagStatsPersistence getAssetTagStatsPersistence()
          Returns the asset tag stats persistence.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 boolean hasAssetEntryAssetTag(long entryId, long tagId)
           
 boolean hasAssetEntryAssetTags(long entryId)
           
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 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 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 setAssetTagStatsLocalService(AssetTagStatsLocalService assetTagStatsLocalService)
          Sets the asset tag stats local service.
 void setAssetTagStatsPersistence(AssetTagStatsPersistence assetTagStatsPersistence)
          Sets the asset tag stats persistence.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local 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.
 AssetTag updateAssetTag(AssetTag assetTag)
          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, getLocalizationMap
 
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, checkTags, checkTags, decrementAssetCount, deleteGroupTags, deleteTag, deleteTag, fetchTag, 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

assetTagLocalService

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

assetTagPersistence

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

assetTagFinder

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

counterLocalService

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

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

resourceLocalService

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

userLocalService

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

userPersistence

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

userFinder

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

assetEntryLocalService

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

assetEntryPersistence

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

assetEntryFinder

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

assetTagStatsLocalService

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

assetTagStatsPersistence

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

persistedModelLocalServiceRegistry

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

AssetTagLocalServiceBaseImpl

public AssetTagLocalServiceBaseImpl()
Method Detail

addAssetTag

@Indexable(type=REINDEX)
public AssetTag addAssetTag(AssetTag assetTag)
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

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
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

deleteAssetTag

@Indexable(type=DELETE)
public AssetTag deleteAssetTag(AssetTag assetTag)
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

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AssetTagLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchAssetTag

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

fetchAssetTagByUuidAndGroupId

public AssetTag fetchAssetTagByUuidAndGroupId(String uuid,
                                              long groupId)
Returns the asset tag matching the UUID and group.

Specified by:
fetchAssetTagByUuidAndGroupId in interface AssetTagLocalService
Parameters:
uuid - the asset tag's UUID
groupId - the primary key of the group
Returns:
the matching asset tag, or null if a matching asset tag could not be found

getAssetTag

public AssetTag getAssetTag(long tagId)
                     throws PortalException
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

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface AssetTagLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface AssetTagLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface AssetTagLocalService

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface AssetTagLocalService
Throws:
PortalException

getPersistedModel

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

getAssetTagsByUuidAndCompanyId

public List<AssetTag> getAssetTagsByUuidAndCompanyId(String uuid,
                                                     long companyId)
Returns all the asset tags matching the UUID and company.

Specified by:
getAssetTagsByUuidAndCompanyId in interface AssetTagLocalService
Parameters:
uuid - the UUID of the asset tags
companyId - the primary key of the company
Returns:
the matching asset tags, or an empty list if no matches were found

getAssetTagsByUuidAndCompanyId

public List<AssetTag> getAssetTagsByUuidAndCompanyId(String uuid,
                                                     long companyId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator<AssetTag> orderByComparator)
Returns a range of asset tags matching the UUID and company.

Specified by:
getAssetTagsByUuidAndCompanyId in interface AssetTagLocalService
Parameters:
uuid - the UUID of the asset tags
companyId - the primary key of the company
start - the lower bound of the range of asset tags
end - the upper bound of the range of asset tags (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching asset tags, or an empty list if no matches were found

getAssetTagByUuidAndGroupId

public AssetTag getAssetTagByUuidAndGroupId(String uuid,
                                            long groupId)
                                     throws PortalException
Returns the asset tag matching the UUID and group.

Specified by:
getAssetTagByUuidAndGroupId in interface AssetTagLocalService
Parameters:
uuid - the asset tag's UUID
groupId - the primary key of the group
Returns:
the matching asset tag
Throws:
PortalException - if a matching asset tag could not be found

getAssetTags

public List<AssetTag> getAssetTags(int start,
                                   int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

getAssetTagsCount

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

Specified by:
getAssetTagsCount in interface AssetTagLocalService
Returns:
the number of asset tags

updateAssetTag

@Indexable(type=REINDEX)
public AssetTag updateAssetTag(AssetTag assetTag)
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

addAssetEntryAssetTag

public void addAssetEntryAssetTag(long entryId,
                                  long tagId)
Specified by:
addAssetEntryAssetTag in interface AssetTagLocalService

addAssetEntryAssetTag

public void addAssetEntryAssetTag(long entryId,
                                  AssetTag assetTag)
Specified by:
addAssetEntryAssetTag in interface AssetTagLocalService

addAssetEntryAssetTags

public void addAssetEntryAssetTags(long entryId,
                                   long[] tagIds)
Specified by:
addAssetEntryAssetTags in interface AssetTagLocalService

addAssetEntryAssetTags

public void addAssetEntryAssetTags(long entryId,
                                   List<AssetTag> AssetTags)
Specified by:
addAssetEntryAssetTags in interface AssetTagLocalService

clearAssetEntryAssetTags

public void clearAssetEntryAssetTags(long entryId)
Specified by:
clearAssetEntryAssetTags in interface AssetTagLocalService

deleteAssetEntryAssetTag

public void deleteAssetEntryAssetTag(long entryId,
                                     long tagId)
Specified by:
deleteAssetEntryAssetTag in interface AssetTagLocalService

deleteAssetEntryAssetTag

public void deleteAssetEntryAssetTag(long entryId,
                                     AssetTag assetTag)
Specified by:
deleteAssetEntryAssetTag in interface AssetTagLocalService

deleteAssetEntryAssetTags

public void deleteAssetEntryAssetTags(long entryId,
                                      long[] tagIds)
Specified by:
deleteAssetEntryAssetTags in interface AssetTagLocalService

deleteAssetEntryAssetTags

public void deleteAssetEntryAssetTags(long entryId,
                                      List<AssetTag> AssetTags)
Specified by:
deleteAssetEntryAssetTags in interface AssetTagLocalService

getAssetEntryPrimaryKeys

public long[] getAssetEntryPrimaryKeys(long tagId)
Returns the entryIds of the asset entries associated with the asset tag.

Specified by:
getAssetEntryPrimaryKeys in interface AssetTagLocalService
Parameters:
tagId - the tagId of the asset tag
Returns:
long[] the entryIds of asset entries associated with the asset tag

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId)
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId,
                                             int start,
                                             int end)
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService

getAssetEntryAssetTags

public List<AssetTag> getAssetEntryAssetTags(long entryId,
                                             int start,
                                             int end,
                                             OrderByComparator<AssetTag> orderByComparator)
Specified by:
getAssetEntryAssetTags in interface AssetTagLocalService

getAssetEntryAssetTagsCount

public int getAssetEntryAssetTagsCount(long entryId)
Specified by:
getAssetEntryAssetTagsCount in interface AssetTagLocalService

hasAssetEntryAssetTag

public boolean hasAssetEntryAssetTag(long entryId,
                                     long tagId)
Specified by:
hasAssetEntryAssetTag in interface AssetTagLocalService

hasAssetEntryAssetTags

public boolean hasAssetEntryAssetTags(long entryId)
Specified by:
hasAssetEntryAssetTags in interface AssetTagLocalService

setAssetEntryAssetTags

public void setAssetEntryAssetTags(long entryId,
                                   long[] tagIds)
Specified by:
setAssetEntryAssetTags in interface AssetTagLocalService

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

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

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

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

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

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

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

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

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

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

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface AssetTagLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4