|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.ObjectReference
wt.fc.CachedObjectReference
wt.vc.views.ViewReference
public final class ViewReference
The ViewReference is an ObjectReference particular to Views. When getting the view object from the reference, it uses the ViewService rather than hitting the database directly.
Use the newViewReference static factory method(s), not the
ViewReference constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getIdentity()
Return the nice string of the referenced object's identity. |
protected void |
initialize(ObjectIdentifier objId)
Supports initialization, following construction of an instance. |
protected void |
initialize(View obj)
Supports initialization, following construction of an instance. |
protected void |
initialize(ViewReference viewReference)
Supports initialization, following construction of an instance. |
static ViewReference |
newViewReference()
Supported API: true |
static ViewReference |
newViewReference(ObjectIdentifier objId)
Supported API: true |
static ViewReference |
newViewReference(View obj)
Supported API: true |
static ViewReference |
newViewReference(ViewReference viewReference)
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static ViewReference newViewReference()
throws WTException
WTException
public static ViewReference newViewReference(View obj)
throws WTException
obj -
WTException
protected void initialize(View obj)
throws WTException
obj -
WTException
public static ViewReference newViewReference(ViewReference viewReference)
throws WTException
viewReference -
WTException
protected void initialize(ViewReference viewReference)
throws WTException
viewReference -
WTException
public static ViewReference newViewReference(ObjectIdentifier objId)
throws WTException
objId -
WTException
protected void initialize(ObjectIdentifier objId)
throws WTException
objId -
WTExceptionpublic String getIdentity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||