Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetTagPropertyLocalServiceBaseImpl
          extended by com.liferay.portlet.asset.service.impl.AssetTagPropertyLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AssetTagPropertyLocalService

public class AssetTagPropertyLocalServiceImpl
extends AssetTagPropertyLocalServiceBaseImpl

The implementation of the asset tag property local service.


Field Summary
 
Fields inherited from class com.liferay.portlet.asset.service.base.AssetTagPropertyLocalServiceBaseImpl
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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
AssetTagPropertyLocalServiceImpl()
           
 
Method Summary
 AssetTagProperty addTagProperty(long userId, long tagId, String key, String value)
          Adds an asset tag property.
 void deleteTagProperties(long tagId)
          Deletes the asset tag property with the specified tag ID.
 void deleteTagProperty(AssetTagProperty tagProperty)
          Deletes the asset tag property instance.
 void deleteTagProperty(long tagPropertyId)
          Deletes the asset tag property with the specified ID.
 List<AssetTagProperty> getTagProperties()
          Returns all the asset tag property instances.
 List<AssetTagProperty> getTagProperties(long tagId)
          Returns all the asset tag property instances with the specified tag ID.
 AssetTagProperty getTagProperty(long tagPropertyId)
          Returns the asset tag property with the specified ID.
 AssetTagProperty getTagProperty(long tagId, String key)
          Returns the asset tag property with the specified tag ID and key.
 String[] getTagPropertyKeys(long groupId)
          Returns asset tag property keys with the specified group
 List<AssetTagProperty> getTagPropertyValues(long groupId, String key)
          Returns asset tag properties with the specified group and key.
 AssetTagProperty updateTagProperty(long tagPropertyId, String key, String value)
          Updates the asset tag property.
protected  void validate(String key, String value)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagPropertyLocalServiceBaseImpl
addAssetTagProperty, afterPropertiesSet, createAssetTagProperty, deleteAssetTagProperty, deleteAssetTagProperty, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetTagProperty, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagProperties, getAssetTagPropertiesCount, getAssetTagProperty, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetTagProperty, updateAssetTagProperty
 
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
 

Constructor Detail

AssetTagPropertyLocalServiceImpl

public AssetTagPropertyLocalServiceImpl()
Method Detail

addTagProperty

public AssetTagProperty addTagProperty(long userId,
                                       long tagId,
                                       String key,
                                       String value)
                                throws PortalException,
                                       SystemException
Adds an asset tag property.

Parameters:
userId - the primary key of the user
tagId - the primary key of the tag
key - the key to be associated to the value
value - the value to which the key will refer
Returns:
the created asset tag property
Throws:
PortalException - if a user with the primary key could not be found, or if the key or value were invalid
SystemException - if a system exception occurred

deleteTagProperties

public void deleteTagProperties(long tagId)
                         throws SystemException
Deletes the asset tag property with the specified tag ID.

Parameters:
tagId - the primary key of the tag
Throws:
SystemException - if a system exception occurred

deleteTagProperty

public void deleteTagProperty(AssetTagProperty tagProperty)
                       throws SystemException
Deletes the asset tag property instance.

Parameters:
tagProperty - the asset tag property instance
Throws:
SystemException - if a system exception occurred

deleteTagProperty

public void deleteTagProperty(long tagPropertyId)
                       throws PortalException,
                              SystemException
Deletes the asset tag property with the specified ID.

Parameters:
tagPropertyId - the primary key of the asset tag property instance
Throws:
PortalException - if an asset tag property with the primary key could not be found
SystemException - if a system exception occurred

getTagProperties

public List<AssetTagProperty> getTagProperties()
                                        throws SystemException
Returns all the asset tag property instances.

Returns:
the asset tag property instances
Throws:
SystemException - if a system exception occurred

getTagProperties

public List<AssetTagProperty> getTagProperties(long tagId)
                                        throws SystemException
Returns all the asset tag property instances with the specified tag ID.

Parameters:
tagId - the primary key of the tag
Returns:
the matching asset tag properties
Throws:
SystemException - if a system exception occurred

getTagProperty

public AssetTagProperty getTagProperty(long tagPropertyId)
                                throws PortalException,
                                       SystemException
Returns the asset tag property with the specified ID.

Parameters:
tagPropertyId - the primary key of the asset tag property
Returns:
the matching asset tag property
Throws:
PortalException - if an asset tag property with the primary key could not be found
SystemException - if a system exception occurred

getTagProperty

public AssetTagProperty getTagProperty(long tagId,
                                       String key)
                                throws PortalException,
                                       SystemException
Returns the asset tag property with the specified tag ID and key.

Parameters:
tagId - the primary key of the tag
key - the key that refers to some value
Returns:
the matching asset tag property
Throws:
PortalException - if an asset tag property with the tag ID and key could not be found
SystemException - if a system exception occurred

getTagPropertyKeys

public String[] getTagPropertyKeys(long groupId)
                            throws SystemException
Returns asset tag property keys with the specified group

Parameters:
groupId - the primary key of the group
Returns:
the matching asset tag property keys
Throws:
SystemException - if a system exception occurred

getTagPropertyValues

public List<AssetTagProperty> getTagPropertyValues(long groupId,
                                                   String key)
                                            throws SystemException
Returns asset tag properties with the specified group and key.

Parameters:
groupId - the primary key of the group
key - the key that refers to some value
Returns:
the matching asset tag properties
Throws:
SystemException - if a system exception occurred

updateTagProperty

public AssetTagProperty updateTagProperty(long tagPropertyId,
                                          String key,
                                          String value)
                                   throws PortalException,
                                          SystemException
Updates the asset tag property.

Parameters:
tagPropertyId - the primary key of the asset tag property
key - the new key to be associated to the value
value - the new value to which the key will refer
Returns:
the updated asset tag property
Throws:
PortalException - if an asset tag property with the primary key could not be found, or if the key or value were invalid
SystemException - if a system exception occurred

validate

protected void validate(String key,
                        String value)
                 throws PortalException
Throws:
PortalException

Liferay 6.1.2-ce-ga3