com.psoft.hsphere.axis
Interface AdminDSServices_PortType

All Superinterfaces:
java.rmi.Remote

public interface AdminDSServices_PortType
extends java.rmi.Remote


Method Summary
 void addDServer(AuthToken at, long dstId, java.lang.String name, java.lang.String rebootURL, java.lang.String internalId, java.lang.String superUser, java.lang.String suPasswd, double setup, double recurrent, java.lang.String mainIP)
          Added Dedicated Servers to particular dedicated server template
 void assignUserDServer(AuthToken at, int accountId, long dsId)
          Assigns particular DS to user account
 void cancelUserDServer(AuthToken at, int accountId, long dsId, int cancellationType, java.lang.String cancelationDate)
          Cancelation particular DS to user account
 void changeDSStage(AuthToken at, int newStage, long dsId)
          Changes stage for the dedicated server from AuthToken
 java.lang.String getDescription()
           
 java.lang.Object[] getDServersList(AuthToken at, long dstId)
           
 DSInfo getDSInfo(AuthToken at, long dsId)
          Returns dedicated server information for particular dedicated server
 DSTInfo getDSTemplateInfo(AuthToken at, long dstId)
          Returns dedicated server template information for particular dedicated server template
 java.lang.Object[] getDSTemplateList(AuthToken at)
           
 

Method Detail

getDescription

java.lang.String getDescription()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addDServer

void addDServer(AuthToken at,
                long dstId,
                java.lang.String name,
                java.lang.String rebootURL,
                java.lang.String internalId,
                java.lang.String superUser,
                java.lang.String suPasswd,
                double setup,
                double recurrent,
                java.lang.String mainIP)
                throws java.rmi.RemoteException
Added Dedicated Servers to particular dedicated server template

Parameters:
at - User authentication information
dstId - particular dedicated server template id
name - Dedicated Server name, will be used to identify the server in the system
rebootURL - url for online rebooting
internalId - "secret" name you give to the server
superUser - superuser login and password that will be provided to a customer
suPasswd - superuser password that will be provided to a customer
setup -
recurrent -
mainIP - when adding a dedicated server, you can assign only one IP to it.
Throws:
java.lang.Exception
java.rmi.RemoteException

getDSInfo

DSInfo getDSInfo(AuthToken at,
                 long dsId)
                 throws java.rmi.RemoteException
Returns dedicated server information for particular dedicated server

Parameters:
at - Admin user authentication information
dsId - particular dedicated server id
Returns:
object DSInfo
Throws:
java.lang.Exception
java.rmi.RemoteException

getDServersList

java.lang.Object[] getDServersList(AuthToken at,
                                   long dstId)
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

changeDSStage

void changeDSStage(AuthToken at,
                   int newStage,
                   long dsId)
                   throws java.rmi.RemoteException
Changes stage for the dedicated server from AuthToken

Parameters:
at - User authentication information
newStage - New Dedicated Server stage
dsId - Dedicated Server id
Throws:
java.lang.Exception
java.rmi.RemoteException

assignUserDServer

void assignUserDServer(AuthToken at,
                       int accountId,
                       long dsId)
                       throws java.rmi.RemoteException
Assigns particular DS to user account

Parameters:
at - User authentication information
accountId - particular user account
dsId - Dedicated Server id
Throws:
java.lang.Exception
java.rmi.RemoteException

cancelUserDServer

void cancelUserDServer(AuthToken at,
                       int accountId,
                       long dsId,
                       int cancellationType,
                       java.lang.String cancelationDate)
                       throws java.rmi.RemoteException
Cancelation particular DS to user account

Parameters:
at - User authentication information
accountId - particular user account
dsId - Dedicated Server id
cancellationType - cancellation type (1 or 2)
cancelationDate - cancellation date (required parameters for cancellationType = 2)
Throws:
java.lang.Exception
java.rmi.RemoteException

getDSTemplateList

java.lang.Object[] getDSTemplateList(AuthToken at)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDSTemplateInfo

DSTInfo getDSTemplateInfo(AuthToken at,
                          long dstId)
                          throws java.rmi.RemoteException
Returns dedicated server template information for particular dedicated server template

Parameters:
at - Admin user authentication information
dstId - particular dedicated server template id
Returns:
object DSTInfo
Throws:
java.lang.Exception
java.rmi.RemoteException


Copyright © 2005 Positive Software Corporation. All Rights Reserved.