Package com.sforce.soap.metadata
Class MetadataConnection
java.lang.Object
com.sforce.soap.metadata.MetadataConnection
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid__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(QName __headerName, XMLizable __value) cancelDeploy(String String) checkDeployStatus(String asyncProcessId, boolean includeDetails) checkRetrieveStatus(String asyncProcessId, boolean includeZip) voidvoidvoidvoidvoidvoidcreateMetadata(Metadata[] metadata) deleteMetadata(String type, String[] fullNames) deploy(byte[] ZipFile, DeployOptions DeployOptions) deployRecentValidation(String validationId) describeMetadata(double asOfVersion) describeValueType(String type) getExtraHeader(QName __headerName) listMetadata(ListMetadataQuery[] queries, double asOfVersion) readMetadata(String type, String[] fullNames) voidremoveExtraHeader(QName __headerName) renameMetadata(String type, String oldFullName, String newFullName) retrieve(RetrieveRequest retrieveRequest) voidsetAllOrNoneHeader(boolean allOrNone) voidsetCallOptions(String client) voidsetDebuggingHeader(LogInfo[] categories, LogType debugLevel) voidsetDebuggingInfo(String debugLog) voidsetSessionHeader(String sessionId) updateMetadata(Metadata[] metadata) upsertMetadata(Metadata[] metadata)
-
Constructor Details
-
MetadataConnection
- Throws:
ConnectionException
-
-
Method Details
-
getConfig
-
setSessionHeader
-
clearSessionHeader
public void clearSessionHeader() -
getSessionHeader
-
__setSessionHeader
-
setDebuggingInfo
-
clearDebuggingInfo
public void clearDebuggingInfo() -
getDebuggingInfo
-
__setDebuggingInfo
-
setDebuggingHeader
-
clearDebuggingHeader
public void clearDebuggingHeader() -
getDebuggingHeader
-
__setDebuggingHeader
-
setCallOptions
-
clearCallOptions
public void clearCallOptions() -
getCallOptions
-
__setCallOptions
-
setAllOrNoneHeader
public void setAllOrNoneHeader(boolean allOrNone) -
clearAllOrNoneHeader
public void clearAllOrNoneHeader() -
getAllOrNoneHeader
-
__setAllOrNoneHeader
-
deleteMetadata
- Throws:
ConnectionException
-
renameMetadata
public SaveResult renameMetadata(String type, String oldFullName, String newFullName) throws ConnectionException - Throws:
ConnectionException
-
updateMetadata
- Throws:
ConnectionException
-
describeMetadata
- 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
- Throws:
ConnectionException
-
cancelDeploy
- Throws:
ConnectionException
-
deployRecentValidation
- Throws:
ConnectionException
-
describeValueType
- Throws:
ConnectionException
-
createMetadata
- Throws:
ConnectionException
-
deploy
- Throws:
ConnectionException
-
readMetadata
- Throws:
ConnectionException
-
upsertMetadata
- Throws:
ConnectionException
-
listMetadata
public FileProperties[] listMetadata(ListMetadataQuery[] queries, double asOfVersion) throws ConnectionException - Throws:
ConnectionException
-
addExtraHeader
-
removeExtraHeader
-
getExtraHeader
-
clearExtraHeaders
public void clearExtraHeaders()
-