JavaXT
|
|||||||||||||||||||||||||||||||
WebService ClassAbstract class used to map HTTP requests to either virtual or concrete methods found in the extending class.
ConstructorsThere are no public constructors.Propertiesconsole
Public MethodsaddModel( Class c ) returns void Register model that this service will support
addModel( Class c, boolean readOnly ) returns void Register model that this service will support
getServiceResponse( ServiceRequest request ) returns ServiceResponse Returns a ServiceResponse for a given request. getServiceResponse( ServiceRequest request, Database database ) returns ServiceResponse Returns a ServiceResponse for a given request and database. beforeCreate( Object obj, ServiceRequest request ) returns void This method is called immediately before a record is inserted into the database. Override this method to process the event.
onCreate( Object obj, ServiceRequest request ) returns void This method is called immediately after a record is inserted into the database. Override this method to process the event.
beforeUpdate( Object obj, ServiceRequest request ) returns void This method is called immediately before a record is updated in the database. Override this method to process the event.
onUpdate( Object obj, ServiceRequest request ) returns void This method is called immediately after a record is updated in the database. Override this method to process the event.
beforeDelete( Object obj, ServiceRequest request ) returns void This method is called immediately before a record is deleted in the database. Override this method to process the event.
onDelete( Object obj, ServiceRequest request ) returns void This method is called immediately after a record is deleted in the database. Override this method to process the event.
createGeom( String hex ) returns Object Used to create a JTS Geometry from a EWKT formatted string returned from PostgreSQL/PostGIS |