Liferay 6.2-ce-ga5

com.liferay.portlet.asset.service
Class AssetCategoryLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetCategoryLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<AssetCategoryLocalService>, AssetCategoryLocalService

@ProviderType
public class AssetCategoryLocalServiceWrapper
extends Object
implements AssetCategoryLocalService, ServiceWrapper<AssetCategoryLocalService>

Provides a wrapper for AssetCategoryLocalService.

See Also:
AssetCategoryLocalService

Constructor Summary
AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
           
 
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)
           
 AssetCategory addCategory(long userId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
 AssetCategory addCategory(long userId, String title, long vocabularyId, ServiceContext serviceContext)
           
 void addCategoryResources(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addCategoryResources(AssetCategory category, String[] groupPermissions, String[] guestPermissions)
           
 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 deleteCategory(AssetCategory category)
           
 void deleteCategory(long categoryId)
           
 void deleteVocabularyCategories(long vocabularyId)
           
 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.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
 AssetCategory fetchAssetCategory(long categoryId)
           
 AssetCategory fetchAssetCategoryByUuidAndCompanyId(String uuid, long companyId)
          Returns the asset category with the matching UUID and company.
 AssetCategory fetchAssetCategoryByUuidAndGroupId(String uuid, long groupId)
          Returns the asset category matching the UUID and group.
 AssetCategory fetchCategory(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 getAssetCategoryByUuidAndCompanyId(String uuid, long companyId)
          Returns the asset category with the matching UUID and company.
 AssetCategory getAssetCategoryByUuidAndGroupId(String uuid, long groupId)
          Returns the asset category matching the UUID and group.
 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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<AssetCategory> getCategories()
           
 List<AssetCategory> getCategories(long classNameId, long classPK)
           
 List<AssetCategory> getCategories(String className, long classPK)
           
 AssetCategory getCategory(long categoryId)
           
 AssetCategory getCategory(String uuid, long groupId)
           
 long[] getCategoryIds(String className, long classPK)
           
 String[] getCategoryNames()
           
 String[] getCategoryNames(long classNameId, long classPK)
           
 String[] getCategoryNames(String className, long classPK)
           
 List<AssetCategory> getChildCategories(long parentCategoryId)
           
 List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc)
           
 int getChildCategoriesCount(long parentCategoryId)
           
 List<AssetCategory> getEntryCategories(long entryId)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<Long> getSubcategoryIds(long parentCategoryId)
           
 List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
 List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator obc)
           
 int getVocabularyCategoriesCount(long vocabularyId)
           
 List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc)
           
 int getVocabularyRootCategoriesCount(long vocabularyId)
           
 AssetCategoryLocalService getWrappedAssetCategoryLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 AssetCategoryLocalService getWrappedService()
           
 boolean hasAssetEntryAssetCategories(long entryId)
           
 boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
           
 void mergeCategories(long fromCategoryId, long toCategoryId)
           
 AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext)
           
 void rebuildTree(long groupId, boolean force)
           
 List<AssetCategory> search(long groupId, String name, String[] categoryProperties, int start, int end)
           
 void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.asset.service.AssetCategoryLocalService)
 void setWrappedService(AssetCategoryLocalService assetCategoryLocalService)
           
 AssetCategory updateAssetCategory(AssetCategory assetCategory)
          Updates the asset category in the database or adds it if it does not yet exist.
 AssetCategory updateCategory(long userId, long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryLocalServiceWrapper

public AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
Method Detail

addAssetCategory

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

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

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

dynamicQueryCount

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

Specified by:
dynamicQueryCount in interface AssetCategoryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the 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

fetchAssetCategoryByUuidAndCompanyId

public AssetCategory fetchAssetCategoryByUuidAndCompanyId(String uuid,
                                                          long companyId)
                                                   throws SystemException
Returns the asset category with the matching UUID and company.

Specified by:
fetchAssetCategoryByUuidAndCompanyId in interface AssetCategoryLocalService
Parameters:
uuid - the asset category's UUID
companyId - the primary key of the company
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

fetchAssetCategoryByUuidAndGroupId

public AssetCategory fetchAssetCategoryByUuidAndGroupId(String uuid,
                                                        long groupId)
                                                 throws SystemException
Returns the asset category matching the UUID and group.

Specified by:
fetchAssetCategoryByUuidAndGroupId in interface AssetCategoryLocalService
Parameters:
uuid - the asset category's UUID
groupId - the primary key of the group
Returns:
the matching asset category, or null if a matching asset category could not be found
Throws:
SystemException - if a system exception occurred

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

getAssetCategoryByUuidAndCompanyId

public AssetCategory getAssetCategoryByUuidAndCompanyId(String uuid,
                                                        long companyId)
                                                 throws PortalException,
                                                        SystemException
Returns the asset category with the matching UUID and company.

Specified by:
getAssetCategoryByUuidAndCompanyId in interface AssetCategoryLocalService
Parameters:
uuid - the asset category's UUID
companyId - the primary key of the company
Returns:
the matching asset category
Throws:
PortalException - if a matching asset category could not be found
SystemException - if a system exception occurred

getAssetCategoryByUuidAndGroupId

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

Specified by:
getAssetCategoryByUuidAndGroupId in interface AssetCategoryLocalService
Parameters:
uuid - the asset category's UUID
groupId - the primary key of the group
Returns:
the matching asset category
Throws:
PortalException - if a matching asset category 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. 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 AssetCategoryModelImpl. 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:
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

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

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

getBeanIdentifier

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

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 AssetCategoryLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addCategory

public AssetCategory addCategory(long userId,
                                 long parentCategoryId,
                                 Map<Locale,String> titleMap,
                                 Map<Locale,String> descriptionMap,
                                 long vocabularyId,
                                 String[] categoryProperties,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
addCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

addCategory

public AssetCategory addCategory(long userId,
                                 String title,
                                 long vocabularyId,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
addCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(AssetCategory category,
                                 boolean addGroupPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

addCategoryResources

public void addCategoryResources(AssetCategory category,
                                 String[] groupPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Specified by:
addCategoryResources in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(AssetCategory category)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

deleteVocabularyCategories

public void deleteVocabularyCategories(long vocabularyId)
                                throws PortalException,
                                       SystemException
Specified by:
deleteVocabularyCategories in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

fetchCategory

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

getCategories

public List<AssetCategory> getCategories()
                                  throws SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
SystemException

getCategories

public List<AssetCategory> getCategories(long classNameId,
                                         long classPK)
                                  throws SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
SystemException

getCategories

public List<AssetCategory> getCategories(String className,
                                         long classPK)
                                  throws SystemException
Specified by:
getCategories in interface AssetCategoryLocalService
Throws:
SystemException

getCategory

public AssetCategory getCategory(long categoryId)
                          throws PortalException,
                                 SystemException
Specified by:
getCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

getCategory

public AssetCategory getCategory(String uuid,
                                 long groupId)
                          throws PortalException,
                                 SystemException
Specified by:
getCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

getCategoryIds

public long[] getCategoryIds(String className,
                             long classPK)
                      throws SystemException
Specified by:
getCategoryIds in interface AssetCategoryLocalService
Throws:
SystemException

getCategoryNames

public String[] getCategoryNames()
                          throws SystemException
Specified by:
getCategoryNames in interface AssetCategoryLocalService
Throws:
SystemException

getCategoryNames

public String[] getCategoryNames(long classNameId,
                                 long classPK)
                          throws SystemException
Specified by:
getCategoryNames in interface AssetCategoryLocalService
Throws:
SystemException

getCategoryNames

public String[] getCategoryNames(String className,
                                 long classPK)
                          throws SystemException
Specified by:
getCategoryNames in interface AssetCategoryLocalService
Throws:
SystemException

getChildCategories

public List<AssetCategory> getChildCategories(long parentCategoryId)
                                       throws SystemException
Specified by:
getChildCategories in interface AssetCategoryLocalService
Throws:
SystemException

getChildCategories

public List<AssetCategory> getChildCategories(long parentCategoryId,
                                              int start,
                                              int end,
                                              OrderByComparator obc)
                                       throws SystemException
Specified by:
getChildCategories in interface AssetCategoryLocalService
Throws:
SystemException

getChildCategoriesCount

public int getChildCategoriesCount(long parentCategoryId)
                            throws SystemException
Specified by:
getChildCategoriesCount in interface AssetCategoryLocalService
Throws:
SystemException

getEntryCategories

public List<AssetCategory> getEntryCategories(long entryId)
                                       throws SystemException
Specified by:
getEntryCategories in interface AssetCategoryLocalService
Throws:
SystemException

getSubcategoryIds

public List<Long> getSubcategoryIds(long parentCategoryId)
                             throws SystemException
Specified by:
getSubcategoryIds in interface AssetCategoryLocalService
Throws:
SystemException

getVocabularyCategories

public List<AssetCategory> getVocabularyCategories(long vocabularyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryLocalService
Throws:
SystemException

getVocabularyCategories

public List<AssetCategory> getVocabularyCategories(long parentCategoryId,
                                                   long vocabularyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws SystemException
Specified by:
getVocabularyCategories in interface AssetCategoryLocalService
Throws:
SystemException

getVocabularyCategoriesCount

public int getVocabularyCategoriesCount(long vocabularyId)
                                 throws SystemException
Specified by:
getVocabularyCategoriesCount in interface AssetCategoryLocalService
Throws:
SystemException

getVocabularyRootCategories

public List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator obc)
                                                throws SystemException
Specified by:
getVocabularyRootCategories in interface AssetCategoryLocalService
Throws:
SystemException

getVocabularyRootCategoriesCount

public int getVocabularyRootCategoriesCount(long vocabularyId)
                                     throws SystemException
Specified by:
getVocabularyRootCategoriesCount in interface AssetCategoryLocalService
Throws:
SystemException

mergeCategories

public void mergeCategories(long fromCategoryId,
                            long toCategoryId)
                     throws PortalException,
                            SystemException
Specified by:
mergeCategories in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

moveCategory

public AssetCategory moveCategory(long categoryId,
                                  long parentCategoryId,
                                  long vocabularyId,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Specified by:
moveCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

rebuildTree

public void rebuildTree(long groupId,
                        boolean force)
                 throws SystemException
Specified by:
rebuildTree in interface AssetCategoryLocalService
Throws:
SystemException

search

public List<AssetCategory> search(long groupId,
                                  String name,
                                  String[] categoryProperties,
                                  int start,
                                  int end)
                           throws SystemException
Specified by:
search in interface AssetCategoryLocalService
Throws:
SystemException

updateCategory

public AssetCategory updateCategory(long userId,
                                    long categoryId,
                                    long parentCategoryId,
                                    Map<Locale,String> titleMap,
                                    Map<Locale,String> descriptionMap,
                                    long vocabularyId,
                                    String[] categoryProperties,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
updateCategory in interface AssetCategoryLocalService
Throws:
PortalException
SystemException

getWrappedAssetCategoryLocalService

public AssetCategoryLocalService getWrappedAssetCategoryLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedAssetCategoryLocalService

public void setWrappedAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.asset.service.AssetCategoryLocalService)


getWrappedService

public AssetCategoryLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<AssetCategoryLocalService>

setWrappedService

public void setWrappedService(AssetCategoryLocalService assetCategoryLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<AssetCategoryLocalService>

Liferay 6.2-ce-ga5