com.supermap.services.rest

Class MethodResult

  • java.lang.Object
    • com.supermap.services.rest.MethodResult
  • All Implemented Interfaces:
    java.io.Serializable


    public class MethodResult
    extends java.lang.Object
    implements java.io.Serializable
    

    ${services_rest_MethodResult_Title}

    ${services_rest_MethodResult_Description}

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      MethodResult() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getCustomResult() 
      HttpError getError()
      ${services_rest_MethodResult_method_getError_Title}
      java.lang.String getNewResourceID()
      Gets the ID of the newly created resource.
      java.lang.String getNewResourceLocation()
      ${services_rest_MethodResult_method_getNewResourceLocation_Title}
      PostResultType getPostResultType()
      ${services_rest_MethodResult_method_getPostActionType_Title}
      boolean isSucceed()
      ${services_rest_MethodResult_method_isSucceed_Title}
      void setCustomResult(java.lang.Object customResult) 
      void setError(HttpError error)
      ${services_rest_MethodResult_method_setError_Title}
      void setNewResourceID(java.lang.String newResourceID)
      Sets the ID of the newly created resource.
      void setNewResourceLocation(java.lang.String newResourceLocation)
      ${services_rest_MethodResult_method_setNewResourceLocation_Title}
      void setPostResultType(PostResultType postActionType)
      ${services_rest_MethodResult_method_setPostActionType_Title}
      void setSucceed(boolean isOperationSucced)
      ${services_rest_MethodResult_method_setSucceed_Title}
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MethodResult

        public MethodResult()
        
    • Method Detail

      • getCustomResult

        public java.lang.Object getCustomResult()
        
      • setCustomResult

        public void setCustomResult(java.lang.Object customResult)
        
      • getPostResultType

        public PostResultType getPostResultType()
        

        ${services_rest_MethodResult_method_getPostActionType_Title}

        ${services_rest_MethodResult_method_getPostActionType_Description}

        Returns:
        ${services_rest_MethodResult_method_getPostActionType_return}
      • setPostResultType

        public void setPostResultType(PostResultType postActionType)
        

        ${services_rest_MethodResult_method_setPostActionType_Title}

        ${services_rest_MethodResult_method_setPostActionType_Description}

        Parameters:
        postActionType - ${services_rest_MethodResult_method_setPostActionType_param_postActionType}
      • isSucceed

        public boolean isSucceed()
        

        ${services_rest_MethodResult_method_isSucceed_Title}

        ${services_rest_MethodResult_method_isSucceed_Description}

        Returns:
        ${services_rest_MethodResult_method_isSucceed_return}
      • setSucceed

        public void setSucceed(boolean isOperationSucced)
        

        ${services_rest_MethodResult_method_setSucceed_Title}

        ${services_rest_MethodResult_method_setSucceed_Description}

        Parameters:
        isOperationSucced - ${services_rest_MethodResult_method_setSucceed_param_isOperationSucced}
      • getNewResourceLocation

        public java.lang.String getNewResourceLocation()
        

        ${services_rest_MethodResult_method_getNewResourceLocation_Title}

        ${services_rest_MethodResult_method_getNewResourceLocation_Description}

        Returns:
        ${services_rest_MethodResult_method_getNewResourceLocation_return}
      • setNewResourceLocation

        public void setNewResourceLocation(java.lang.String newResourceLocation)
        

        ${services_rest_MethodResult_method_setNewResourceLocation_Title}

        ${services_rest_MethodResult_method_setNewResourceLocation_Description}

        Parameters:
        newResourceLocation - ${services_rest_MethodResult_method_setNewResourceLocation_param_newResourceLocation}
      • getError

        public HttpError getError()
        

        ${services_rest_MethodResult_method_getError_Title}

        ${services_rest_MethodResult_method_getError_Description}

        Returns:
        ${services_rest_MethodResult_method_getError_return}
      • setError

        public void setError(HttpError error)
        

        ${services_rest_MethodResult_method_setError_Title}

        ${services_rest_MethodResult_method_setError_Description}

        Parameters:
        error - ${services_rest_MethodResult_method_setError_param_error}
      • getNewResourceID

        public java.lang.String getNewResourceID()
        

        Gets the ID of the newly created resource.

        Returns:
        resource ID.
      • setNewResourceID

        public void setNewResourceID(java.lang.String newResourceID)
        

        Sets the ID of the newly created resource.

        Parameters:
        newResourceID - resource ID.