|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.asset.service.AssetCategoryLocalServiceWrapper
public class AssetCategoryLocalServiceWrapper
This class is a wrapper for AssetCategoryLocalService.
AssetCategoryLocalService| Constructor Summary | |
|---|---|
AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
|
|
| Method Summary | |
|---|---|
AssetCategory |
addAssetCategory(AssetCategory assetCategory)
Adds the asset category to the database. |
AssetCategory |
addCategory(long userId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
void |
addCategoryResources(AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(AssetCategory category,
String[] groupPermissions,
String[] guestPermissions)
|
AssetCategory |
createAssetCategory(long categoryId)
Creates a new asset category with the primary key. |
void |
deleteAssetCategory(AssetCategory assetCategory)
Deletes the asset category from the database. |
void |
deleteAssetCategory(long categoryId)
Deletes the asset category with the primary key from the database. |
void |
deleteCategory(AssetCategory category)
|
void |
deleteCategory(long categoryId)
|
void |
deleteVocabularyCategories(long vocabularyId)
|
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)
|
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 |
getAssetCategoryByUuidAndGroupId(String uuid,
long groupId)
Returns the asset category with the UUID in the group. |
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)
|
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<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)
|
AssetCategoryLocalService |
getWrappedAssetCategoryLocalService()
Deprecated. Renamed to getWrappedService() |
AssetCategoryLocalService |
getWrappedService()
|
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 |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Deprecated. Renamed to 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 |
updateAssetCategory(AssetCategory assetCategory,
boolean merge)
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 |
|---|
public AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
| Method Detail |
|---|
public AssetCategory addAssetCategory(AssetCategory assetCategory)
throws SystemException
addAssetCategory in interface AssetCategoryLocalServiceassetCategory - the asset category
SystemException - if a system exception occurredpublic AssetCategory createAssetCategory(long categoryId)
createAssetCategory in interface AssetCategoryLocalServicecategoryId - the primary key for the new asset category
public void deleteAssetCategory(long categoryId)
throws PortalException,
SystemException
deleteAssetCategory in interface AssetCategoryLocalServicecategoryId - the primary key of the asset category
PortalException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public void deleteAssetCategory(AssetCategory assetCategory)
throws SystemException
deleteAssetCategory in interface AssetCategoryLocalServiceassetCategory - the asset category
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface AssetCategoryLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
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.
dynamicQuery in interface AssetCategoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
dynamicQuery in interface AssetCategoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface AssetCategoryLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public AssetCategory fetchAssetCategory(long categoryId)
throws SystemException
fetchAssetCategory in interface AssetCategoryLocalServiceSystemException
public AssetCategory getAssetCategory(long categoryId)
throws PortalException,
SystemException
getAssetCategory in interface AssetCategoryLocalServicecategoryId - the primary key of the asset category
PortalException - if a asset category with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface AssetCategoryLocalServicePortalException
SystemException
public AssetCategory getAssetCategoryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getAssetCategoryByUuidAndGroupId in interface AssetCategoryLocalServiceuuid - the UUID of asset categorygroupId - the group id of the asset category
PortalException - if a asset category with the UUID in the group could not be found
SystemException - if a system exception occurred
public List<AssetCategory> getAssetCategories(int start,
int end)
throws SystemException
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.
getAssetCategories in interface AssetCategoryLocalServicestart - the lower bound of the range of asset categoriesend - the upper bound of the range of asset categories (not inclusive)
SystemException - if a system exception occurred
public int getAssetCategoriesCount()
throws SystemException
getAssetCategoriesCount in interface AssetCategoryLocalServiceSystemException - if a system exception occurred
public AssetCategory updateAssetCategory(AssetCategory assetCategory)
throws SystemException
updateAssetCategory in interface AssetCategoryLocalServiceassetCategory - the asset category
SystemException - if a system exception occurred
public AssetCategory updateAssetCategory(AssetCategory assetCategory,
boolean merge)
throws SystemException
updateAssetCategory in interface AssetCategoryLocalServiceassetCategory - the asset categorymerge - 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.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface AssetCategoryLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface AssetCategoryLocalServicebeanIdentifier - the Spring bean ID for this bean
public AssetCategory addCategory(long userId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
addCategory in interface AssetCategoryLocalServicePortalException
SystemException
public void addCategoryResources(AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addCategoryResources in interface AssetCategoryLocalServicePortalException
SystemException
public void addCategoryResources(AssetCategory category,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addCategoryResources in interface AssetCategoryLocalServicePortalException
SystemException
public void deleteCategory(AssetCategory category)
throws PortalException,
SystemException
deleteCategory in interface AssetCategoryLocalServicePortalException
SystemException
public void deleteCategory(long categoryId)
throws PortalException,
SystemException
deleteCategory in interface AssetCategoryLocalServicePortalException
SystemException
public void deleteVocabularyCategories(long vocabularyId)
throws PortalException,
SystemException
deleteVocabularyCategories in interface AssetCategoryLocalServicePortalException
SystemException
public AssetCategory fetchCategory(long categoryId)
throws SystemException
fetchCategory in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getCategories()
throws SystemException
getCategories in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getCategories(long classNameId,
long classPK)
throws SystemException
getCategories in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getCategories(String className,
long classPK)
throws SystemException
getCategories in interface AssetCategoryLocalServiceSystemException
public AssetCategory getCategory(long categoryId)
throws PortalException,
SystemException
getCategory in interface AssetCategoryLocalServicePortalException
SystemException
public long[] getCategoryIds(String className,
long classPK)
throws SystemException
getCategoryIds in interface AssetCategoryLocalServiceSystemException
public String[] getCategoryNames()
throws SystemException
getCategoryNames in interface AssetCategoryLocalServiceSystemException
public String[] getCategoryNames(long classNameId,
long classPK)
throws SystemException
getCategoryNames in interface AssetCategoryLocalServiceSystemException
public String[] getCategoryNames(String className,
long classPK)
throws SystemException
getCategoryNames in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getChildCategories(long parentCategoryId)
throws SystemException
getChildCategories in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getChildCategories in interface AssetCategoryLocalServiceSystemException
public int getChildCategoriesCount(long parentCategoryId)
throws SystemException
getChildCategoriesCount in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getEntryCategories(long entryId)
throws SystemException
getEntryCategories in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getVocabularyCategories in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getVocabularyCategories in interface AssetCategoryLocalServiceSystemException
public int getVocabularyCategoriesCount(long vocabularyId)
throws SystemException
getVocabularyCategoriesCount in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getVocabularyRootCategories in interface AssetCategoryLocalServiceSystemException
public void mergeCategories(long fromCategoryId,
long toCategoryId)
throws PortalException,
SystemException
mergeCategories in interface AssetCategoryLocalServicePortalException
SystemException
public AssetCategory moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException,
SystemException
moveCategory in interface AssetCategoryLocalServicePortalException
SystemException
public void rebuildTree(long groupId,
boolean force)
throws SystemException
rebuildTree in interface AssetCategoryLocalServiceSystemException
public List<AssetCategory> search(long groupId,
String name,
String[] categoryProperties,
int start,
int end)
throws SystemException
search in interface AssetCategoryLocalServiceSystemException
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
updateCategory in interface AssetCategoryLocalServicePortalException
SystemExceptionpublic AssetCategoryLocalService getWrappedAssetCategoryLocalService()
getWrappedService()
public void setWrappedAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
setWrappedService(com.liferay.portlet.asset.service.AssetCategoryLocalService)
public AssetCategoryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<AssetCategoryLocalService>public void setWrappedService(AssetCategoryLocalService assetCategoryLocalService)
setWrappedService in interface ServiceWrapper<AssetCategoryLocalService>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||