org.okiproject.serviceimpl.mit.roles
Class Person

java.lang.Object
  |
  +--org.okiproject.serviceimpl.mit.common.Person
        |
        +--org.okiproject.serviceimpl.mit.roles.Person
All Implemented Interfaces:
org.okiproject.serviceapi.common.Agent, org.okiproject.serviceapi.common.AuthorizableEntity, org.okiproject.serviceapi.common.Person, java.io.Serializable

public class Person
extends org.okiproject.serviceimpl.mit.common.Person

Copyright (c) 2001 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

$Source: /cvs/oki/org/okiproject/serviceimpl/mit/doc/roles/org/okiproject/serviceimpl/mit/roles/Person.html,v $

See Also:
Serialized Form

Fields inherited from class org.okiproject.serviceimpl.mit.common.Person
AUTHEN_TYPES, CREDENTIALS, DOB, FIRST_NAME, KERBEROS_NAME, LAST_NAME, MIDDLE_NAME, MIT_ID, SSN
 
Constructor Summary
Person(RolesFactory rolesFactory, java.util.Properties properties)
           
Person(RolesFactory rolesFactory, java.lang.String kerberosName, java.lang.String mitid, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, java.lang.String ssn, java.lang.String dob, java.lang.String emailAddr, java.lang.String deptCode, java.lang.String deptName, java.lang.String primaryPersonType, java.lang.String statusCode)
           
 
Method Summary
static Person create(RolesFactory rolesFactory, java.lang.String kerberosName)
           
 java.lang.Object getProperty(java.lang.String propertyName)
           
 RolesFactory getRolesFactory()
           
 java.lang.Boolean isFoundInRoles()
           
 void refresh()
           
 void setRolesFactory(RolesFactory rFactory)
           
 
Methods inherited from class org.okiproject.serviceimpl.mit.common.Person
create, getAuthenTypes, getCredentials, getDOB, getFirstName, getID, getKerberosName, getLastName, getMiddleName, getMitid, getName, getProperties, getSSN, setID, setProperties, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person(RolesFactory rolesFactory,
              java.util.Properties properties)

Person

public Person(RolesFactory rolesFactory,
              java.lang.String kerberosName,
              java.lang.String mitid,
              java.lang.String firstName,
              java.lang.String middleName,
              java.lang.String lastName,
              java.lang.String ssn,
              java.lang.String dob,
              java.lang.String emailAddr,
              java.lang.String deptCode,
              java.lang.String deptName,
              java.lang.String primaryPersonType,
              java.lang.String statusCode)
Method Detail

getRolesFactory

public RolesFactory getRolesFactory()

setRolesFactory

public void setRolesFactory(RolesFactory rFactory)

getProperty

public java.lang.Object getProperty(java.lang.String propertyName)
Overrides:
getProperty in class org.okiproject.serviceimpl.mit.common.Person

isFoundInRoles

public java.lang.Boolean isFoundInRoles()
                                 throws java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception

create

public static Person create(RolesFactory rolesFactory,
                            java.lang.String kerberosName)