Package wt.vc.views

Class ViewReference

java.lang.Object
wt.fc._ObjectReference
wt.fc.ObjectReference
wt.fc._CachedObjectReference
wt.fc.CachedObjectReference
wt.vc.views._ViewReference
wt.vc.views.ViewReference
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, _WTReference, NetFactor, ObjectMappable, WTReference, Evolvable

@GenAsObjectMappable(superClass=CachedObjectReference.class,versions=474185184433863156L,properties={@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="Non-persistent attribute that is filled in by the inflate in the query results thru the cached object.",accessors=@PropertyAccessors(setAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="object",type=View.class,concrete=false,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(required=false),columnProperties=@ColumnProperties(persistent=false))}) public final class ViewReference extends wt.vc.views._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

See Also:
  • Method Details

    • newViewReference

      public static ViewReference newViewReference() throws WTException


      Supported API: true
      Returns:
      ViewReference
      Throws:
      WTException
    • newViewReference

      public static ViewReference newViewReference(View obj) throws WTException


      Supported API: true
      Parameters:
      obj -
      Returns:
      ViewReference
      Throws:
      WTException
    • initialize

      protected void initialize(View obj) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      obj -
      Throws:
      WTException
    • newViewReference

      public static ViewReference newViewReference(ViewReference viewReference) throws WTException


      Supported API: true
      Parameters:
      viewReference -
      Returns:
      ViewReference
      Throws:
      WTException
    • initialize

      protected void initialize(ViewReference viewReference) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Parameters:
      viewReference -
      Throws:
      WTException
    • newViewReference

      public static ViewReference newViewReference(ObjectIdentifier objId) throws WTException


      Supported API: true
      Parameters:
      objId -
      Returns:
      ViewReference
      Throws:
      WTException
    • initialize

      protected void initialize(ObjectIdentifier objId) throws WTException
      Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

      Supported API: true
      Overrides:
      initialize in class ObjectReference
      Parameters:
      objId -
      Throws:
      WTException
    • getIdentity

      public String getIdentity()
      Return the nice string of the referenced object's identity.

      Supported API: true
      Returns:
      String