electric.uddi.admin
Interface IAdmin

All Known Implementing Classes:
UDDIAdmin, UDDIServer

public interface IAdmin

IAdmin is the interface that must be implemented by all objects that wish to manipulates sets of UDDI users.

Author:
webMethods

Method Summary
 void deleteUser(java.lang.String name)
          Delete the user with the specified name.
 void deleteUsers()
          Delete all users.
 User getUser(java.lang.String name)
          Return the user with the specified name, or null if not found.
 User[] getUsers()
          Return an array of all the users.
 User saveUser(User user)
          Save the user.
 

Method Detail

getUsers

public User[] getUsers()
                throws UDDIException
Return an array of all the users.

Throws:
UDDIException - if a UDDI error occurs.

getUser

public User getUser(java.lang.String name)
             throws UDDIException
Return the user with the specified name, or null if not found.

Parameters:
name - The user name.
Throws:
UDDIException - if a UDDI error occurs.

saveUser

public User saveUser(User user)
              throws UDDIException
Save the user.

Parameters:
user - The user to save.
Throws:
UDDIException - if a UDDI error occurs.

deleteUser

public void deleteUser(java.lang.String name)
                throws UDDIException
Delete the user with the specified name.

Parameters:
name - The user name.
Throws:
UDDIException - if a UDDI error occurs.

deleteUsers

public void deleteUsers()
                 throws UDDIException
Delete all users.

Throws:
UDDIException - if a UDDI error occurs.


copyright© 2001-2004 by webMethods All Rights Reserved.