cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods
Class GetFileInfoMethod

java.lang.Object
  extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
      extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.GetFileInfoMethod

public class GetFileInfoMethod
extends BaseBoxMethod

Author:
Jimmy

Field Summary
 
Fields inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
apiRequestFormat, apiUploadUrlPrefix, apiUrlPrefix, apiVersion, config, httpManager, soapApiUrl, xmlApiUrl
 
Constructor Summary
GetFileInfoMethod()
           
 
Method Summary
 GetFileInfoResponse getFileInfo(GetFileInfoRequest getFileInfoRequest)
          This method gets file info.
 
Methods inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
getBaseSoapDocument, getElementByActionName, getRestUrl, getSoapElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFileInfoMethod

public GetFileInfoMethod()
Method Detail

getFileInfo

public GetFileInfoResponse getFileInfo(GetFileInfoRequest getFileInfoRequest)
                                throws java.io.IOException,
                                       BoxException
This method gets file info. 'file_id' param should contain valid if of user file. On successful a result, you will receive status 's_get_file_info' and file info in 'info'. If the result wasn't successful, status field can be: e_access_denied.

Parameters:
getFileInfoRequest - request
Returns:
response
Throws:
java.io.IOException - io exception
BoxException - box exception