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

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.ds.DsObjectWrapper

public class DsObjectWrapper
extends java.lang.Object

Version:
$Revision: 77184 $

Constructor Summary
DsObjectWrapper()
           
 
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.
 int selectCount(de.uplanet.jdbc.JdbcConnection p_conn, IDsSelectFilter p_selectFilter)
          returns the count without a selected filter the list may be much big.
 java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> sortByNameAndPath(java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> p_set)
          sorts a set of DSItems in name and path order
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DsObjectWrapper

public DsObjectWrapper()
Method Detail

select

public 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. without a selected filter the list may be much big.

Parameters:
p_selectFilter - used for filtering
Returns:
set of items

sortByNameAndPath

public java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> sortByNameAndPath(java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> p_set)
sorts a set of DSItems in name and path order

Parameters:
p_set -
Returns:
sorted set

selectCount

public int selectCount(de.uplanet.jdbc.JdbcConnection p_conn,
                       IDsSelectFilter p_selectFilter)
returns the count without a selected filter the list may be much big.

Parameters:
p_selectFilter - used for filtering
Returns:
count of objects (-1 on error)


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