Package org.alfresco.mock.test.ws
Class MockDescription
- java.lang.Object
-
- org.alfresco.mock.test.ws.MockDescription
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.BaseDescription,org.springframework.extensions.webscripts.BaseDescriptionDocument,org.springframework.extensions.webscripts.Description
public class MockDescription extends Object implements org.springframework.extensions.webscripts.Description
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.extensions.webscripts.Description
org.springframework.extensions.webscripts.Description.FormatStyle, org.springframework.extensions.webscripts.Description.Lifecycle, org.springframework.extensions.webscripts.Description.RequiredAuthentication, org.springframework.extensions.webscripts.Description.RequiredCache, org.springframework.extensions.webscripts.Description.RequiredTransaction, org.springframework.extensions.webscripts.Description.RequiredTransactionParameters, org.springframework.extensions.webscripts.Description.TransactionCapability
-
-
Constructor Summary
Constructors Constructor Description MockDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.extensions.webscripts.ArgumentTypeDescription[]getArguments()StringgetDefaultFormat()InputStreamgetDescDocument()StringgetDescPath()StringgetDescription()Map<String,Serializable>getExtensions()Set<String>getFamilys()org.springframework.extensions.webscripts.Description.FormatStylegetFormatStyle()StringgetId()StringgetKind()org.springframework.extensions.webscripts.Description.LifecyclegetLifecycle()StringgetMethod()booleangetMultipartProcessing()org.springframework.extensions.webscripts.NegotiatedFormat[]getNegotiatedFormats()org.springframework.extensions.webscripts.PathgetPackage()org.springframework.extensions.webscripts.TypeDescription[]getRequestTypes()org.springframework.extensions.webscripts.Description.RequiredAuthenticationgetRequiredAuthentication()org.springframework.extensions.webscripts.Description.RequiredCachegetRequiredCache()org.springframework.extensions.webscripts.Description.RequiredTransactiongetRequiredTransaction()org.springframework.extensions.webscripts.Description.RequiredTransactionParametersgetRequiredTransactionParameters()org.springframework.extensions.webscripts.TypeDescription[]getResponseTypes()StringgetRunAs()StringgetScriptPath()StringgetShortName()StringgetStorePath()String[]getURIs()voidsetMultipartProcessing(boolean multipartProcessing)
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.springframework.extensions.webscripts.BaseDescription
-
getShortName
public String getShortName()
- Specified by:
getShortNamein interfaceorg.springframework.extensions.webscripts.BaseDescription
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.springframework.extensions.webscripts.BaseDescription
-
getStorePath
public String getStorePath()
- Specified by:
getStorePathin interfaceorg.springframework.extensions.webscripts.BaseDescriptionDocument- Specified by:
getStorePathin interfaceorg.springframework.extensions.webscripts.Description
-
getScriptPath
public String getScriptPath()
- Specified by:
getScriptPathin interfaceorg.springframework.extensions.webscripts.Description
-
getPackage
public org.springframework.extensions.webscripts.Path getPackage()
- Specified by:
getPackagein interfaceorg.springframework.extensions.webscripts.Description
-
getDescPath
public String getDescPath()
- Specified by:
getDescPathin interfaceorg.springframework.extensions.webscripts.BaseDescriptionDocument- Specified by:
getDescPathin interfaceorg.springframework.extensions.webscripts.Description
-
getDescDocument
public InputStream getDescDocument() throws IOException
- Specified by:
getDescDocumentin interfaceorg.springframework.extensions.webscripts.BaseDescriptionDocument- Specified by:
getDescDocumentin interfaceorg.springframework.extensions.webscripts.Description- Throws:
IOException
-
getKind
public String getKind()
- Specified by:
getKindin interfaceorg.springframework.extensions.webscripts.Description
-
getFamilys
public Set<String> getFamilys()
- Specified by:
getFamilysin interfaceorg.springframework.extensions.webscripts.Description
-
getRequiredAuthentication
public org.springframework.extensions.webscripts.Description.RequiredAuthentication getRequiredAuthentication()
- Specified by:
getRequiredAuthenticationin interfaceorg.springframework.extensions.webscripts.Description
-
getRunAs
public String getRunAs()
- Specified by:
getRunAsin interfaceorg.springframework.extensions.webscripts.Description
-
getRequiredTransaction
public org.springframework.extensions.webscripts.Description.RequiredTransaction getRequiredTransaction()
- Specified by:
getRequiredTransactionin interfaceorg.springframework.extensions.webscripts.Description
-
getRequiredTransactionParameters
public org.springframework.extensions.webscripts.Description.RequiredTransactionParameters getRequiredTransactionParameters()
- Specified by:
getRequiredTransactionParametersin interfaceorg.springframework.extensions.webscripts.Description
-
getRequiredCache
public org.springframework.extensions.webscripts.Description.RequiredCache getRequiredCache()
- Specified by:
getRequiredCachein interfaceorg.springframework.extensions.webscripts.Description
-
getMethod
public String getMethod()
- Specified by:
getMethodin interfaceorg.springframework.extensions.webscripts.Description
-
getURIs
public String[] getURIs()
- Specified by:
getURIsin interfaceorg.springframework.extensions.webscripts.Description
-
getFormatStyle
public org.springframework.extensions.webscripts.Description.FormatStyle getFormatStyle()
- Specified by:
getFormatStylein interfaceorg.springframework.extensions.webscripts.Description
-
getDefaultFormat
public String getDefaultFormat()
- Specified by:
getDefaultFormatin interfaceorg.springframework.extensions.webscripts.Description
-
getNegotiatedFormats
public org.springframework.extensions.webscripts.NegotiatedFormat[] getNegotiatedFormats()
- Specified by:
getNegotiatedFormatsin interfaceorg.springframework.extensions.webscripts.Description
-
getExtensions
public Map<String,Serializable> getExtensions()
- Specified by:
getExtensionsin interfaceorg.springframework.extensions.webscripts.Description
-
getLifecycle
public org.springframework.extensions.webscripts.Description.Lifecycle getLifecycle()
- Specified by:
getLifecyclein interfaceorg.springframework.extensions.webscripts.Description
-
getMultipartProcessing
public boolean getMultipartProcessing()
- Specified by:
getMultipartProcessingin interfaceorg.springframework.extensions.webscripts.Description
-
setMultipartProcessing
public void setMultipartProcessing(boolean multipartProcessing)
- Specified by:
setMultipartProcessingin interfaceorg.springframework.extensions.webscripts.Description
-
getArguments
public org.springframework.extensions.webscripts.ArgumentTypeDescription[] getArguments()
- Specified by:
getArgumentsin interfaceorg.springframework.extensions.webscripts.Description
-
getRequestTypes
public org.springframework.extensions.webscripts.TypeDescription[] getRequestTypes()
- Specified by:
getRequestTypesin interfaceorg.springframework.extensions.webscripts.Description
-
getResponseTypes
public org.springframework.extensions.webscripts.TypeDescription[] getResponseTypes()
- Specified by:
getResponseTypesin interfaceorg.springframework.extensions.webscripts.Description
-
-