|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdea.beans.Userperms
Title: userperms Helper
Description: Class for holding data from the userperms table.
Copyright: Copyright (c) 2001-2004
Company: RMRR
Field Summary | |
protected static Display |
display
|
static java.lang.String |
GETALL
|
protected java.lang.Integer |
perm_id
|
static java.lang.String |
PERM_ID
|
static int |
PERM_ID_LEN
|
static java.lang.String |
TABLE_NAME
|
protected java.lang.Integer |
user_id
|
static java.lang.String |
USER_ID
|
static int |
USER_ID_LEN
|
protected java.lang.Integer |
user_perm_id
|
static java.lang.String |
USER_PERM_ID
|
static int |
USER_PERM_ID_LEN
|
Fields inherited from interface dea.common.IDebugLevels |
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS |
Constructor Summary | |
Userperms()
Basic constructor |
|
Userperms(int pk)
load record from the DB by primary key. |
Method Summary | |
java.lang.Object |
clone()
|
java.lang.Integer |
getObjPerm_id()
returns value of the PERM_ID column of this row of data |
java.lang.Integer |
getObjUser_id()
returns value of the USER_ID column of this row of data |
java.lang.Integer |
getObjUser_perm_id()
returns value of the USER_PERM_ID column of this row of data |
int |
getPerm_id()
returns value of the PERM_ID column of this row of data |
int |
getUser_id()
returns value of the USER_ID column of this row of data |
int |
getUser_perm_id()
returns value of the USER_PERM_ID column of this row of data |
void |
load(Db db)
load record from the DB by primary key |
static Userperms |
load(java.sql.ResultSet results)
|
static Userperms |
load(java.sql.ResultSet results,
Userperms newObj)
|
void |
setPerm_id(int newVal)
sets value of the PERM_ID column of this row of data default value for this field set by the DB is null |
void |
setPerm_id(java.lang.Integer newVal)
sets value of the PERM_ID column of this row of data default value for this field set by the DB is null |
void |
setUser_id(int newVal)
sets value of the USER_ID column of this row of data default value for this field set by the DB is null |
void |
setUser_id(java.lang.Integer newVal)
sets value of the USER_ID column of this row of data default value for this field set by the DB is null |
void |
setUser_perm_id(int newVal)
sets value of the USER_PERM_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table |
void |
setUser_perm_id(java.lang.Integer newVal)
sets value of the USER_PERM_ID column of this row of data default value for this field set by the DB is null This is the primary key for this table |
void |
store()
Deprecated. Should use store(Db db) to limit connections to DB |
void |
store(Db db)
Store this object in the DB |
java.lang.String |
toString()
Returns a String showing the values of this bean - mainly for debuging |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final Display display
protected java.lang.Integer perm_id
protected java.lang.Integer user_id
protected java.lang.Integer user_perm_id
public static final java.lang.String TABLE_NAME
public static final java.lang.String GETALL
public static final java.lang.String PERM_ID
public static final int PERM_ID_LEN
public static final java.lang.String USER_ID
public static final int USER_ID_LEN
public static final java.lang.String USER_PERM_ID
public static final int USER_PERM_ID_LEN
Constructor Detail |
public Userperms()
public Userperms(int pk)
Method Detail |
public java.lang.Integer getObjPerm_id()
public int getPerm_id()
public void setPerm_id(java.lang.Integer newVal)
public void setPerm_id(int newVal)
public java.lang.Integer getObjUser_id()
public int getUser_id()
public void setUser_id(java.lang.Integer newVal)
public void setUser_id(int newVal)
public java.lang.Integer getObjUser_perm_id()
public int getUser_perm_id()
public void setUser_perm_id(java.lang.Integer newVal)
public void setUser_perm_id(int newVal)
public java.lang.Object clone()
public static Userperms load(java.sql.ResultSet results) throws java.sql.SQLException
java.sql.SQLException
public static Userperms load(java.sql.ResultSet results, Userperms newObj) throws java.sql.SQLException
java.sql.SQLException
public void load(Db db)
db
- public void store() throws java.sql.SQLException, java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundException
public void store(Db db) throws java.sql.SQLException, java.lang.ClassNotFoundException
db
- holds connection to DB
java.sql.SQLException
java.lang.ClassNotFoundException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |