flex.messaging.io
Class PageableRowSetProxy

java.lang.Object
  extended by flex.messaging.io.AbstractProxy
      extended by flex.messaging.io.PageableRowSetProxy
All Implemented Interfaces:
PropertyProxy, Serializable, Cloneable

public class PageableRowSetProxy
extends AbstractProxy

A wrapped PageableRowSet instance requires custom serialization so this legacy type has been made to fit the PropertyProxy interface. TODO: This proxy is similar to features made possible with Externalizable so PageableRowSet/RecordSet should be moved to an Externalizable implementation.

See Also:
Serialized Form

Field Summary
static String AS_TYPE_NAME
          AS Object Type Name.
static String COLUMN_NAMES
           
static String CURSOR
           
static int HUGE_PAGE_SIZE
           
static String ID
           
static String INITIAL_DATA
           
static List propertyNameCache
           
static Integer RECORD_SET_VERSION
           
static String SERVER_INFO
           
static String SERVICE_NAME
           
static String TOTAL_COUNT
          ActionScript (AS) Object Key Names.
static String VERSION
           
 
Constructor Summary
PageableRowSetProxy()
           
PageableRowSetProxy(PageableRowSet defaultInstance)
           
PageableRowSetProxy(RowSet defaultInstance)
           
 
Method Summary
 Object clone()
          Returns a copy of the PropertyProxy so that it can be used as a template without modifying/creating global references to instances, descriptors etc.
 String getAlias(Object instance)
          The class name alias for the given instance.
 List getPropertyNames(Object instance)
          The List of property names as Strings that make up the traits of the given instance.
 Class getType(Object instance, String propertyName)
          Looks up the Class type of the property by name on the given instance.
 Object getValue(Object instance, String propertyName)
          Looks up the value of a property by name for the given instance.
 void setValue(Object instance, String propertyName, Object value)
          Updates the value of a property by name for the given instance.
 
Methods inherited from class flex.messaging.io.AbstractProxy
createInstance, createInstanceFromClassName, getAlias, getClassFromClassName, getClassFromClassName, getDefaultInstance, getDescriptor, getIncludeReadOnly, getInstanceToSerialize, getPropertyNames, getSerializationContext, getType, getValue, instanceComplete, isDynamic, isExternalizable, isExternalizable, setAlias, setDefaultInstance, setDescriptor, setDynamic, setExternalizable, setIncludeReadOnly, setSerializationContext, setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HUGE_PAGE_SIZE

public static final int HUGE_PAGE_SIZE
See Also:
Constant Field Values

AS_TYPE_NAME

public static final String AS_TYPE_NAME
AS Object Type Name.

See Also:
Constant Field Values

RECORD_SET_VERSION

public static final Integer RECORD_SET_VERSION

TOTAL_COUNT

public static final String TOTAL_COUNT
ActionScript (AS) Object Key Names.

See Also:
Constant Field Values

COLUMN_NAMES

public static final String COLUMN_NAMES
See Also:
Constant Field Values

INITIAL_DATA

public static final String INITIAL_DATA
See Also:
Constant Field Values

SERVICE_NAME

public static final String SERVICE_NAME
See Also:
Constant Field Values

SERVER_INFO

public static final String SERVER_INFO
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values

CURSOR

public static final String CURSOR
See Also:
Constant Field Values

ID

public static final String ID
See Also:
Constant Field Values

propertyNameCache

public static final List propertyNameCache
Constructor Detail

PageableRowSetProxy

public PageableRowSetProxy()

PageableRowSetProxy

public PageableRowSetProxy(RowSet defaultInstance)

PageableRowSetProxy

public PageableRowSetProxy(PageableRowSet defaultInstance)
Method Detail

getAlias

public String getAlias(Object instance)
Description copied from interface: PropertyProxy
The class name alias for the given instance.

Parameters:
instance - the object to get the alias of.
Returns:
The class name alias to be used in serializing the type traits.

getPropertyNames

public List getPropertyNames(Object instance)
Description copied from interface: PropertyProxy
The List of property names as Strings that make up the traits of the given instance. These traits determine which properties are to be serialized.

Parameters:
instance - the object to examine
Returns:
List of property names as Strings to be serialized.

getType

public Class getType(Object instance,
                     String propertyName)
Description copied from interface: PropertyProxy
Looks up the Class type of the property by name on the given instance.

Parameters:
instance - The instance that possesses the property.
propertyName - The name of the property.
Returns:
The property type.

getValue

public Object getValue(Object instance,
                       String propertyName)
Description copied from interface: PropertyProxy
Looks up the value of a property by name for the given instance.

Parameters:
instance - The instance that possesses the requested property.
propertyName - The name of the property.
Returns:
The value of the given property.

setValue

public void setValue(Object instance,
                     String propertyName,
                     Object value)
Description copied from interface: PropertyProxy
Updates the value of a property by name for the given instance.

Parameters:
instance - The instance that possesses the requested property.
propertyName - The name of the property to update.
value - The updated value for the property.

clone

public Object clone()
Description copied from class: AbstractProxy
Returns a copy of the PropertyProxy so that it can be used as a template without modifying/creating global references to instances, descriptors etc.

Specified by:
clone in interface PropertyProxy
Overrides:
clone in class AbstractProxy
Returns:
A copy of the PropertyProxy.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/PageableRowSetProxy.html