public class SqlTable
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
ADDELONLY |
|
static int |
ADDMODONLY |
|
static int |
ADDONLY |
|
static int |
DELONLY |
|
static int |
FULLACCESS |
|
static int |
MODDELONLY |
|
static int |
MODONLY |
|
static int |
VIEWONLY |
Constructor | Description |
---|---|
SqlTable(SqlField[] fields) |
Initialization
|
SqlTable(SqlField[] fields,
int idxField) |
Initialization
|
SqlTable(SqlField[] fields,
int idxField,
javax.swing.JFrame frame) |
Initialization
|
SqlTable(SqlField[] fields,
javax.swing.JFrame frame) |
Initialization
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getUsername() |
Get user name
|
boolean |
getViewDeleted() |
Get flag if deleted records can be viewed
|
void |
resetFields() |
Reset fields to defaults
|
void |
setDeletedIsDeleted(boolean deletedIsDeleted) |
Set deleted is deleted flag (i.e.
|
void |
setSecurityLevel(int secLevel) |
Set security level
|
void |
setUsername(java.lang.String username) |
Set username
|
void |
setViewDeleted(boolean viewDeleted) |
set view deleted flag
|
public static final int VIEWONLY
public static final int ADDONLY
public static final int MODONLY
public static final int DELONLY
public static final int ADDMODONLY
public static final int ADDELONLY
public static final int MODDELONLY
public static final int FULLACCESS
public SqlTable(SqlField[] fields)
fields
- public SqlTable(SqlField[] fields, javax.swing.JFrame frame)
fields
- frame
- public SqlTable(SqlField[] fields, int idxField)
fields
- idxField
- public SqlTable(SqlField[] fields, int idxField, javax.swing.JFrame frame)
fields
- idxField
- frame
- public java.lang.String getUsername()
public boolean getViewDeleted()
public void resetFields()
public void setDeletedIsDeleted(boolean deletedIsDeleted)
deletedIsDeleted
- public void setSecurityLevel(int secLevel)
secLevel
- public void setUsername(java.lang.String username)
username
- public void setViewDeleted(boolean viewDeleted)
viewDeleted
-