java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,UserHost>
com.aoindustries.aoserv.client.CachedObject<Integer,UserHost>
com.aoindustries.aoserv.client.CachedObjectIntegerKey<UserHost>
com.aoindustries.aoserv.client.master.UserHost
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable,SingleTableObject<Integer,UserHost>
MasterUsers are restricted to data based on a list
of Servers they may access. An AoservMaster
grants a MasterUser permission to data associated with
a Server. If a MasterUser does not have
any AoservMasters associated with it, it is granted
permissions to all servers.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.CachedObject
tableFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionUserHost()Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetColumnImpl(int i) getHost()intvoidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCode, toStringImplMethods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTableMethods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Constructor Details
-
UserHost
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,UserHost>
-
getMasterUser
- Throws:
SQLExceptionIOException
-
getHost
- Throws:
SQLExceptionIOException
-
getServerPkey
public int getServerPkey() -
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,UserHost>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,UserHost> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,UserHost> - Throws:
IOException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,UserHost> - Throws:
IOException
-
