|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hyper9.uvapi.impls.BeanImpl
com.hyper9.uvapi.impls.UniqueBeanImpl<java.lang.Integer>
com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
com.hyper9.vangaea.impls.beans.admin.ServerInformationBeanImpl
public class ServerInformationBeanImpl
A bean describing a row in the tbl_servers table.
Field Summary |
---|
Fields inherited from class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl |
---|
conn, isDeleted, isDirty |
Constructor Summary | |
---|---|
ServerInformationBeanImpl()
The default constructor for serialization. |
Method Summary | |
---|---|
static ServerInformationBean |
get(java.sql.Connection connection,
int serverID)
Gets a server from the data source. |
static ServerInformationBean |
get(java.sql.Connection connection,
java.lang.String serverAlias)
Gets a server from the data source. |
java.lang.String |
getAddress()
Gets the server address. |
java.lang.String |
getAlias()
Gets the server alias. |
static java.util.List<ServerInformationBean> |
getAll(java.sql.Connection connection)
Gets all of the servers from the data source. |
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 class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl |
---|
getConnection, isDeleted, isDirty |
Methods inherited from class com.hyper9.uvapi.impls.UniqueBeanImpl |
---|
getID, setID |
Methods inherited from class com.hyper9.uvapi.impls.BeanImpl |
---|
toString, toString, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
Constructor Detail |
---|
public ServerInformationBeanImpl()
Method Detail |
---|
public java.lang.String getAddress()
ServerInformationBean
getAddress
in interface ServerInformationBean
public java.lang.String getAlias()
ServerInformationBean
getAlias
in interface ServerInformationBean
public int getConnectorID()
ServerInformationBean
getConnectorID
in interface ServerInformationBean
public boolean getIgnoreSslErrors()
ServerInformationBean
getIgnoreSslErrors
in interface ServerInformationBean
public int getPort()
ServerInformationBean
getPort
in interface ServerInformationBean
public boolean getUseSsl()
ServerInformationBean
getUseSsl
in interface ServerInformationBean
public void setAddress(java.lang.String toSet)
ServerInformationBean
setAddress
in interface ServerInformationBean
toSet
- The server address.public void setAlias(java.lang.String toSet)
ServerInformationBean
setAlias
in interface ServerInformationBean
toSet
- The server alias.public void setConnectorID(int toSet)
ServerInformationBean
setConnectorID
in interface ServerInformationBean
toSet
- The server's connector ID.public void setIgnoreSslErrors(boolean toSet)
ServerInformationBean
setIgnoreSslErrors
in interface ServerInformationBean
toSet
- A value indicating whether or not to ignore SSL errors.public void setPort(int toSet)
ServerInformationBean
setPort
in interface ServerInformationBean
toSet
- The server port.public void setUseSsl(boolean toSet)
ServerInformationBean
setUseSsl
in interface ServerInformationBean
toSet
- A value indicating whether or not to use SSL.public static java.util.List<ServerInformationBean> getAll(java.sql.Connection connection) throws java.lang.Exception
connection
- The underlying data connection.
java.lang.Exception
- When an error occurs.public static ServerInformationBean get(java.sql.Connection connection, int serverID) throws java.lang.Exception
connection
- The underlying data connection.serverID
- The identifier of the server to get.
java.lang.Exception
- When an error occurs.public static ServerInformationBean get(java.sql.Connection connection, java.lang.String serverAlias) throws java.lang.Exception
connection
- The underlying data connection.serverAlias
- The alias of the server to get.
java.lang.Exception
- When an error occurs.public ConnectorTypeBean getConnector(UserBean user, java.lang.String key) throws java.lang.Exception
ServerInformationBean
getConnector
in interface ServerInformationBean
user
- The user to get the connector for.key
- The user's decryption key.
java.lang.Exception
- When an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |