org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcFetchSpecification

java.lang.Object
  extended byjava.util.Observable
      extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
          extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcFetchSpecification

public class XmlRpcFetchSpecification
extends XmlRpcBaseDocument

Author:
Werner Schuster

Field Summary
static java.lang.String KEY_QUALIFIER
           
static java.lang.String KEY_SORT_ORDERING
           
 
Fields inherited from class org.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
content_, id_, KEY_ID
 
Constructor Summary
protected XmlRpcFetchSpecification(FetchSpecification spec)
           
 
Method Summary
protected  boolean checkNewContent(java.util.Map new_content)
          This method checks whether the provided Map contains a valid document.
 void setQualifier(java.lang.String qualifier)
           
 void setSortOrdering(java.util.List order)
           
 
Methods inherited from class org.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
fireNotify, getContent, getId, getString, put, setContent
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_QUALIFIER

public static final java.lang.String KEY_QUALIFIER
See Also:
Constant Field Values

KEY_SORT_ORDERING

public static final java.lang.String KEY_SORT_ORDERING
See Also:
Constant Field Values
Constructor Detail

XmlRpcFetchSpecification

protected XmlRpcFetchSpecification(FetchSpecification spec)
                            throws OgoException,
                                   ConnectionException
Method Detail

setQualifier

public void setQualifier(java.lang.String qualifier)
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

setSortOrdering

public void setSortOrdering(java.util.List order)
                     throws OgoException,
                            ConnectionException
Throws:
OgoException
ConnectionException

checkNewContent

protected boolean checkNewContent(java.util.Map new_content)
Description copied from class: XmlRpcBaseDocument
This method checks whether the provided Map contains a valid document. If essential parts are missing or are of a wrong type, this method must return false, otherwise true.

Specified by:
checkNewContent in class XmlRpcBaseDocument
Parameters:
new_content - The new content for the document.
Returns:
true if the content meets all requirements, otherwise false.


Copyright © 2003 ogojogi Project, All Rights Reserved.