Package com.sforce.soap.metadata
Class MetadataConnection
- java.lang.Object
-
- com.sforce.soap.metadata.MetadataConnection
-
public class MetadataConnection extends java.lang.ObjectThis is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
-
-
Constructor Summary
Constructors Constructor Description MetadataConnection(com.sforce.ws.ConnectorConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void__setAllOrNoneHeader(AllOrNoneHeader_element __header)void__setCallOptions(CallOptions_element __header)void__setDebuggingHeader(DebuggingHeader_element __header)void__setDebuggingInfo(DebuggingInfo_element __header)void__setSessionHeader(SessionHeader_element __header)voidaddExtraHeader(javax.xml.namespace.QName __headerName, com.sforce.ws.bind.XMLizable __value)CancelDeployResultcancelDeploy(java.lang.String String)DeployResultcheckDeployStatus(java.lang.String asyncProcessId, boolean includeDetails)RetrieveResultcheckRetrieveStatus(java.lang.String asyncProcessId, boolean includeZip)voidclearAllOrNoneHeader()voidclearCallOptions()voidclearDebuggingHeader()voidclearDebuggingInfo()voidclearExtraHeaders()voidclearSessionHeader()SaveResult[]createMetadata(Metadata[] metadata)DeleteResult[]deleteMetadata(java.lang.String type, java.lang.String[] fullNames)AsyncResultdeploy(byte[] ZipFile, DeployOptions DeployOptions)java.lang.StringdeployRecentValidation(java.lang.String validationId)DescribeMetadataResultdescribeMetadata(double asOfVersion)DescribeValueTypeResultdescribeValueType(java.lang.String type)AllOrNoneHeader_elementgetAllOrNoneHeader()CallOptions_elementgetCallOptions()com.sforce.ws.ConnectorConfiggetConfig()DebuggingHeader_elementgetDebuggingHeader()DebuggingInfo_elementgetDebuggingInfo()com.sforce.ws.bind.XMLizablegetExtraHeader(javax.xml.namespace.QName __headerName)SessionHeader_elementgetSessionHeader()FileProperties[]listMetadata(ListMetadataQuery[] queries, double asOfVersion)ReadResultreadMetadata(java.lang.String type, java.lang.String[] fullNames)voidremoveExtraHeader(javax.xml.namespace.QName __headerName)SaveResultrenameMetadata(java.lang.String type, java.lang.String oldFullName, java.lang.String newFullName)AsyncResultretrieve(RetrieveRequest retrieveRequest)voidsetAllOrNoneHeader(boolean allOrNone)voidsetCallOptions(java.lang.String client)voidsetDebuggingHeader(LogInfo[] categories, LogType debugLevel)voidsetDebuggingInfo(java.lang.String debugLog)voidsetSessionHeader(java.lang.String sessionId)SaveResult[]updateMetadata(Metadata[] metadata)UpsertResult[]upsertMetadata(Metadata[] metadata)
-
-
-
Method Detail
-
getConfig
public com.sforce.ws.ConnectorConfig getConfig()
-
setSessionHeader
public void setSessionHeader(java.lang.String sessionId)
-
clearSessionHeader
public void clearSessionHeader()
-
getSessionHeader
public SessionHeader_element getSessionHeader()
-
__setSessionHeader
public void __setSessionHeader(SessionHeader_element __header)
-
setDebuggingInfo
public void setDebuggingInfo(java.lang.String debugLog)
-
clearDebuggingInfo
public void clearDebuggingInfo()
-
getDebuggingInfo
public DebuggingInfo_element getDebuggingInfo()
-
__setDebuggingInfo
public void __setDebuggingInfo(DebuggingInfo_element __header)
-
clearDebuggingHeader
public void clearDebuggingHeader()
-
getDebuggingHeader
public DebuggingHeader_element getDebuggingHeader()
-
__setDebuggingHeader
public void __setDebuggingHeader(DebuggingHeader_element __header)
-
setCallOptions
public void setCallOptions(java.lang.String client)
-
clearCallOptions
public void clearCallOptions()
-
getCallOptions
public CallOptions_element getCallOptions()
-
__setCallOptions
public void __setCallOptions(CallOptions_element __header)
-
setAllOrNoneHeader
public void setAllOrNoneHeader(boolean allOrNone)
-
clearAllOrNoneHeader
public void clearAllOrNoneHeader()
-
getAllOrNoneHeader
public AllOrNoneHeader_element getAllOrNoneHeader()
-
__setAllOrNoneHeader
public void __setAllOrNoneHeader(AllOrNoneHeader_element __header)
-
deleteMetadata
public DeleteResult[] deleteMetadata(java.lang.String type, java.lang.String[] fullNames) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
renameMetadata
public SaveResult renameMetadata(java.lang.String type, java.lang.String oldFullName, java.lang.String newFullName) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
updateMetadata
public SaveResult[] updateMetadata(Metadata[] metadata) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
describeMetadata
public DescribeMetadataResult describeMetadata(double asOfVersion) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
checkDeployStatus
public DeployResult checkDeployStatus(java.lang.String asyncProcessId, boolean includeDetails) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
checkRetrieveStatus
public RetrieveResult checkRetrieveStatus(java.lang.String asyncProcessId, boolean includeZip) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
retrieve
public AsyncResult retrieve(RetrieveRequest retrieveRequest) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
cancelDeploy
public CancelDeployResult cancelDeploy(java.lang.String String) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
deployRecentValidation
public java.lang.String deployRecentValidation(java.lang.String validationId) throws com.sforce.ws.ConnectionException- Throws:
com.sforce.ws.ConnectionException
-
describeValueType
public DescribeValueTypeResult describeValueType(java.lang.String type) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
createMetadata
public SaveResult[] createMetadata(Metadata[] metadata) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
deploy
public AsyncResult deploy(byte[] ZipFile, DeployOptions DeployOptions) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
readMetadata
public ReadResult readMetadata(java.lang.String type, java.lang.String[] fullNames) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
upsertMetadata
public UpsertResult[] upsertMetadata(Metadata[] metadata) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
listMetadata
public FileProperties[] listMetadata(ListMetadataQuery[] queries, double asOfVersion) throws com.sforce.ws.ConnectionException
- Throws:
com.sforce.ws.ConnectionException
-
addExtraHeader
public void addExtraHeader(javax.xml.namespace.QName __headerName, com.sforce.ws.bind.XMLizable __value)
-
removeExtraHeader
public void removeExtraHeader(javax.xml.namespace.QName __headerName)
-
getExtraHeader
public com.sforce.ws.bind.XMLizable getExtraHeader(javax.xml.namespace.QName __headerName)
-
clearExtraHeaders
public void clearExtraHeaders()
-
-