com.webmethods.caf.portalclient.alias.alias2
Interface Ialias2PortType


public interface Ialias2PortType

A simplified web service interface to the access bizpolicy commands related to aliases on MWS resources


Method Summary
 void createalias2(String key, boolean system, URI target)
          Create a new alias for an MWS thing.
 String[] listaliases2(URI target)
          Retrieve an array of alias identifier strings for a specified MWS thing
 AliasValue lookupalias2(String key)
          Retrieve an alias object for a specified alias identifier
 void removealias2(String key)
          Delete an alias for an MWS thing
 

Method Detail

createalias2

void createalias2(String key,
                  boolean system,
                  URI target)
Create a new alias for an MWS thing.

Parameters:
key - unused parameter
system - true to create a system alias, which cannot be deleted
target - the MWS thing identifier as a URL

lookupalias2

AliasValue lookupalias2(String key)
Retrieve an alias object for a specified alias identifier

Parameters:
key - the alias identifier to retrieve
Returns:
an AliasValue instance containing info about the retrieved alias

removealias2

void removealias2(String key)
Delete an alias for an MWS thing

Parameters:
key - the alias to remove from the MWS system

listaliases2

String[] listaliases2(URI target)
Retrieve an array of alias identifier strings for a specified MWS thing

Parameters:
target - the MWS thing ID to retrieve aliases for
Returns:
array of alias identifier strings