flex.data.config
Class DataNetworkSettings

java.lang.Object
  extended by flex.messaging.config.NetworkSettings
      extended by flex.data.config.DataNetworkSettings

public class DataNetworkSettings
extends NetworkSettings

Network policy settings for a DataCollection.


Field Summary
 
Fields inherited from class flex.messaging.config.NetworkSettings
DEFAULT_TIMEOUT, NETWORK_ELEMENT, SESSION_TIMEOUT, SUBSCRIPTION_TIMEOUT_MINUTES
 
Constructor Summary
DataNetworkSettings()
          Creates a DataNetworkSettings instance with default settings
 
Method Summary
 int getPageSize()
          Returns the page size.
 String getReconnectFetch()
          Returns the reconnect fetch property.
 boolean isCustomPagedFills()
          Returns whether the custom paged fills is enabled.
 boolean isPagingEnabled()
          Returns whether data paging is enabled for the destination.
 void setCustomPagedFills(boolean customPagedFills)
          Setting the custom flag to true indicates that the associated assembler has a paged-fill method corresponding to each method specified via the fill-method tag.
 void setPageSize(int pageSize)
          Sets the page size.
 void setPagingEnabled(boolean pagingEnabled)
          Sets whether data paging is enabled for the destination.
 void setReconnectFetch(String reconnectFetch)
          Sets the reconnect fetch property.
 String toString()
           
 
Methods inherited from class flex.messaging.config.NetworkSettings
getClusterId, getSubscriptionTimeoutMinutes, getThrottleSettings, isSharedBackend, isSharedBackendSet, setClusterId, setSharedBackend, setSubscriptionTimeoutMinutes, setThrottleSettings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataNetworkSettings

public DataNetworkSettings()
Creates a DataNetworkSettings instance with default settings

Method Detail

isPagingEnabled

public boolean isPagingEnabled()
Returns whether data paging is enabled for the destination.

Returns:
true is paging is enabled; otherwise false.

setPagingEnabled

public void setPagingEnabled(boolean pagingEnabled)
Sets whether data paging is enabled for the destination. Default false.

Parameters:
pagingEnabled -

getPageSize

public int getPageSize()
Returns the page size.

Returns:
The page size.

setPageSize

public void setPageSize(int pageSize)
Sets the page size. Default is 10.

Parameters:
pageSize -

isCustomPagedFills

public boolean isCustomPagedFills()
Returns whether the custom paged fills is enabled.

Returns:
true if custom paged fills is enabled; otherwise false.

setCustomPagedFills

public void setCustomPagedFills(boolean customPagedFills)
Setting the custom flag to true indicates that the associated assembler has a paged-fill method corresponding to each method specified via the fill-method tag. The paged-fill method should have two additional java.lang.Integer params at the end of the parameters specified via the params tag. The first param specifes the index in the fill collection from which this method will start retrieving records. And the second param specifies the number of records to be retrieved by each paged-fill call. Default enabled value is false.

Parameters:
customPagedFills -

getReconnectFetch

public String getReconnectFetch()
Returns the reconnect fetch property.

Returns:
The reconnect fetch property.

setReconnectFetch

public void setReconnectFetch(String reconnectFetch)
Sets the reconnect fetch property. The reconnect setting determines what the DataService should fetch in the event of a "reconnect" to the remote destination. There are two options: IDENTITY (just retrieve the sequence id) and INSTANCE (retrieve the complete contents of the fill). Optional. Default value is IDENTITY.

Parameters:
reconnectFetch -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007 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/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/data/config/DataNetworkSettings.html