|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.prefs.AbstractPrefEntry
wt.prefs.UndefinedPrefEntry
The UndefinedPrefEntry class is used as a place holder data structure
within the Preference package. This class represents a Preference entry
that is undefined. This means that given a hierarchy of
Policy1,User,Division1,Default
PrefEntry
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private String |
context
|
private String |
name
|
private String |
node
|
private String |
parent
|
(package private) static long |
serialVersionUID
|
private String |
value
|
Fields inherited from class wt.prefs.AbstractPrefEntry |
EXTERNALIZATION_VERSION_UID, OLD_FORMAT_VERSION_UID |
Fields inherited from interface wt.prefs.PrefEntry |
CONTEXT, NAME, NODE, PARENT, VALUE |
Constructor Summary | |
UndefinedPrefEntry()
Empty constructor |
|
UndefinedPrefEntry(String parent,
String node,
String context,
String name,
String value)
This is the constructor for the UndefinedPrefEntry following the constructors of PrefEntries. |
Method Summary | |
String[] |
children(String[] contexts)
Returns the children of this PrefEntry. |
void |
delete()
Since this PrefEntry is not persistable the delete does nothing |
String |
getConceptualClassname()
Deprecated. |
String |
getContext()
Returns the context. |
String |
getName()
Gets the value of the attribute: name. |
String |
getNode()
Gets the node of the PrefEntry. |
String |
getParent()
Will return the parent of the Preference Entry |
String |
getValue()
Gets the value of the attribute: value. |
void |
persist()
Since this PrefEntry is not persistable the persist does nothing |
PrefEntry |
retrieve()
Since this PrefEntry is not persistable the retrieve does nothing and returns this. |
PrefEntry[] |
retrieveAll()
Since this PrefEntry is not persistable the retrievalAll returns the current object. |
ArrayList |
search(String search,
String[] contexts,
boolean isLike)
This will search the Preference Entry for the search string. |
void |
setContext(String a_Context)
Sets the context |
void |
setName(String a_Name)
Sets the value of the attribute: name. |
void |
setNode(String a_Node)
Sets the node to the input node value |
void |
setParent(String a_Parent)
Sets the value of the attribute: parent. |
void |
setValue(String a_Value)
Sets the value of the attribute: value. |
void |
update()
Since this PrefEntry is not persistable the update does nothing |
Methods inherited from class wt.prefs.AbstractPrefEntry |
readExternal, readVersion, writeExternal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private String parent
private String name
private String value
private String node
private String context
static final long serialVersionUID
Constructor Detail |
public UndefinedPrefEntry() throws WTException
public UndefinedPrefEntry(String parent, String node, String context, String name, String value) throws WTException
Method Detail |
public String getConceptualClassname()
public String getParent()
getParent
in interface PrefEntry
getParent
in class AbstractPrefEntry
public void setParent(String a_Parent) throws WTPropertyVetoException
setParent
in interface PrefEntry
setParent
in class AbstractPrefEntry
a_Parent
-
WTPropertyVetoException
public String getName()
getName
in interface PrefEntry
getName
in class AbstractPrefEntry
public void setName(String a_Name) throws WTPropertyVetoException
setName
in interface PrefEntry
setName
in class AbstractPrefEntry
a_Name
-
WTPropertyVetoException
public String getValue()
getValue
in interface PrefEntry
getValue
in class AbstractPrefEntry
public void setValue(String a_Value) throws WTPropertyVetoException
setValue
in interface PrefEntry
setValue
in class AbstractPrefEntry
a_Value
-
WTPropertyVetoException
public String getNode()
getNode
in interface PrefEntry
getNode
in class AbstractPrefEntry
public void setNode(String a_Node) throws WTPropertyVetoException
setNode
in interface PrefEntry
setNode
in class AbstractPrefEntry
a_Node
- The node to set
WTPropertyVetoException
public String getContext()
getContext
in interface PrefEntry
getContext
in class AbstractPrefEntry
public void setContext(String a_Context) throws WTPropertyVetoException
setContext
in interface PrefEntry
setContext
in class AbstractPrefEntry
a_Context
-
WTPropertyVetoException
public void delete()
delete
in interface PrefEntry
delete
in class AbstractPrefEntry
public PrefEntry retrieve()
retrieve
in interface PrefEntry
retrieve
in class AbstractPrefEntry
public void update()
update
in interface PrefEntry
update
in class AbstractPrefEntry
public void persist()
persist
in interface PrefEntry
persist
in class AbstractPrefEntry
public PrefEntry[] retrieveAll()
retrieveAll
in interface PrefEntry
retrieveAll
in class AbstractPrefEntry
public String[] children(String[] contexts)
children
in interface PrefEntry
children
in class AbstractPrefEntry
contexts
-
public ArrayList search(String search, String[] contexts, boolean isLike) throws WTException
search
in interface PrefEntry
search
in class AbstractPrefEntry
search
- The string to search forcontexts
- The list of search contexts to use for the search.isLike
- Whether the search is a LIKE search or exact match
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |