HP Matrix Operating Environment Software manual Operations, ImportTemplate, ExportTemplate

Models: Matrix Operating Environment Software

1 111
Download 111 pages 21.04 Kb
Page 17
Image 17

3 Operations

The supported operations are specified in the following sections, grouped by target data type.

Version getVersion

Name

getVersion

Gets the IO product version.

Parameters

none

 

Returns

String version

Product version string (e.g., “6.0.0”) or “Unknown” if the version cannot

 

 

be determined.

Exceptions

IOSoapException

 

Template listTemplates

Name

listTemplates

Gets a list of templates. If the template.access.restricted configuration is

 

 

set to “true” in the conf\hpio.properties file, the result for non-Administrator

 

 

users only includes templates to which they are assigned. Unpublished

 

 

templates are included in the result only for Administrator and Architect

 

 

users.

Parameters

none

 

Returns

List<TemplateInfo>

List of TemplateInfo objects containing basic information about the

 

templates

templates.

Exceptions

IOSoapException

 

importTemplate

Name

importTemplate

Adds a template definition. This operation may be performed only by an

 

 

infrastructure orchestration Administrator or Architect.

Parameters

byte templateXml[]

A template definition encoded as an XML document, unmodified from a

 

 

template export operation.

 

boolean forceOverwrite

If true, overwrites the definition of an existing template with more recent

 

 

modification.

Returns

none

 

Exceptions

InvalidParameterException

 

 

IOSoapException

 

exportTemplate

Name

exportTemplate

Exports a template definition. This operation may be performed only by

 

 

an infrastructure orchestration Administrator or Architect.

Parameters

String templateName

The name of the template to export.

Returns

byte[] templateXml

A template definition encoded as an XML document.

Exceptions

InvalidParameterException

 

 

 

Version 17

Page 17
Image 17
HP Matrix Operating Environment Software manual Operations, ImportTemplate, ExportTemplate, List TemplateInfo