com.liferay.portal.sharepoint.methods
Class BaseMethodImpl

java.lang.Object
  extended by com.liferay.portal.sharepoint.methods.BaseMethodImpl
All Implemented Interfaces:
Method
Direct Known Subclasses:
CreateURLDirectoriesMethodImpl, GetDocsMetaInfoMethodImpl, GetDocumentMethodImpl, ListDocumentsMethodImpl, MoveDocumentMethodImpl, OpenServiceMethodImpl, PutDocumentMethodImpl, RemoveDocumentsMethodImpl, ServerVersionMethodImpl, UncheckoutDocumentMethodImpl, UrlToWebUrlMethodImpl

public abstract class BaseMethodImpl
extends java.lang.Object
implements Method

View Source

Author:
Bruno Farache

Field Summary
 
Fields inherited from interface com.liferay.portal.sharepoint.methods.Method
GET, POST
 
Constructor Summary
BaseMethodImpl()
           
 
Method Summary
protected  void doProcess(SharepointRequest sharepointRequest)
           
protected abstract  java.util.List<ResponseElement> getElements(SharepointRequest sharepointRequest)
           
protected  java.lang.StringBuilder getResponseBuffer(SharepointRequest sharepointRequest)
           
 java.lang.String getRootPath(SharepointRequest sharepointRequest)
           
 void process(SharepointRequest sharepointRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.sharepoint.methods.Method
getMethodName
 

Constructor Detail

BaseMethodImpl

public BaseMethodImpl()
Method Detail

getRootPath

public java.lang.String getRootPath(SharepointRequest sharepointRequest)
Specified by:
getRootPath in interface Method

process

public void process(SharepointRequest sharepointRequest)
             throws SharepointException
Specified by:
process in interface Method
Throws:
SharepointException

getElements

protected abstract java.util.List<ResponseElement> getElements(SharepointRequest sharepointRequest)
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

doProcess

protected void doProcess(SharepointRequest sharepointRequest)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getResponseBuffer

protected java.lang.StringBuilder getResponseBuffer(SharepointRequest sharepointRequest)
                                             throws java.lang.Exception
Throws:
java.lang.Exception