com.stratelia.webactiv.beans.admin.dao
Class ComponentDAO

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.dao.ComponentDAO

public class ComponentDAO
extends Object


Constructor Summary
ComponentDAO()
           
 
Method Summary
static List<String> getAllAvailableComponentIds(Connection con, List<String> groupIds, int userId)
           
static List<String> getAllAvailableComponentIds(Connection con, List<String> groupIds, int userId, String componentName)
           
static List<String> getAvailableComponentIdsInSpace(Connection con, List<String> groupIds, int userId, String spaceId)
           
static List<String> getAvailableComponentIdsInSpace(Connection con, List<String> groupIds, int userId, String spaceId, String componentName)
           
static List<String> getComponentIdsInSpace(Connection con, int spaceId)
           
static List<ComponentInstLight> getComponentsInSpace(Connection con, int spaceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDAO

public ComponentDAO()
Method Detail

getComponentIdsInSpace

public static List<String> getComponentIdsInSpace(Connection con,
                                                  int spaceId)
                                           throws SQLException
Throws:
SQLException

getComponentsInSpace

public static List<ComponentInstLight> getComponentsInSpace(Connection con,
                                                            int spaceId)
                                                     throws SQLException
Throws:
SQLException

getAllAvailableComponentIds

public static List<String> getAllAvailableComponentIds(Connection con,
                                                       List<String> groupIds,
                                                       int userId)
                                                throws SQLException
Throws:
SQLException

getAllAvailableComponentIds

public static List<String> getAllAvailableComponentIds(Connection con,
                                                       List<String> groupIds,
                                                       int userId,
                                                       String componentName)
                                                throws SQLException
Throws:
SQLException

getAvailableComponentIdsInSpace

public static List<String> getAvailableComponentIdsInSpace(Connection con,
                                                           List<String> groupIds,
                                                           int userId,
                                                           String spaceId)
                                                    throws SQLException
Throws:
SQLException

getAvailableComponentIdsInSpace

public static List<String> getAvailableComponentIdsInSpace(Connection con,
                                                           List<String> groupIds,
                                                           int userId,
                                                           String spaceId,
                                                           String componentName)
                                                    throws SQLException
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.