de.uplanet.lucy.server.auxiliaries.ds
Class DsSetWrapper

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.ds.DsSetWrapper
Direct Known Subclasses:
DsGroupWrapper, DsRoleWrapper

public class DsSetWrapper
extends java.lang.Object

Version:
$Revision: 76897 $

Constructor Summary
DsSetWrapper()
           
 
Method Summary
 java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn, IDsSelectFilter p_selectFilter)
          returns a list of objects (sets.
 java.util.List<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strGuid, IDsSelectFilter p_selectFilter)
          Returns a list of members of a given set.
 int selectCount(de.uplanet.jdbc.JdbcConnection p_conn, IDsSelectFilter p_selectFilter)
          returns the count of members in the given set.
 int selectCount(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strSetGuid, IDsSelectFilter p_selectFilter)
          returns the count of members in the given set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DsSetWrapper

public DsSetWrapper()
Method Detail

select

public java.util.List<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn,
                                                                            java.lang.String p_strGuid,
                                                                            IDsSelectFilter p_selectFilter)
                                                                     throws de.uplanet.lucy.usermanager.DsException
Returns a list of members of a given set. Without a selected filter the list may be very long.

Parameters:
p_selectFilter - used for filtering
p_strGuid - The guid of the set
Returns:
set of items (members of the given set)
Throws:
de.uplanet.lucy.usermanager.DsException

selectCount

public int selectCount(de.uplanet.jdbc.JdbcConnection p_conn,
                       java.lang.String p_strSetGuid,
                       IDsSelectFilter p_selectFilter)
                throws de.uplanet.lucy.usermanager.DsException,
                       java.io.IOException
returns the count of members in the given set. without a selected filter the list may be much big.

Parameters:
p_selectFilter - used for filtering
p_strGuid - the guid of the set
Returns:
count of objects (-1 on error)
Throws:
de.uplanet.lucy.usermanager.DsException
java.io.IOException

select

public java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn,
                                                                           IDsSelectFilter p_selectFilter)
                                                                    throws de.uplanet.lucy.usermanager.DsException
returns a list of objects (sets. without a selected filter the list may be much big.

Parameters:
p_selectFilter - used for filtering
Returns:
set of items
Throws:
de.uplanet.lucy.usermanager.DsException

selectCount

public int selectCount(de.uplanet.jdbc.JdbcConnection p_conn,
                       IDsSelectFilter p_selectFilter)
                throws de.uplanet.lucy.usermanager.DsException,
                       java.io.IOException
returns the count of members in the given set. without a selected filter the list may be much big.

Parameters:
p_selectFilter - used for filtering
p_strGuid - the guid of the set
Returns:
count of objects (-1 on error)
Throws:
de.uplanet.lucy.usermanager.DsException
java.io.IOException


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.