com.wm.app.tn.profile
Class DLSData

java.lang.Object
  extended by com.wm.app.tn.profile.DLSData

public class DLSData
extends java.lang.Object


Constructor Summary
DLSData()
           
 
Method Summary
static void dlsToDB(java.sql.Connection conn, DLSInfo info)
           
static java.util.Vector<DLSInfo> getAllDLS()
           
static com.wm.data.IData getDLSPartnerCriteria(java.lang.String ruleID)
           
static com.wm.data.IData getDLSProfGrpCriteria(java.lang.String ruleID)
           
static com.wm.data.IData getPermissions(java.lang.String roleID)
           
static com.wm.data.IData getPrivileges(java.lang.String role)
           
static java.util.Vector<java.util.ArrayList> getRoles(java.lang.String ruleID)
           
static void privilegesToDB(java.sql.Connection conn, com.wm.data.IData pc, java.lang.String pk)
           
static void puttAllDLS(java.util.Vector<DLSInfo> infos)
           
static void rolesToDB(java.sql.Connection conn, java.util.Vector<java.util.ArrayList> roles, java.lang.String pk)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLSData

public DLSData()
Method Detail

getAllDLS

public static java.util.Vector<DLSInfo> getAllDLS()
                                           throws java.sql.SQLException,
                                                  ProfileStoreException
Throws:
java.sql.SQLException
ProfileStoreException

puttAllDLS

public static void puttAllDLS(java.util.Vector<DLSInfo> infos)
                       throws java.sql.SQLException,
                              ProfileStoreException
Throws:
java.sql.SQLException
ProfileStoreException

dlsToDB

public static void dlsToDB(java.sql.Connection conn,
                           DLSInfo info)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

rolesToDB

public static void rolesToDB(java.sql.Connection conn,
                             java.util.Vector<java.util.ArrayList> roles,
                             java.lang.String pk)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

privilegesToDB

public static void privilegesToDB(java.sql.Connection conn,
                                  com.wm.data.IData pc,
                                  java.lang.String pk)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getRoles

public static java.util.Vector<java.util.ArrayList> getRoles(java.lang.String ruleID)
                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getPermissions

public static com.wm.data.IData getPermissions(java.lang.String roleID)
                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getPrivileges

public static com.wm.data.IData getPrivileges(java.lang.String role)
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getDLSProfGrpCriteria

public static com.wm.data.IData getDLSProfGrpCriteria(java.lang.String ruleID)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getDLSPartnerCriteria

public static com.wm.data.IData getDLSPartnerCriteria(java.lang.String ruleID)
                                               throws java.sql.SQLException
Throws:
java.sql.SQLException