|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.admin.Site
Represents the access point to a site (at 4.0, this is a single Application Server) and all operations on that site.
Field Summary | |
static int |
SITE_CONTAINS_AIMS
|
static int |
SITE_CONTAINS_ALL
|
static int |
SITE_CONTAINS_NONE
|
static int |
SITE_CONTAINS_SDE
|
Constructor Summary | |
Site()
Constructs a new Site object. |
Method Summary | |
int |
getAdminInfo(ConnectionProxy connection)
Returns information about the type of site this is: ArcIMS, ArcSDE, both, or neither; this is done through static constants defined in this class (SITE_CONTAINS_*). |
Properties |
getSiteProperties(ConnectionProxy connection)
Returns all site properties. |
Properties |
getSiteProperty(String propertyName,
ConnectionProxy connection)
Returns a site property with the given name string. |
Properties |
getStartupProperties(ConnectionProxy connection)
Returns all site startup properties from the AppServer. |
boolean |
removeSiteProperty(String propertyName,
ConnectionProxy connection)
Removes a site property with given name string. |
boolean |
save(ConnectionProxy connection)
Saves the site configuration. |
boolean |
setSiteProperty(String propertyName,
String propertyValue,
ConnectionProxy connection)
Sets a site property with the given name and value. |
boolean |
setSiteUser(String newUsername,
String newPassword,
ConnectionProxy connection)
Sets the username and password for this Site. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SITE_CONTAINS_NONE
public static final int SITE_CONTAINS_AIMS
public static final int SITE_CONTAINS_SDE
public static final int SITE_CONTAINS_ALL
Constructor Detail |
public Site()
Site
object.
Method Detail |
public boolean save(ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
public boolean setSiteProperty(String propertyName, String propertyValue, ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, AXLAttributeException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
AXLAttributeException
public Properties getSiteProperty(String propertyName, ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, AXLAttributeException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
AXLAttributeException
public Properties getSiteProperties(ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, AXLAttributeException
Properties
object.
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
AXLAttributeException
public boolean removeSiteProperty(String propertyName, ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, AXLAttributeException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
AXLAttributeException
public boolean setSiteUser(String newUsername, String newPassword, ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, AXLAttributeException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
AXLAttributeException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
public int getAdminInfo(ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, AXLAttributeException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, IOException
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
AXLAttributeException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
IOException
public Properties getStartupProperties(ConnectionProxy connection) throws ConnectionParameterException, AuthenticationException, UnableToPingEsrimapException, com.esri.jx.xml.parsers.ParserConfigurationException, ErrorAndWarningException, com.esri.xml.sax.SAXException, AXLAttributeException
Properties
object.
ConnectionParameterException
AuthenticationException
UnableToPingEsrimapException
com.esri.jx.xml.parsers.ParserConfigurationException
ErrorAndWarningException
com.esri.xml.sax.SAXException
AXLAttributeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |