Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

 

jve.generated
Interface IDataSourceService

All Known Implementing Classes:
DataSourceDataObject, DataSourceDataRows, DataSourceService, SwingDataServiceAction


public interface IDataSourceService

A Data Source Service provided the interfaces necessary to perform a service call on a Data Source.


Method Summary
 IDataSource getDataSource()
          Get the Data Source associated with this action.
 ObjectReference getServiceArgument()
          Get the argument used as the parameter for the service call.
 java.lang.String getServiceSignature()
          Get the service signature for this action.
 void setDataSource(IDataSource source)
          Set the Data Source associated with this action.
 void setServiceArgument(ObjectReference arg)
          Set the argument for the service call, according to the method signature set with the setService method.
 void setServiceSignature(java.lang.String service)
          This is the service method signature that is to be use.
 

Method Detail

 

 

setDataSource

public void setDataSource(IDataSource source)

Set the Data Source associated with this action.

Parameters:
source - DataSource to use for this service


 

 

getDataSource

public IDataSource getDataSource()

Get the Data Source associated with this action.

Returns:
The Data Source used for this service


 

 

setServiceSignature

public void setServiceSignature(java.lang.String service)
                         throws java.lang.IllegalArgumentException

This is the service method signature that is to be use. It has to be complete including parameter types e.g. getUserRecord(Integer id);

Parameters:
service - signature
Throws:
java.lang.IllegalArgumentException


 

 

getServiceSignature

public java.lang.String getServiceSignature()

Get the service signature for this action.

Returns:
service signature


 

 

setServiceArgument

public void setServiceArgument(ObjectReference arg)

Set the argument for the service call, according to the method signature set with the setService method.

Parameters:
arg - the service argument


 

 

getServiceArgument

public ObjectReference getServiceArgument()

Get the argument used as the parameter for the service call.

Returns:
argument used for the service


Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD