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

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

public class DsDistListWrapper
extends java.lang.Object

Version:
$Revision: 76453 $

Constructor Summary
DsDistListWrapper()
           
 
Method Summary
 void deleteItem(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strItemGUID)
          deletes a distlist (permanently)
 de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem getItem(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strItemGUID)
          returns an existing distlist object, that can be used for editing.
 java.lang.Exception insertInitialAdminPermission(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem p_newItem)
          Set the initial Administration Permission on a new distribution-list
 de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem newItem(java.lang.String p_strContainerGUID)
          creates a new DsListItem Object, that can be used to add an new distlist.
 java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn, IDsSelectFilter p_selectFilter)
          returns a part of distlists
 int selectCount(de.uplanet.jdbc.JdbcConnection p_conn, IDsSelectFilter p_selectFilter)
           
 de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem updateItem(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem p_changeItem)
          updates or inserts an dist list item (like commit)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DsDistListWrapper

public DsDistListWrapper()
Method Detail

insertInitialAdminPermission

public java.lang.Exception insertInitialAdminPermission(de.uplanet.jdbc.JdbcConnection p_conn,
                                                        de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem p_newItem)
Set the initial Administration Permission on a new distribution-list

Parameters:
p_newItem - The new distribution list item.
Returns:
Exception on errors, otherwise null.

newItem

public de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem newItem(java.lang.String p_strContainerGUID)
creates a new DsListItem Object, that can be used to add an new distlist. to save permanently call the update method

Parameters:
p_strContainerGUID - must be a valid guid, and the guid must corresponding to a valid container group, may be null.
Returns:
new DistListItem

getItem

public de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem getItem(de.uplanet.jdbc.JdbcConnection p_conn,
                                                                     java.lang.String p_strItemGUID)
returns an existing distlist object, that can be used for editing.
to save permanently call the update method

Parameters:
p_strItemGUID - valid guid, corresponding to an existing distlist item
Returns:
existing distlist item

deleteItem

public void deleteItem(de.uplanet.jdbc.JdbcConnection p_conn,
                       java.lang.String p_strItemGUID)
deletes a distlist (permanently)

Parameters:
p_strItemGUID - valid guid, corresponding to an existing distlist item

updateItem

public de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem updateItem(de.uplanet.jdbc.JdbcConnection p_conn,
                                                                        de.uplanet.lucy.server.auxiliaries.ds.IDsDistListItem p_changeItem)
                                                                 throws java.sql.SQLException,
                                                                        de.uplanet.lucy.usermanager.DsException,
                                                                        java.lang.IllegalAccessException,
                                                                        java.lang.ClassNotFoundException,
                                                                        java.lang.NoSuchMethodException,
                                                                        java.lang.InstantiationException,
                                                                        java.lang.reflect.InvocationTargetException
updates or inserts an dist list item (like commit)

Parameters:
p_conn -
p_changeItem -
Throws:
java.sql.SQLException
de.uplanet.lucy.usermanager.DsException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException

selectCount

public int selectCount(de.uplanet.jdbc.JdbcConnection p_conn,
                       IDsSelectFilter p_selectFilter)

select

public java.util.Set<de.uplanet.lucy.server.auxiliaries.ds.IDsItem> select(de.uplanet.jdbc.JdbcConnection p_conn,
                                                                           IDsSelectFilter p_selectFilter)
returns a part of distlists

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


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