Liferay 7.0-ce-b4

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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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 groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext)
           
 AssetCategory addCategory(long userId, long groupId, String title, long vocabularyId, ServiceContext serviceContext)
           
 void addCategoryResources(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addCategoryResources(AssetCategory category, ModelPermissions modelPermissions)
           
 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 deleteCategories(List<AssetCategory> categories)
           
 void deleteCategories(long[] categoryIds)
           
 AssetCategory deleteCategory(AssetCategory category)
           
 AssetCategory deleteCategory(AssetCategory category, boolean skipRebuildTree)
           
 AssetCategory deleteCategory(long categoryId)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void deleteVocabularyCategories(long vocabularyId)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 AssetCategory fetchAssetCategory(long categoryId)
           
 AssetCategory fetchAssetCategoryByUuidAndGroupId(String uuid, long groupId)
          Returns the asset category matching the UUID and group.
 AssetCategory fetchCategory(long categoryId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 List<AssetCategory> getAssetCategories(int start, int end)
          Returns a range of all the asset categories.
 List<AssetCategory> getAssetCategoriesByUuidAndCompanyId(String uuid, long companyId)
          Returns all the asset categories matching the UUID and company.
 List<AssetCategory> getAssetCategoriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
          Returns a range of asset categories matching the UUID and company.
 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 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<AssetCategory> orderByComparator)
           
 int getAssetEntryAssetCategoriesCount(long entryId)
           
 long[] getAssetEntryPrimaryKeys(long categoryId)
          Returns the entryIds of the asset entries associated with the asset category.
 List<AssetCategory> getCategories()
           
 List<AssetCategory> getCategories(Hits hits)
           
 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<AssetCategory> obc)
           
 int getChildCategoriesCount(long parentCategoryId)
           
 List<AssetCategory> getEntryCategories(long entryId)
           
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<Long> getSubcategoryIds(long parentCategoryId)
           
 List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
           
 List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
           
 int getVocabularyCategoriesCount(long vocabularyId)
           
 List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
           
 int getVocabularyRootCategoriesCount(long vocabularyId)
           
 AssetCategoryLocalService getWrappedService()
           
 boolean hasAssetEntryAssetCategories(long entryId)
           
 boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
           
 AssetCategory 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)
           
 BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, int start, int end)
           
 BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
           
 BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort)
           
 BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long groupIds, String title, long vocabularyId, int start, int end)
           
 void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
           
 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)
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

addAssetEntryAssetCategories

public void addAssetEntryAssetCategories(long entryId,
                                         List<AssetCategory> AssetCategories)
Specified by:
addAssetEntryAssetCategories in interface AssetCategoryLocalService

addAssetEntryAssetCategories

public void addAssetEntryAssetCategories(long entryId,
                                         long[] categoryIds)
Specified by:
addAssetEntryAssetCategories in interface AssetCategoryLocalService

addAssetEntryAssetCategory

public void addAssetEntryAssetCategory(long entryId,
                                       AssetCategory assetCategory)
Specified by:
addAssetEntryAssetCategory in interface AssetCategoryLocalService

addAssetEntryAssetCategory

public void addAssetEntryAssetCategory(long entryId,
                                       long categoryId)
Specified by:
addAssetEntryAssetCategory in interface AssetCategoryLocalService

addCategory

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

addCategory

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

addCategoryResources

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

addCategoryResources

public void addCategoryResources(AssetCategory category,
                                 ModelPermissions modelPermissions)
                          throws PortalException
Specified by:
addCategoryResources in interface AssetCategoryLocalService
Throws:
PortalException

clearAssetEntryAssetCategories

public void clearAssetEntryAssetCategories(long entryId)
Specified by:
clearAssetEntryAssetCategories in interface AssetCategoryLocalService

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(AssetCategory assetCategory)
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

deleteAssetCategory

public AssetCategory deleteAssetCategory(long categoryId)
                                  throws PortalException
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

deleteAssetEntryAssetCategories

public void deleteAssetEntryAssetCategories(long entryId,
                                            List<AssetCategory> AssetCategories)
Specified by:
deleteAssetEntryAssetCategories in interface AssetCategoryLocalService

deleteAssetEntryAssetCategories

public void deleteAssetEntryAssetCategories(long entryId,
                                            long[] categoryIds)
Specified by:
deleteAssetEntryAssetCategories in interface AssetCategoryLocalService

deleteAssetEntryAssetCategory

public void deleteAssetEntryAssetCategory(long entryId,
                                          AssetCategory assetCategory)
Specified by:
deleteAssetEntryAssetCategory in interface AssetCategoryLocalService

deleteAssetEntryAssetCategory

public void deleteAssetEntryAssetCategory(long entryId,
                                          long categoryId)
Specified by:
deleteAssetEntryAssetCategory in interface AssetCategoryLocalService

deleteCategories

public void deleteCategories(List<AssetCategory> categories)
                      throws PortalException
Specified by:
deleteCategories in interface AssetCategoryLocalService
Throws:
PortalException

deleteCategories

public void deleteCategories(long[] categoryIds)
                      throws PortalException
Specified by:
deleteCategories in interface AssetCategoryLocalService
Throws:
PortalException

deleteCategory

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

deleteCategory

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

deleteCategory

public AssetCategory deleteCategory(long categoryId)
                             throws PortalException
Specified by:
deleteCategory in interface AssetCategoryLocalService
Throws:
PortalException

deletePersistedModel

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

deleteVocabularyCategories

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

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface AssetCategoryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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

dynamicQueryCount

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

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

dynamicQueryCount

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

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

fetchAssetCategory

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

fetchAssetCategoryByUuidAndGroupId

public AssetCategory fetchAssetCategoryByUuidAndGroupId(String uuid,
                                                        long groupId)
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

fetchCategory

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

getActionableDynamicQuery

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

getAssetCategories

public List<AssetCategory> getAssetCategories(int start,
                                              int end)
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

getAssetCategoriesByUuidAndCompanyId

public List<AssetCategory> getAssetCategoriesByUuidAndCompanyId(String uuid,
                                                                long companyId)
Returns all the asset categories matching the UUID and company.

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

getAssetCategoriesByUuidAndCompanyId

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

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

getAssetCategoriesCount

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

Specified by:
getAssetCategoriesCount in interface AssetCategoryLocalService
Returns:
the number of asset categories

getAssetCategory

public AssetCategory getAssetCategory(long categoryId)
                               throws PortalException
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

getAssetCategoryByUuidAndGroupId

public AssetCategory getAssetCategoryByUuidAndGroupId(String uuid,
                                                      long groupId)
                                               throws PortalException
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

getAssetEntryAssetCategories

public List<AssetCategory> getAssetEntryAssetCategories(long entryId)
Specified by:
getAssetEntryAssetCategories in interface AssetCategoryLocalService

getAssetEntryAssetCategories

public List<AssetCategory> getAssetEntryAssetCategories(long entryId,
                                                        int start,
                                                        int end)
Specified by:
getAssetEntryAssetCategories in interface AssetCategoryLocalService

getAssetEntryAssetCategories

public List<AssetCategory> getAssetEntryAssetCategories(long entryId,
                                                        int start,
                                                        int end,
                                                        OrderByComparator<AssetCategory> orderByComparator)
Specified by:
getAssetEntryAssetCategories in interface AssetCategoryLocalService

getAssetEntryAssetCategoriesCount

public int getAssetEntryAssetCategoriesCount(long entryId)
Specified by:
getAssetEntryAssetCategoriesCount in interface AssetCategoryLocalService

getAssetEntryPrimaryKeys

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

Specified by:
getAssetEntryPrimaryKeys in interface AssetCategoryLocalService
Parameters:
categoryId - the categoryId of the asset category
Returns:
long[] the entryIds of asset entries associated with the asset category

getCategories

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

getCategories

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

getCategories

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

getCategories

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

getCategory

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

getCategory

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

getCategoryIds

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

getCategoryNames

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

getCategoryNames

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

getCategoryNames

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

getChildCategories

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

getChildCategories

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

getChildCategoriesCount

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

getEntryCategories

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

getExportActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface AssetCategoryLocalService
Returns:
the OSGi service identifier

getPersistedModel

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

getSubcategoryIds

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

getVocabularyCategories

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

getVocabularyCategories

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

getVocabularyCategoriesCount

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

getVocabularyRootCategories

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

getVocabularyRootCategoriesCount

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

hasAssetEntryAssetCategories

public boolean hasAssetEntryAssetCategories(long entryId)
Specified by:
hasAssetEntryAssetCategories in interface AssetCategoryLocalService

hasAssetEntryAssetCategory

public boolean hasAssetEntryAssetCategory(long entryId,
                                          long categoryId)
Specified by:
hasAssetEntryAssetCategory in interface AssetCategoryLocalService

mergeCategories

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

moveCategory

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

rebuildTree

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

search

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

searchCategories

public BaseModelSearchResult<AssetCategory> searchCategories(long companyId,
                                                             long[] groupIds,
                                                             String title,
                                                             long[] parentCategoryIds,
                                                             long[] vocabularyIds,
                                                             int start,
                                                             int end)
                                                      throws PortalException
Specified by:
searchCategories in interface AssetCategoryLocalService
Throws:
PortalException

searchCategories

public BaseModelSearchResult<AssetCategory> searchCategories(long companyId,
                                                             long groupIds,
                                                             String title,
                                                             long vocabularyId,
                                                             int start,
                                                             int end)
                                                      throws PortalException
Specified by:
searchCategories in interface AssetCategoryLocalService
Throws:
PortalException

searchCategories

public BaseModelSearchResult<AssetCategory> searchCategories(long companyId,
                                                             long[] groupIds,
                                                             String title,
                                                             long[] vocabularyIds,
                                                             long[] parentCategoryIds,
                                                             int start,
                                                             int end,
                                                             Sort sort)
                                                      throws PortalException
Specified by:
searchCategories in interface AssetCategoryLocalService
Throws:
PortalException

searchCategories

public BaseModelSearchResult<AssetCategory> searchCategories(long companyId,
                                                             long[] groupIds,
                                                             String title,
                                                             long[] vocabularyIds,
                                                             int start,
                                                             int end)
                                                      throws PortalException
Specified by:
searchCategories in interface AssetCategoryLocalService
Throws:
PortalException

setAssetEntryAssetCategories

public void setAssetEntryAssetCategories(long entryId,
                                         long[] categoryIds)
Specified by:
setAssetEntryAssetCategories in interface AssetCategoryLocalService

updateAssetCategory

public AssetCategory updateAssetCategory(AssetCategory assetCategory)
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

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
Specified by:
updateCategory in interface AssetCategoryLocalService
Throws:
PortalException

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 7.0-ce-b4