|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
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)
|
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. |
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. |
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<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. Renamed to 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. 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 AssetCategoryLocalService
assetCategory
- the asset category
SystemException
- if a system exception occurredpublic AssetCategory createAssetCategory(long categoryId)
createAssetCategory
in interface AssetCategoryLocalService
categoryId
- the primary key for the new asset category
public AssetCategory deleteAssetCategory(long categoryId) throws PortalException, SystemException
deleteAssetCategory
in interface AssetCategoryLocalService
categoryId
- 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 occurredpublic AssetCategory deleteAssetCategory(AssetCategory assetCategory) throws SystemException
deleteAssetCategory
in interface AssetCategoryLocalService
assetCategory
- the asset category
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface AssetCategoryLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 AssetCategoryLocalService
dynamicQuery
- 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 occurredpublic 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 AssetCategoryLocalService
dynamicQuery
- 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic AssetCategory fetchAssetCategory(long categoryId) throws SystemException
fetchAssetCategory
in interface AssetCategoryLocalService
SystemException
public AssetCategory getAssetCategory(long categoryId) throws PortalException, SystemException
getAssetCategory
in interface AssetCategoryLocalService
categoryId
- 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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface AssetCategoryLocalService
PortalException
SystemException
public AssetCategory getAssetCategoryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getAssetCategoryByUuidAndGroupId
in interface AssetCategoryLocalService
uuid
- 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 occurredpublic 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 AssetCategoryLocalService
start
- 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 occurredpublic int getAssetCategoriesCount() throws SystemException
getAssetCategoriesCount
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic AssetCategory updateAssetCategory(AssetCategory assetCategory) throws SystemException
updateAssetCategory
in interface AssetCategoryLocalService
assetCategory
- the asset category
SystemException
- if a system exception occurredpublic AssetCategory updateAssetCategory(AssetCategory assetCategory, boolean merge) throws SystemException
updateAssetCategory
in interface AssetCategoryLocalService
assetCategory
- 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 void addAssetEntryAssetCategory(long entryId, long categoryId) throws SystemException
addAssetEntryAssetCategory
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetCategory(long entryId, AssetCategory assetCategory) throws SystemException
addAssetEntryAssetCategory
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetCategories(long entryId, long[] categoryIds) throws SystemException
addAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void addAssetEntryAssetCategories(long entryId, List<AssetCategory> AssetCategories) throws SystemException
addAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void clearAssetEntryAssetCategories(long entryId) throws SystemException
clearAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetCategory(long entryId, long categoryId) throws SystemException
deleteAssetEntryAssetCategory
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetCategory(long entryId, AssetCategory assetCategory) throws SystemException
deleteAssetEntryAssetCategory
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds) throws SystemException
deleteAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void deleteAssetEntryAssetCategories(long entryId, List<AssetCategory> AssetCategories) throws SystemException
deleteAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic List<AssetCategory> getAssetEntryAssetCategories(long entryId) throws SystemException
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end) throws SystemException
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic int getAssetEntryAssetCategoriesCount(long entryId) throws SystemException
getAssetEntryAssetCategoriesCount
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic boolean hasAssetEntryAssetCategory(long entryId, long categoryId) throws SystemException
hasAssetEntryAssetCategory
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic boolean hasAssetEntryAssetCategories(long entryId) throws SystemException
hasAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic void setAssetEntryAssetCategories(long entryId, long[] categoryIds) throws SystemException
setAssetEntryAssetCategories
in interface AssetCategoryLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface AssetCategoryLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface AssetCategoryLocalService
beanIdentifier
- the Spring bean ID for this beanpublic 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 AssetCategoryLocalService
PortalException
SystemException
public void addCategoryResources(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addCategoryResources
in interface AssetCategoryLocalService
PortalException
SystemException
public void addCategoryResources(AssetCategory category, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addCategoryResources
in interface AssetCategoryLocalService
PortalException
SystemException
public void deleteCategory(AssetCategory category) throws PortalException, SystemException
deleteCategory
in interface AssetCategoryLocalService
PortalException
SystemException
public void deleteCategory(long categoryId) throws PortalException, SystemException
deleteCategory
in interface AssetCategoryLocalService
PortalException
SystemException
public void deleteVocabularyCategories(long vocabularyId) throws PortalException, SystemException
deleteVocabularyCategories
in interface AssetCategoryLocalService
PortalException
SystemException
public AssetCategory fetchCategory(long categoryId) throws SystemException
fetchCategory
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getCategories() throws SystemException
getCategories
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getCategories(long classNameId, long classPK) throws SystemException
getCategories
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getCategories(String className, long classPK) throws SystemException
getCategories
in interface AssetCategoryLocalService
SystemException
public AssetCategory getCategory(long categoryId) throws PortalException, SystemException
getCategory
in interface AssetCategoryLocalService
PortalException
SystemException
public AssetCategory getCategory(String uuid, long groupId) throws PortalException, SystemException
getCategory
in interface AssetCategoryLocalService
PortalException
SystemException
public long[] getCategoryIds(String className, long classPK) throws SystemException
getCategoryIds
in interface AssetCategoryLocalService
SystemException
public String[] getCategoryNames() throws SystemException
getCategoryNames
in interface AssetCategoryLocalService
SystemException
public String[] getCategoryNames(long classNameId, long classPK) throws SystemException
getCategoryNames
in interface AssetCategoryLocalService
SystemException
public String[] getCategoryNames(String className, long classPK) throws SystemException
getCategoryNames
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getChildCategories(long parentCategoryId) throws SystemException
getChildCategories
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc) throws SystemException
getChildCategories
in interface AssetCategoryLocalService
SystemException
public int getChildCategoriesCount(long parentCategoryId) throws SystemException
getChildCategoriesCount
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getEntryCategories(long entryId) throws SystemException
getEntryCategories
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
getVocabularyCategories
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
getVocabularyCategories
in interface AssetCategoryLocalService
SystemException
public int getVocabularyCategoriesCount(long vocabularyId) throws SystemException
getVocabularyCategoriesCount
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
getVocabularyRootCategories
in interface AssetCategoryLocalService
SystemException
public int getVocabularyRootCategoriesCount(long vocabularyId) throws SystemException
getVocabularyRootCategoriesCount
in interface AssetCategoryLocalService
SystemException
public void mergeCategories(long fromCategoryId, long toCategoryId) throws PortalException, SystemException
mergeCategories
in interface AssetCategoryLocalService
PortalException
SystemException
public AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException, SystemException
moveCategory
in interface AssetCategoryLocalService
PortalException
SystemException
public void rebuildTree(long groupId, boolean force) throws SystemException
rebuildTree
in interface AssetCategoryLocalService
SystemException
public List<AssetCategory> search(long groupId, String name, String[] categoryProperties, int start, int end) throws SystemException
search
in interface AssetCategoryLocalService
SystemException
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 AssetCategoryLocalService
PortalException
SystemException
public 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.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |