com.hyper9.vangaea.types.beans.admin
Interface ServerInformationBean

All Superinterfaces:
AdminBean, com.hyper9.common.beans.Bean, java.io.Serializable, com.hyper9.common.beans.UniqueBean<java.lang.Integer>
All Known Implementing Classes:
ServerInformationBeanImpl

public interface ServerInformationBean
extends AdminBean

A bean describing a row in the tbl_server table.

Author:
akutz

Method Summary
 java.lang.String getAddress()
          Gets the server address.
 java.lang.String getAlias()
          Gets the server alias.
 ConnectorTypeBean getConnector(UserBean user, java.lang.String key)
          Gets a connector for the server.
 int getConnectorID()
          Gets the server's connector ID.
 boolean getIgnoreSslErrors()
          Gets a value indicating whether or not to ignore SSL errors.
 int getPort()
          Gets the server port.
 boolean getUseSsl()
          Gets a value indicating whether or not to use SSL.
 void setAddress(java.lang.String toSet)
          Sets the server address.
 void setAlias(java.lang.String toSet)
          Sets the server alias.
 void setConnectorID(int toSet)
          Sets the server's connector ID.
 void setIgnoreSslErrors(boolean toSet)
          Sets a value indicating whether or not to ignore SSL errors.
 void setPort(int toSet)
          Sets the server port.
 void setUseSsl(boolean toSet)
          Sets a value indicating whether or not to use SSL.
 
Methods inherited from interface com.hyper9.vangaea.types.beans.admin.AdminBean
getConnection, isDeleted, isDirty
 
Methods inherited from interface com.hyper9.common.beans.UniqueBean
getID, setID
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Method Detail

getAddress

java.lang.String getAddress()
Gets the server address.

Returns:
The server address.

setAddress

void setAddress(java.lang.String toSet)
Sets the server address.

Parameters:
toSet - The server address.

getPort

int getPort()
Gets the server port.

Returns:
The server port.

setPort

void setPort(int toSet)
Sets the server port.

Parameters:
toSet - The server port.

getUseSsl

boolean getUseSsl()
Gets a value indicating whether or not to use SSL.

Returns:
A value indicating whether or not to use SSL.

setUseSsl

void setUseSsl(boolean toSet)
Sets a value indicating whether or not to use SSL.

Parameters:
toSet - A value indicating whether or not to use SSL.

getIgnoreSslErrors

boolean getIgnoreSslErrors()
Gets a value indicating whether or not to ignore SSL errors.

Returns:
A value indicating whether or not to ignore SSL errors.

setIgnoreSslErrors

void setIgnoreSslErrors(boolean toSet)
Sets a value indicating whether or not to ignore SSL errors.

Parameters:
toSet - A value indicating whether or not to ignore SSL errors.

getConnectorID

int getConnectorID()
Gets the server's connector ID.

Returns:
The server's connector ID.

setConnectorID

void setConnectorID(int toSet)
Sets the server's connector ID.

Parameters:
toSet - The server's connector ID.

setAlias

void setAlias(java.lang.String toSet)
Sets the server alias.

Parameters:
toSet - The server alias.

getAlias

java.lang.String getAlias()
Gets the server alias.

Returns:
The server alias.

getConnector

ConnectorTypeBean getConnector(UserBean user,
                               java.lang.String key)
                               throws java.lang.Exception
Gets a connector for the server.

Parameters:
user - The user to get the connector for.
key - The user's decryption key.
Returns:
A connector for the server.
Throws:
java.lang.Exception - When an error occurs.


Copyright © 2009 Hyper9. All Rights Reserved.