com.j2biz.blogunity.dao
Class CategoryDAO
java.lang.Object
com.j2biz.blogunity.dao.AbstractDAO
com.j2biz.blogunity.dao.CategoryDAO
- public class CategoryDAO
- extends AbstractDAO
- Since:
- 0.1
- Author:
- michelson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryDAO
public CategoryDAO()
getCategoryByID
public Category getCategoryByID(long catId)
throws BlogunityException
- Parameters:
catId
-
- Returns:
-
- Throws:
BlogunityException
getCategoryByID
public Category getCategoryByID(Long catId)
throws BlogunityException
- Parameters:
catId
-
- Returns:
-
- Throws:
BlogunityException
getGlobalCategories
public List getGlobalCategories()
throws BlogunityException
- Returns:
-
- Throws:
BlogunityException
existsGlobalCategoryWithName
public boolean existsGlobalCategoryWithName(String name)
- Parameters:
name
-
- Returns:
getGlobalCategoryByName
public Category getGlobalCategoryByName(String name)
throws BlogunityException
- Parameters:
name
-
- Returns:
-
- Throws:
BlogunityException
createCategory
public Serializable createCategory(Category category)
throws BlogunityException
- Parameters:
category
-
- Returns:
-
- Throws:
BlogunityException
deleteCategory
public void deleteCategory(Category category)
throws BlogunityException
- Parameters:
category
-
- Throws:
BlogunityException
updateCategory
public void updateCategory(Category category)
throws BlogunityException
- Parameters:
category
-
- Throws:
BlogunityException
Copyright (c)j2biz.com