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

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

public class AssetTagPropertyLocalServiceImpl
extends AssetTagPropertyLocalServiceBaseImpl

The implementation of the asset tag property local service.

Author:
Brian Wing Shun Chan

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
 com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(long userId, long tagId, java.lang.String key, java.lang.String value)
          Adds an asset tag property.
 void deleteTagProperties(long tagId)
          Deletes the asset tag property with the specified tag ID.
 void deleteTagProperty(com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
          Deletes the asset tag property instance.
 void deleteTagProperty(long tagPropertyId)
          Deletes the asset tag property with the specified ID.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
          Returns all the asset tag property instances.
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(long tagId)
          Returns all the asset tag property instances with the specified tag ID.
 com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(long tagPropertyId)
          Returns the asset tag property with the specified ID.
 com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(long tagId, java.lang.String key)
          Returns the asset tag property with the specified tag ID and key.
 java.lang.String[] getTagPropertyKeys(long groupId)
          Returns asset tag property keys with the specified group
 java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(long groupId, java.lang.String key)
          Returns asset tag properties with the specified group and key.
 com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(long tagPropertyId, java.lang.String key, java.lang.String value)
          Updates the asset tag property.
protected  void validate(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class com.liferay.portlet.asset.service.base.AssetTagPropertyLocalServiceBaseImpl
addAssetTagProperty, afterPropertiesSet, createAssetTagProperty, deleteAssetTagProperty, deleteAssetTagProperty, destroy, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagPropertyLocalServiceImpl

public AssetTagPropertyLocalServiceImpl()
Method Detail

addTagProperty

public com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(long userId,
                                                                       long tagId,
                                                                       java.lang.String key,
                                                                       java.lang.String value)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException - if a user with the primary key could not be found, or if the key or value were invalid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteTagProperties

public void deleteTagProperties(long tagId)
                         throws com.liferay.portal.kernel.exception.SystemException
Deletes the asset tag property with the specified tag ID.

Parameters:
tagId - the primary key of the tag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteTagProperty

public void deleteTagProperty(com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
                       throws com.liferay.portal.kernel.exception.SystemException
Deletes the asset tag property instance.

Parameters:
tagProperty - the asset tag property instance
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteTagProperty

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

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

getTagProperties

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tag property instances.

Returns:
the asset tag property instances
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getTagProperties

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(long tagId)
                                                                                  throws com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getTagProperty

public com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(long tagPropertyId)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException - if an asset tag property with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getTagProperty

public com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(long tagId,
                                                                       java.lang.String key)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException - if an asset tag property with the tag ID and key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getTagPropertyKeys

public java.lang.String[] getTagPropertyKeys(long groupId)
                                      throws com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getTagPropertyValues

public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(long groupId,
                                                                                             java.lang.String key)
                                                                                      throws com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateTagProperty

public com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(long tagPropertyId,
                                                                          java.lang.String key,
                                                                          java.lang.String value)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException - if an asset tag property with the primary key could not be found, or if the key or value were invalid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

validate

protected void validate(java.lang.String key,
                        java.lang.String value)
                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException