com.liferay.portal.mirage.custom
Class CategoryServiceImpl
java.lang.Object
com.liferay.portal.mirage.custom.CategoryServiceImpl
- All Implemented Interfaces:
- com.sun.portal.cms.mirage.service.custom.CategoryService
public class CategoryServiceImpl
- extends java.lang.Object
- implements com.sun.portal.cms.mirage.service.custom.CategoryService
View Source
- Author:
- Jorge Ferrer
Method Summary |
void |
assignContentTypeToCategory(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Category category)
|
void |
assignSubCategoryToCategory(com.sun.portal.cms.mirage.model.custom.Category subCategory,
com.sun.portal.cms.mirage.model.custom.Category newParent)
|
void |
createCategory(com.sun.portal.cms.mirage.model.custom.Category category)
|
void |
deleteCategory(com.sun.portal.cms.mirage.model.custom.Category category)
|
com.sun.portal.cms.mirage.model.custom.Category |
getCategory(com.sun.portal.cms.mirage.model.custom.Category category,
com.sun.portal.cms.mirage.model.core.User user)
|
com.sun.portal.cms.mirage.model.custom.Category |
getCategory(java.lang.String selectedCategoryUUID,
com.sun.portal.cms.mirage.model.core.User user)
|
void |
updateCategory(com.sun.portal.cms.mirage.model.custom.Category category)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryServiceImpl
public CategoryServiceImpl()
assignContentTypeToCategory
public void assignContentTypeToCategory(com.sun.portal.cms.mirage.model.custom.ContentType contentType,
com.sun.portal.cms.mirage.model.custom.Category category)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
assignContentTypeToCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
assignSubCategoryToCategory
public void assignSubCategoryToCategory(com.sun.portal.cms.mirage.model.custom.Category subCategory,
com.sun.portal.cms.mirage.model.custom.Category newParent)
throws com.sun.portal.cms.mirage.exception.CMSException,
com.sun.portal.cms.mirage.exception.DuplicateCategoryException
- Specified by:
assignSubCategoryToCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
com.sun.portal.cms.mirage.exception.DuplicateCategoryException
createCategory
public void createCategory(com.sun.portal.cms.mirage.model.custom.Category category)
throws com.sun.portal.cms.mirage.exception.CMSException,
com.sun.portal.cms.mirage.exception.DuplicateCategoryException
- Specified by:
createCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
com.sun.portal.cms.mirage.exception.DuplicateCategoryException
deleteCategory
public void deleteCategory(com.sun.portal.cms.mirage.model.custom.Category category)
throws com.sun.portal.cms.mirage.exception.CMSException,
com.sun.portal.cms.mirage.exception.CategoryNotEmptyException
- Specified by:
deleteCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
com.sun.portal.cms.mirage.exception.CategoryNotEmptyException
getCategory
public com.sun.portal.cms.mirage.model.custom.Category getCategory(java.lang.String selectedCategoryUUID,
com.sun.portal.cms.mirage.model.core.User user)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
getCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
getCategory
public com.sun.portal.cms.mirage.model.custom.Category getCategory(com.sun.portal.cms.mirage.model.custom.Category category,
com.sun.portal.cms.mirage.model.core.User user)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
getCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
updateCategory
public void updateCategory(com.sun.portal.cms.mirage.model.custom.Category category)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
updateCategory
in interface com.sun.portal.cms.mirage.service.custom.CategoryService
- Throws:
com.sun.portal.cms.mirage.exception.CMSException