us.openinternet.luge.transformer
Class PersonTransformer

java.lang.Object
  |
  +--us.openinternet.luge.transformer.PersonTransformer

public class PersonTransformer
extends java.lang.Object


Constructor Summary
PersonTransformer(LugeTransformer lt)
          You must use this constructor
 
Method Summary
 boolean addPerson(java.util.Hashtable attrs)
           
 boolean deleteAttributeFromPerson(java.lang.String uid, java.lang.String attr, java.lang.String value)
          Delete a specific value from an attribute or delete all the values of an attribute
 boolean deletePerson(java.lang.String uid)
           
 boolean modifyPerson(java.lang.String uid, java.util.Hashtable modifyAttrs, boolean appendAttr)
           
 java.util.Hashtable searchUsers(java.lang.String filter, java.lang.String[] attrs, int timeLimit)
          Preferred Transformer seach method:form filter with SearchVO object Facade.searchUsers()
 java.util.Hashtable userLookup(java.lang.String uid)
          For multi-valued lookups--returns a Hashtable with attr:string[]
 java.util.Hashtable userLookup(java.lang.String uid, java.lang.String[] attrs)
          Like userLookupArray except you can specify what attributes you want returned.
 java.util.Hashtable userLookupSingleValue(java.lang.String uid)
          For single-valued lookups only--returns a Hashtable with {String key:String val}
 boolean validateUserPassword(java.lang.String user, java.lang.String password)
          Returns true if the password is valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonTransformer

public PersonTransformer(LugeTransformer lt)
                  throws LugeException
You must use this constructor

Method Detail

searchUsers

public java.util.Hashtable searchUsers(java.lang.String filter,
                                       java.lang.String[] attrs,
                                       int timeLimit)
                                throws LugeException
Preferred Transformer seach method:form filter with SearchVO object Facade.searchUsers()

LugeException

addPerson

public boolean addPerson(java.util.Hashtable attrs)
                  throws LugeException
LugeException

deletePerson

public boolean deletePerson(java.lang.String uid)
                     throws LugeException
LugeException

modifyPerson

public boolean modifyPerson(java.lang.String uid,
                            java.util.Hashtable modifyAttrs,
                            boolean appendAttr)
                     throws LugeException
LugeException

deleteAttributeFromPerson

public boolean deleteAttributeFromPerson(java.lang.String uid,
                                         java.lang.String attr,
                                         java.lang.String value)
                                  throws LugeException
Delete a specific value from an attribute or delete all the values of an attribute

LugeException

userLookup

public java.util.Hashtable userLookup(java.lang.String uid)
                               throws LugeException
For multi-valued lookups--returns a Hashtable with attr:string[]

LugeException

userLookup

public java.util.Hashtable userLookup(java.lang.String uid,
                                      java.lang.String[] attrs)
                               throws LugeException
Like userLookupArray except you can specify what attributes you want returned.

LugeException

userLookupSingleValue

public java.util.Hashtable userLookupSingleValue(java.lang.String uid)
                                          throws LugeException
For single-valued lookups only--returns a Hashtable with {String key:String val}

LugeException

validateUserPassword

public boolean validateUserPassword(java.lang.String user,
                                    java.lang.String password)
                             throws LugeException
Returns true if the password is valid

LugeException

Copyright 2003, Michael Schwartz All Rights Reserved.