Liferay 6.1.2-ce-ga3

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

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

public abstract class AssetCategoryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AssetCategoryLocalService, IdentifiableBean

The base implementation of the asset category 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 AssetCategoryLocalServiceImpl.

See Also:
AssetCategoryLocalServiceImpl, AssetCategoryLocalServiceUtil
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
AssetCategoryLocalServiceBaseImpl()
           
 
Method Summary
 AssetCategory addAssetCategory(AssetCategory assetCategory)
          Adds the asset category to the database.
 void addAssetEntryAssetCategories(long entryId, List<AssetCategory> AssetCategories)
           
 void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
           
 void addAssetEntryAssetCategory(long entryId, AssetCategory assetCategory)
           
 void addAssetEntryAssetCategory(long entryId, long categoryId)
           
 void afterPropertiesSet()
           
 void clearAssetEntryAssetCategories(long entryId)
           
 AssetCategory createAssetCategory(long categoryId)
          Creates a new asset category with the primary key.
 AssetCategory deleteAssetCategory(AssetCategory assetCategory)
          Deletes the asset category from the database.
 AssetCategory deleteAssetCategory(long categoryId)
          Deletes the asset category with the primary key from the database.
 void deleteAssetEntryAssetCategories(long entryId, List<AssetCategory> AssetCategories)
           
 void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
           
 void deleteAssetEntryAssetCategory(long entryId, AssetCategory assetCategory)
           
 void deleteAssetEntryAssetCategory(long entryId, long categoryId)
           
 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.
 AssetCategory fetchAssetCategory(long categoryId)
           
 List<AssetCategory> getAssetCategories(int start, int end)
          Returns a range of all the asset categories.
 int getAssetCategoriesCount()
          Returns the number of asset categories.
 AssetCategory getAssetCategory(long categoryId)
          Returns the asset category with the primary key.
 AssetCategory getAssetCategoryByUuidAndGroupId(String uuid, long groupId)
          Returns the asset category with the UUID in the group.
 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<AssetCategory> getAssetEntryAssetCategories(long entryId)
           
 List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end)
           
 List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetEntryAssetCategoriesCount(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.
 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.
 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 hasAssetEntryAssetCategories(long entryId)
           
 boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
           
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 setAssetEntryAssetCategories(long entryId, long[] categoryIds)
           
 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.
 AssetCategory updateAssetCategory(AssetCategory assetCategory)
          Updates the asset category in the database or adds it if it does not yet exist.
 AssetCategory updateAssetCategory(AssetCategory assetCategory, boolean merge)
          Updates the asset category 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.AssetCategoryLocalService
addCategory, addCategoryResources, addCategoryResources, deleteCategory, deleteCategory, deleteVocabularyCategories, fetchCategory, getCategories, getCategories, getCategories, getCategory, getCategory, getCategoryIds, getCategoryNames, getCategoryNames, getCategoryNames, getChildCategories, getChildCategories, getChildCategoriesCount, getEntryCategories, getVocabularyCategories, getVocabularyCategories, getVocabularyCategoriesCount, getVocabularyRootCategories, getVocabularyRootCategoriesCount, mergeCategories, moveCategory, rebuildTree, search, updateCategory
 

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

AssetCategoryLocalServiceBaseImpl

public AssetCategoryLocalServiceBaseImpl()
Method Detail

addAssetCategory

@Indexable(type=REINDEX)
public AssetCategory addAssetCategory(AssetCategory assetCategory)
                               throws SystemException
Adds the asset category to the database. Also notifies the appropriate model listeners.

Specified by:
addAssetCategory in interface AssetCategoryLocalService
Parameters:
assetCategory - the asset category
Returns:
the asset category that was added
Throws:
SystemException - if a system exception occurred

createAssetCategory

public AssetCategory createAssetCategory(long categoryId)
Creates a new asset category with the primary key. Does not add the asset category to the database.

Specified by:
createAssetCategory in interface AssetCategoryLocalService
Parameters:
categoryId - the primary key for the new asset category
Returns:
the new asset category

deleteAssetCategory

@Indexable(type=DELETE)
public AssetCategory deleteAssetCategory(long categoryId)
                                  throws PortalException,
                                         SystemException
Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetCategory in interface AssetCategoryLocalService
Parameters:
categoryId - the primary key of the asset category
Returns:
the asset category that was removed
Throws:
PortalException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred

deleteAssetCategory

@Indexable(type=DELETE)
public AssetCategory deleteAssetCategory(AssetCategory assetCategory)
                                  throws SystemException
Deletes the asset category from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetCategory in interface AssetCategoryLocalService
Parameters:
assetCategory - the asset category
Returns:
the asset category that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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 AssetCategoryLocalService
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 AssetCategoryLocalService
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 AssetCategoryLocalService
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 AssetCategoryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchAssetCategory

public AssetCategory fetchAssetCategory(long categoryId)
                                 throws SystemException
Specified by:
fetchAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException

getAssetCategory

public AssetCategory getAssetCategory(long categoryId)
                               throws PortalException,
                                      SystemException
Returns the asset category with the primary key.

Specified by:
getAssetCategory in interface AssetCategoryLocalService
Parameters:
categoryId - the primary key of the asset category
Returns:
the asset category
Throws:
PortalException - if a asset category 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 AssetCategoryLocalService
Throws:
PortalException
SystemException

getAssetCategoryByUuidAndGroupId

public AssetCategory getAssetCategoryByUuidAndGroupId(String uuid,
                                                      long groupId)
                                               throws PortalException,
                                                      SystemException
Returns the asset category with the UUID in the group.

Specified by:
getAssetCategoryByUuidAndGroupId in interface AssetCategoryLocalService
Parameters:
uuid - the UUID of asset category
groupId - the group id of the asset category
Returns:
the asset category
Throws:
PortalException - if a asset category with the UUID in the group could not be found
SystemException - if a system exception occurred

getAssetCategories

public List<AssetCategory> getAssetCategories(int start,
                                              int end)
                                       throws SystemException
Returns a range of all the asset categories.

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:
getAssetCategories in interface AssetCategoryLocalService
Parameters:
start - the lower bound of the range of asset categories
end - the upper bound of the range of asset categories (not inclusive)
Returns:
the range of asset categories
Throws:
SystemException - if a system exception occurred

getAssetCategoriesCount

public int getAssetCategoriesCount()
                            throws SystemException
Returns the number of asset categories.

Specified by:
getAssetCategoriesCount in interface AssetCategoryLocalService
Returns:
the number of asset categories
Throws:
SystemException - if a system exception occurred

updateAssetCategory

@Indexable(type=REINDEX)
public AssetCategory updateAssetCategory(AssetCategory assetCategory)
                                  throws SystemException
Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetCategory in interface AssetCategoryLocalService
Parameters:
assetCategory - the asset category
Returns:
the asset category that was updated
Throws:
SystemException - if a system exception occurred

updateAssetCategory

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

Specified by:
updateAssetCategory in interface AssetCategoryLocalService
Parameters:
assetCategory - the asset category
merge - whether to merge the asset category 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 category that was updated
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetCategory

public void addAssetEntryAssetCategory(long entryId,
                                       long categoryId)
                                throws SystemException
Specified by:
addAssetEntryAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetCategory

public void addAssetEntryAssetCategory(long entryId,
                                       AssetCategory assetCategory)
                                throws SystemException
Specified by:
addAssetEntryAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetCategories

public void addAssetEntryAssetCategories(long entryId,
                                         long[] categoryIds)
                                  throws SystemException
Specified by:
addAssetEntryAssetCategories in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

addAssetEntryAssetCategories

public void addAssetEntryAssetCategories(long entryId,
                                         List<AssetCategory> AssetCategories)
                                  throws SystemException
Specified by:
addAssetEntryAssetCategories in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

clearAssetEntryAssetCategories

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

deleteAssetEntryAssetCategory

public void deleteAssetEntryAssetCategory(long entryId,
                                          long categoryId)
                                   throws SystemException
Specified by:
deleteAssetEntryAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetCategory

public void deleteAssetEntryAssetCategory(long entryId,
                                          AssetCategory assetCategory)
                                   throws SystemException
Specified by:
deleteAssetEntryAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetCategories

public void deleteAssetEntryAssetCategories(long entryId,
                                            long[] categoryIds)
                                     throws SystemException
Specified by:
deleteAssetEntryAssetCategories in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

deleteAssetEntryAssetCategories

public void deleteAssetEntryAssetCategories(long entryId,
                                            List<AssetCategory> AssetCategories)
                                     throws SystemException
Specified by:
deleteAssetEntryAssetCategories in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetCategories

public List<AssetCategory> getAssetEntryAssetCategories(long entryId)
                                                 throws SystemException
Specified by:
getAssetEntryAssetCategories in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

getAssetEntryAssetCategories

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

getAssetEntryAssetCategories

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

getAssetEntryAssetCategoriesCount

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

hasAssetEntryAssetCategory

public boolean hasAssetEntryAssetCategory(long entryId,
                                          long categoryId)
                                   throws SystemException
Specified by:
hasAssetEntryAssetCategory in interface AssetCategoryLocalService
Throws:
SystemException - if a system exception occurred

hasAssetEntryAssetCategories

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

setAssetEntryAssetCategories

public void setAssetEntryAssetCategories(long entryId,
                                         long[] categoryIds)
                                  throws SystemException
Specified by:
setAssetEntryAssetCategories in interface AssetCategoryLocalService
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 AssetCategoryLocalService
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 AssetCategoryLocalService
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