arta.synergy.ejb.structure
Class ActionCategoriesManager

java.lang.Object
  extended by arta.synergy.ejb.structure.ActionCategoriesManager

public class ActionCategoriesManager
extends java.lang.Object

Created by IntelliJ IDEA. User: topa Date: 31.01.2011 Time: 9:28:23 To change this template use File | Settings | File Templates.


Constructor Summary
ActionCategoriesManager()
           
 
Method Summary
static ServerResult<java.lang.Boolean> activeCategory(java.lang.String categoryID, java.lang.String locale)
           
static ServerResult<ActionsCategory> createCategory(ActionsCategory category, java.lang.String locale)
           
static ServerResult<java.lang.Boolean> deleteCategory(java.lang.String categoryID, java.lang.String locale)
           
static ServerResult<java.util.ArrayList<ActionsCategory>> getAllCategories(boolean showDeleted)
          Метод селектит все поля все категорий, используемых в настройках нагрузок
static ServerResult<java.util.ArrayList<ActionsCategory>> getCategories(java.lang.String locale, boolean showDeleted)
           
static ServerResult<ActionsCategory> getCategory(java.lang.String categoryID)
           
static ServerResult<ActionsCategory> saveCategory(ActionsCategory category, java.lang.String locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCategoriesManager

public ActionCategoriesManager()
Method Detail

getCategories

public static ServerResult<java.util.ArrayList<ActionsCategory>> getCategories(java.lang.String locale,
                                                                               boolean showDeleted)

createCategory

public static ServerResult<ActionsCategory> createCategory(ActionsCategory category,
                                                           java.lang.String locale)

saveCategory

public static ServerResult<ActionsCategory> saveCategory(ActionsCategory category,
                                                         java.lang.String locale)

deleteCategory

public static ServerResult<java.lang.Boolean> deleteCategory(java.lang.String categoryID,
                                                             java.lang.String locale)

activeCategory

public static ServerResult<java.lang.Boolean> activeCategory(java.lang.String categoryID,
                                                             java.lang.String locale)

getCategory

public static ServerResult<ActionsCategory> getCategory(java.lang.String categoryID)

getAllCategories

public static ServerResult<java.util.ArrayList<ActionsCategory>> getAllCategories(boolean showDeleted)
Метод селектит все поля все категорий, используемых в настройках нагрузок

Parameters:
showDeleted - селектить удаленные?
Returns:


Copyright © 2000 Dummy Corp. All Rights Reserved.