com.hp.ucmdb.api.resources
Interface ResourceManagementService


public interface ResourceManagementService

Services for managing definitions of TQLs, views, users and other resources.

Since:
8.0

Method Summary
 void deployPackage(java.io.File packageFile)
          Deploys the contents of the package file to the server.
 void deployPackage(java.lang.String packageName, java.io.InputStream packageContent)
          Deploys the contents of the stream to the server as a package with the specified name.
 

Method Detail

deployPackage

void deployPackage(java.io.File packageFile)
                   throws UcmdbException,
                          java.io.IOException
Deploys the contents of the package file to the server.

Parameters:
packageFile - the name of the ZIP file containing the package.
Throws:
java.io.IOException - A problem was encountered reading the file.
UcmdbException

deployPackage

void deployPackage(java.lang.String packageName,
                   java.io.InputStream packageContent)
                   throws UcmdbException,
                          java.io.IOException
Deploys the contents of the stream to the server as a package with the specified name. The contents are in the format of a package: A zip file of resources.

Parameters:
packageName - The name of the package without the ".zip" extension.
packageContent - The zip stream to read the package from.
Throws:
java.io.IOException - a problem was encountered reading the stream.
UcmdbException


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.