|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jreceiver.common.rec.BaseRec | +--jreceiver.common.rec.security.RoleRec
Bean to represent a single role folder record
Field Summary | |
protected java.lang.String |
descript
|
protected boolean |
is_checked
is the item selected in the form? |
protected java.lang.String |
role_id
|
Fields inherited from interface jreceiver.common.rec.security.Role |
HKEY_DESCRIPT, ROLE_ADMINS, ROLE_USERS |
Fields inherited from interface jreceiver.common.rec.Rec |
HKEY_KEY, NO_LIMIT |
Fields inherited from interface jreceiver.common.rec.Selectable |
HKEY_CHECKED |
Constructor Summary | |
RoleRec()
ctor - default |
|
RoleRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
RoleRec(java.lang.String role_id,
java.lang.String descript)
ctor |
Method Summary | |
boolean |
getChecked()
get the current select state |
java.lang.String |
getDescript()
|
java.lang.String |
getDescriptStr()
used for display purposes |
java.lang.String |
getId()
|
java.lang.Object |
getKey()
return the Integer or Key object that serves as this Rec's key. |
java.util.Map |
getParams()
return the url parameters necessary to identify this rec by key |
void |
setChecked(boolean is_checked)
set the select state |
void |
setDescript(java.lang.String descript)
|
void |
setId(java.lang.String role_id)
|
void |
setKey(java.lang.Object new_key)
assign the Number-derived, Key-derived or String that serves as this Rec's key. |
java.util.Hashtable |
toHash()
Store the object as a hash suitable for transport over an XML-RPC connection or similar. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class jreceiver.common.rec.BaseRec |
dissolve, dissolveMap, find, find, find, find |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String role_id
protected java.lang.String descript
protected boolean is_checked
Constructor Detail |
public RoleRec()
public RoleRec(java.lang.String role_id, java.lang.String descript)
public RoleRec(java.util.Hashtable hash)
Method Detail |
public java.lang.Object getKey()
getKey
in interface Rec
public void setKey(java.lang.Object new_key)
setKey
in interface Rec
public java.lang.String getId()
getId
in interface Role
public void setId(java.lang.String role_id)
setId
in interface Role
public java.lang.String getDescript()
getDescript
in interface Role
public void setDescript(java.lang.String descript)
setDescript
in interface Role
public java.lang.String getDescriptStr()
public boolean getChecked()
Selectable
getChecked
in interface Selectable
jreceiver.common.rec.Selectable
boolean
true if the item has been selected by the user; false otherwisepublic void setChecked(boolean is_checked)
Selectable
setChecked
in interface Selectable
jreceiver.common.rec.Selectable
is_checked
- public java.util.Map getParams()
public java.lang.String toString()
toString
in interface Hashable
toString
in class java.lang.Object
public java.util.Hashtable toHash()
Use RoleRec(Hashtable)
to transform the data
back into an object of this type.
toHash
in interface Hashable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |