Package com.sforce.soap.metadata
Class MetadataConnection
- java.lang.Object
-
- com.sforce.soap.metadata.MetadataConnection
-
public class MetadataConnection extends Object
This 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(ConnectorConfig config)
-
Method Summary
-
-
-
Constructor Detail
-
MetadataConnection
public MetadataConnection(ConnectorConfig config) throws ConnectionException
- Throws:
ConnectionException
-
-
Method Detail
-
getConfig
public ConnectorConfig getConfig()
-
setSessionHeader
public void setSessionHeader(String sessionId)
-
clearSessionHeader
public void clearSessionHeader()
-
getSessionHeader
public SessionHeader_element getSessionHeader()
-
__setSessionHeader
public void __setSessionHeader(SessionHeader_element __header)
-
setDebuggingInfo
public void setDebuggingInfo(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(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(String type, String[] fullNames) throws ConnectionException
- Throws:
ConnectionException
-
renameMetadata
public SaveResult renameMetadata(String type, String oldFullName, String newFullName) throws ConnectionException
- Throws:
ConnectionException
-
updateMetadata
public SaveResult[] updateMetadata(Metadata[] metadata) throws ConnectionException
- Throws:
ConnectionException
-
describeMetadata
public DescribeMetadataResult describeMetadata(double asOfVersion) throws ConnectionException
- Throws:
ConnectionException
-
checkDeployStatus
public DeployResult checkDeployStatus(String asyncProcessId, boolean includeDetails) throws ConnectionException
- Throws:
ConnectionException
-
checkRetrieveStatus
public RetrieveResult checkRetrieveStatus(String asyncProcessId, boolean includeZip) throws ConnectionException
- Throws:
ConnectionException
-
retrieve
public AsyncResult retrieve(RetrieveRequest retrieveRequest) throws ConnectionException
- Throws:
ConnectionException
-
cancelDeploy
public CancelDeployResult cancelDeploy(String String) throws ConnectionException
- Throws:
ConnectionException
-
deployRecentValidation
public String deployRecentValidation(String validationId) throws ConnectionException
- Throws:
ConnectionException
-
describeValueType
public DescribeValueTypeResult describeValueType(String type) throws ConnectionException
- Throws:
ConnectionException
-
createMetadata
public SaveResult[] createMetadata(Metadata[] metadata) throws ConnectionException
- Throws:
ConnectionException
-
deploy
public AsyncResult deploy(byte[] ZipFile, DeployOptions DeployOptions) throws ConnectionException
- Throws:
ConnectionException
-
readMetadata
public ReadResult readMetadata(String type, String[] fullNames) throws ConnectionException
- Throws:
ConnectionException
-
upsertMetadata
public UpsertResult[] upsertMetadata(Metadata[] metadata) throws ConnectionException
- Throws:
ConnectionException
-
listMetadata
public FileProperties[] listMetadata(ListMetadataQuery[] queries, double asOfVersion) throws ConnectionException
- Throws:
ConnectionException
-
removeExtraHeader
public void removeExtraHeader(QName __headerName)
-
clearExtraHeaders
public void clearExtraHeaders()
-
-