|
||||||||||
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.site.FolderRec
Bean to represent a single folder record
Field Summary | |
protected java.io.File |
folder_file
|
protected int |
folder_id
|
protected java.lang.String |
folder_name
|
protected boolean |
is_checked
is the item selected in the form? |
protected int |
parent_id
|
protected java.lang.String |
parent_name
|
Fields inherited from interface jreceiver.common.rec.site.Folder |
GET_CHILD_IDS_NO_RECURSE, GET_CHILD_IDS_RECURSE, HKEY_FOLDER_FILE, HKEY_FOLDER_ID, HKEY_FOLDER_NAME, HKEY_PARENT_ID, HKEY_PARENT_NAME, POPULATE_FOLDER_FILE |
Fields inherited from interface jreceiver.common.rec.Rec |
HKEY_KEY, NO_LIMIT |
Fields inherited from interface jreceiver.common.rec.Selectable |
HKEY_CHECKED |
Constructor Summary | |
FolderRec()
ctor |
|
FolderRec(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
FolderRec(int folder_id,
java.lang.String folder_name,
int parent_id)
ctor |
|
FolderRec(int folder_id,
java.lang.String folder_name,
int parent_id,
java.lang.String parent_name,
java.io.File folder_file)
ctor |
Method Summary | |
boolean |
getChecked()
get the current select state |
java.io.File |
getFolderFile()
|
int |
getFolderId()
|
java.lang.String |
getFolderName()
|
java.lang.Object |
getKey()
return the Integer object that serves as this Rec's key. |
int |
getParentId()
|
java.lang.String |
getParentName()
|
static java.util.Vector |
reconstitute(java.util.Vector vector)
Reconstitute each FolderRec object that appears as a hash in the list. |
void |
setChecked(boolean is_checked)
set the select state |
void |
setFolderFile(java.io.File folder_file)
|
void |
setFolderId(int folder_id)
|
void |
setFolderName(java.lang.String folder_name)
|
void |
setKey(java.lang.Object new_key)
assign the Number-derived, Key-derived or String that serves as this Rec's key. |
void |
setParentId(int parent_id)
|
void |
setParentName(java.lang.String parent_name)
|
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 folder_name
protected int folder_id
protected java.lang.String parent_name
protected int parent_id
protected java.io.File folder_file
protected boolean is_checked
Constructor Detail |
public FolderRec()
public FolderRec(int folder_id, java.lang.String folder_name, int parent_id)
public FolderRec(int folder_id, java.lang.String folder_name, int parent_id, java.lang.String parent_name, java.io.File folder_file)
public FolderRec(java.util.Hashtable hash)
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 getFolderName()
getFolderName
in interface Folder
public void setFolderName(java.lang.String folder_name)
setFolderName
in interface Folder
public int getFolderId()
getFolderId
in interface Folder
public void setFolderId(int folder_id)
setFolderId
in interface Folder
public java.lang.String getParentName()
getParentName
in interface Folder
public void setParentName(java.lang.String parent_name)
setParentName
in interface Folder
public int getParentId()
getParentId
in interface Folder
public void setParentId(int parent_id)
setParentId
in interface Folder
public java.io.File getFolderFile()
getFolderFile
in interface Folder
public void setFolderFile(java.io.File folder_file)
setFolderFile
in interface Folder
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.Hashtable toHash()
Use FolderRec(Hashtable)
to transform the data
back into an object of this type.
toHash
in interface Hashable
public java.lang.String toString()
Hashable
toString
in interface Hashable
toString
in class java.lang.Object
public static java.util.Vector reconstitute(java.util.Vector vector)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |