Liferay 6.2-ce-ga5

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:
CheckoutMethodImpl, CreateURLDirectoriesMethodImpl, GetDocsMetaInfoMethodImpl, GetDocumentMethodImpl, ListDocumentsMethodImpl, MoveDocumentMethodImpl, OpenServiceMethodImpl, PutDocumentMethodImpl, RemoveDocumentsMethodImpl, ServerVersionMethodImpl, UncheckoutDocumentMethodImpl, UrlToWebUrlMethodImpl

public abstract class BaseMethodImpl
extends Object
implements Method


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  List<ResponseElement> getElements(SharepointRequest sharepointRequest)
           
protected  String getResponse(SharepointRequest sharepointRequest, boolean appendNewline)
           
 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 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

doProcess

protected void doProcess(SharepointRequest sharepointRequest)
                  throws Exception
Throws:
Exception

getElements

protected abstract List<ResponseElement> getElements(SharepointRequest sharepointRequest)
                                              throws Exception
Throws:
Exception

getResponse

protected String getResponse(SharepointRequest sharepointRequest,
                             boolean appendNewline)
                      throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5