XPUSP - Home

br.usp.ime.xpusp.om
Class BaseXpuspUser

java.lang.Object
  |
  +--org.apache.turbine.om.BaseObject
        |
        +--org.apache.turbine.om.security.SecurityObject
              |
              +--org.apache.turbine.om.security.TurbineUser
                    |
                    +--br.usp.ime.xpusp.om.TurbineUserAdapter
                          |
                          +--br.usp.ime.xpusp.om.BaseXpuspUser
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, org.apache.turbine.om.Persistent, org.apache.turbine.om.Retrievable, org.apache.turbine.om.security.SecurityEntity, java.io.Serializable, org.apache.turbine.om.security.User
Direct Known Subclasses:
XpuspUser

public abstract class BaseXpuspUser
extends TurbineUserAdapter
implements org.apache.turbine.om.Retrievable

This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to XpuspUser

See Also:
Serialized Form

Field Summary
private  Department aDepartment
           
private  boolean alreadyInSave
           
private  Professor aProfessor
           
 
Fields inherited from class br.usp.ime.xpusp.om.TurbineUserAdapter
department_code, DEPARTMENT_CODE, professor_id, PROFESSOR_ID
 
Fields inherited from class org.apache.turbine.om.security.TurbineUser
createDate, lastAccessDate, permStorage, tempStorage
 
Fields inherited from class org.apache.turbine.om.security.SecurityObject
attributes, name
 
Fields inherited from class org.apache.turbine.om.BaseObject
errMsg, is_new, modified, NEW_ID, primaryKey
 
Fields inherited from interface org.apache.turbine.om.security.User
ACCESS_COUNTER, CONFIRM_DATA, CONFIRM_VALUE, EMAIL, FIRST_NAME, HAS_LOGGED_IN, LAST_LOGIN, LAST_NAME, PASSWORD, SESSION_ACCESS_COUNTER, SESSION_KEY, USERNAME
 
Constructor Summary
BaseXpuspUser()
           
 
Method Summary
 Department getDepartment()
           
 Professor getProfessor()
           
 java.lang.String getQueryKey()
          get an id that differentiates this object from others of its class.
 void save()
          Stores the object in the database.
 void save(org.apache.turbine.util.db.pool.DBConnection dbCon)
          Stores the object in the database.
 void save(java.lang.String dbName)
          Stores the object in the database.
 void setDepartment(Department v)
          Declares an association between this object and a Department object
 void setDepartmentKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setProfessor(Professor v)
          Declares an association between this object and a Professor object
 void setProfessorKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setQueryKey(java.lang.String key)
          set an id that differentiates this object from others of its class.
 
Methods inherited from class br.usp.ime.xpusp.om.TurbineUserAdapter
getDepartmentCode, getDepartmentCodeString, getProfessorId, getProfessorIdInteger, getUserId, setDepartmentCode, setDepartmentCodeString, setProfessorId, setProfessorIdInteger
 
Methods inherited from class org.apache.turbine.om.security.TurbineUser
getAccessCounter, getAccessCounterForSession, getConfirmed, getCreateDate, getEmail, getFirstName, getHasLoggedIn, getLastAccessDate, getLastLogin, getLastName, getPassword, getPerm, getPerm, getPermStorage, getTemp, getTemp, getTempStorage, getUserName, hasLoggedIn, incrementAccessCounter, incrementAccessCounterForSession, isConfirmed, removeTemp, setAccessCounter, setAccessCounterForSession, setConfirmed, setCreateDate, setEmail, setFirstName, setHasLoggedIn, setLastAccessDate, setLastLogin, setLastName, setPassword, setPerm, setPermStorage, setTemp, setTempStorage, setUserName, updateLastLogin, valueBound, valueUnbound
 
Methods inherited from class org.apache.turbine.om.security.SecurityObject
compareTo, getAttribute, getAttributes, getName, setAttribute, setAttributes, setName, toString
 
Methods inherited from class org.apache.turbine.om.BaseObject
, equals, equals, getByName, getByPeerName, getByPosition, getPrimaryKey, getPrimaryKeyAsBigDecimal, getPrimaryKeyAsInt, getPrimaryKeyAsLong, getPrimaryKeyAsString, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey, setPrimaryKey, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface org.apache.turbine.om.security.SecurityEntity
getName, setName
 

Field Detail

aDepartment

private Department aDepartment

aProfessor

private Professor aProfessor

alreadyInSave

private boolean alreadyInSave
Constructor Detail

BaseXpuspUser

public BaseXpuspUser()
Method Detail

setDepartment

public void setDepartment(Department v)
                   throws java.lang.Exception
Declares an association between this object and a Department object
Parameters:
Department - v

getDepartment

public Department getDepartment()
                         throws java.lang.Exception

setDepartmentKey

public void setDepartmentKey(org.apache.turbine.om.ObjectKey key)
                      throws java.lang.Exception
Provides convenient way to set a relationship based on a ObjectKey. e.g. bar.setFooKey(foo.getPrimaryKey())

setProfessor

public void setProfessor(Professor v)
                  throws java.lang.Exception
Declares an association between this object and a Professor object
Parameters:
Professor - v

getProfessor

public Professor getProfessor()
                       throws java.lang.Exception

setProfessorKey

public void setProfessorKey(org.apache.turbine.om.ObjectKey key)
                     throws java.lang.Exception
Provides convenient way to set a relationship based on a ObjectKey. e.g. bar.setFooKey(foo.getPrimaryKey())

save

public void save()
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
Overrides:
save in class org.apache.turbine.om.security.TurbineUser

save

public void save(java.lang.String dbName)
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.

save

public void save(org.apache.turbine.util.db.pool.DBConnection dbCon)
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally

getQueryKey

public java.lang.String getQueryKey()
get an id that differentiates this object from others of its class.
Specified by:
getQueryKey in interface org.apache.turbine.om.Retrievable

setQueryKey

public void setQueryKey(java.lang.String key)
                 throws java.lang.Exception
set an id that differentiates this object from others of its class.
Specified by:
setQueryKey in interface org.apache.turbine.om.Retrievable

XPUSP - Home