Uses of Class
com.aoindustries.aoserv.client.postgresql.Server.Name
Package
Description
-
Uses of Server.Name in com.aoindustries.aoserv.client
Modifier and TypeMethodDescriptionprotected static Server.Name
AoservObject.getPostgresServerName
(PostgresServerName serverName) null-safe PostgreSQL server name conversion.Modifier and TypeMethodDescriptionint
SimpleAoservClient.addPostgresDatabase
(Database.Name name, Server.Name postgresServer, String aoServer, User.Name datdba, String encoding, boolean enablePostgis) Adds a newDatabase
to the system.int
SimpleAoservClient.addPostgresServerUser
(User.Name username, Server.Name postgresServer, String aoServer) int
SimpleAoservClient.disablePostgresServerUser
(User.Name username, Server.Name postgresServer, String aoServer, String disableReason) Disables aUserServer
.void
SimpleAoservClient.dumpPostgresDatabase
(Database.Name name, Server.Name postgresServer, String aoServer, boolean gzip, StreamHandler streamHandler) Dumps the contents of aDatabase
to anOutputStream
, optionally gzipped.void
SimpleAoservClient.dumpPostgresDatabase
(Database.Name name, Server.Name postgresServer, String aoServer, Writer out) void
SimpleAoservClient.enablePostgresServerUser
(User.Name username, Server.Name postgresServer, String aoServer) Enables aUserServer
.boolean
SimpleAoservClient.isPostgresDatabaseNameAvailable
(Database.Name name, Server.Name postgresServer, String aoServer) boolean
SimpleAoservClient.isPostgresServerNameAvailable
(Server.Name name, String aoServer) boolean
SimpleAoservClient.isPostgresServerUserPasswordSet
(User.Name username, Server.Name postgresServer, String aoServer) Determines if aUserServer
currently has a password set.void
SimpleAoservClient.removePostgresDatabase
(Database.Name name, Server.Name postgresServer, String aoServer) Removes aDatabase
from the system.void
SimpleAoservClient.removePostgresServerUser
(User.Name username, Server.Name postgresServer, String aoServer) Removes aUserServer
from a the system..void
SimpleAoservClient.restartPostgresql
(Server.Name postgresServer, String aoServer) Restarts the PostgreSQL database server.void
SimpleAoservClient.setPostgresServerUserPassword
(User.Name username, Server.Name postgresServer, String aoServer, String password) Sets the password for aUserServer
.void
SimpleAoservClient.startPostgresql
(Server.Name postgresServer, String aoServer) Starts the PostgreSQL database server if it is not already running.void
SimpleAoservClient.stopPostgresql
(Server.Name postgresServer, String aoServer) Stops the PostgreSQL database server if it is running. -
Uses of Server.Name in com.aoindustries.aoserv.client.aosh
Modifier and TypeMethodDescriptionstatic Server.Name
Aosh.parsePostgresServerName
(String s, String field) -
Uses of Server.Name in com.aoindustries.aoserv.client.linux
Modifier and TypeMethodDescriptionServer.getPostgresServer
(Server.Name name) boolean
Server.isPostgresServerNameAvailable
(Server.Name name) -
Uses of Server.Name in com.aoindustries.aoserv.client.postgresql
Modifier and TypeMethodDescriptionServer.getName()
Server.Name.intern()
Interns this name much in the same fashion asString.intern()
.static Server.Name
Modifier and TypeMethodDescriptionint
Server.Name.compareTo
(Server.Name other) ServerTable.getPostgresServer
(Server.Name name, Server ao) boolean
ServerTable.isPostgresServerNameAvailable
(Server.Name name, Server ao)