public class DBServer extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
the server list
|
static java.lang.String |
DBCLASS_NAME
the server list
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
DBServer(DBClass dbClass,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
static DBServer |
create(MutableDataSource mds)
Make a new instance of this class.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
return the secure URL
|
protected void |
extSetValue(DBField field,
java.lang.Object currentValue,
FldParams params)
stript the protocol.
|
DBSystemPropertyMatch |
findAreaProperty(java.lang.String... args)
To check if environment variable is set.
|
DBCluster |
findCluster(java.lang.String... args)
The cluster for this server.
|
static DBServer |
findKey(DataSource ds,
int key)
Find the target for this class by the primary key
|
DBSystemPropertyMatch |
getAreaProperty(java.lang.String... args) |
DBCluster |
getCluster(java.lang.String... args) |
java.lang.String |
getCode(java.lang.String... args) |
int |
getFallBackLevel(java.lang.String... args) |
int |
getHttpPort(java.lang.String... args) |
int |
getHttpsPort(java.lang.String... args) |
int |
getID(java.lang.String... args) |
java.lang.String |
getLoginURL()
Provides the login URL.
|
int |
getPriority(java.lang.String... args) |
java.lang.String |
getSecureProtocol(java.lang.String... args) |
java.lang.String |
getServerHostname(java.lang.String... args) |
java.lang.String |
getTransportProtocol(java.lang.String... args) |
java.lang.String |
getUsersAllowCriteria(java.lang.String... args) |
java.lang.String |
getUsersDenyCriteria(java.lang.String... args) |
boolean |
isApplicable(java.lang.String... args) |
boolean |
isDeniedUserLogin(java.lang.String... args) |
boolean |
isEnabled(java.lang.String... args) |
static DBQuery<DBServer> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
DBServer |
setAreaProperty(com.aspc.dal.dbobj.misc.DBSystemPropertyMatch value,
java.lang.String... args) |
DBServer |
setCluster(com.aspc.dal.commander.dbobj.DBCluster value,
java.lang.String... args) |
DBServer |
setCode(java.lang.String value,
java.lang.String... args) |
DBServer |
setEnabled(boolean value,
java.lang.String... args) |
DBServer |
setFallBackLevel(int value,
java.lang.String... args) |
DBServer |
setHttpPort(int value,
java.lang.String... args) |
DBServer |
setHttpsPort(int value,
java.lang.String... args) |
DBServer |
setID(int value,
java.lang.String... args) |
DBServer |
setServerHostname(java.lang.String value,
java.lang.String... args) |
DBServer |
setUsersAllowCriteria(java.lang.String value,
java.lang.String... args) |
DBServer |
setUsersDenyCriteria(java.lang.String value,
java.lang.String... args) |
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, eventFieldUpdated, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extUndelete, extValidateDelete, extValidateField, extValidateRecord, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public DBServer(DBClass dbClass, DataSource dataSource) throws java.lang.Exception
dbClass
- The class of this objectdataSource
- The datasource for this objectjava.lang.Exception
- A serious problem occurred@CheckReturnValue public int getID(java.lang.String... args)
@Nonnull public DBServer setID(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isApplicable(java.lang.String... args)
@CheckReturnValue @Nullable public DBSystemPropertyMatch getAreaProperty(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBSystemPropertyMatch findAreaProperty(java.lang.String... args) throws NotFoundException
DBSystemPropertyMatch
(String, Searchable)args
- the optional argumentsNotFoundException
- DBSystemPropertyMatch was not found@Nonnull public DBServer setAreaProperty(com.aspc.dal.dbobj.misc.DBSystemPropertyMatch value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBCluster getCluster(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBCluster findCluster(java.lang.String... args) throws NotFoundException
DBCluster
(String,
Searchable)args
- the optional argumentsNotFoundException
- DBCluster was not found@Nonnull public DBServer setCluster(com.aspc.dal.commander.dbobj.DBCluster value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getCode(java.lang.String... args)
@Nonnull public DBServer setCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isDeniedUserLogin(java.lang.String... args)
@CheckReturnValue public boolean isEnabled(java.lang.String... args)
@Nonnull public DBServer setEnabled(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getFallBackLevel(java.lang.String... args)
@Nonnull public DBServer setFallBackLevel(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getHttpPort(java.lang.String... args)
@Nonnull public DBServer setHttpPort(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getHttpsPort(java.lang.String... args)
@Nonnull public DBServer setHttpsPort(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getPriority(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getSecureProtocol(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getServerHostname(java.lang.String... args)
@Nonnull public DBServer setServerHostname(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getTransportProtocol(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getUsersAllowCriteria(java.lang.String... args)
@Nonnull public DBServer setUsersAllowCriteria(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getUsersDenyCriteria(java.lang.String... args)
@Nonnull public DBServer setUsersDenyCriteria(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull @CheckReturnValue public static DBServer create(@Nonnull MutableDataSource mds) throws java.lang.Exception
mds
- the datasourcejava.lang.Exception
- an object of this class could not be created@Nonnull @CheckReturnValue public static DBQuery<DBServer> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static DBServer findKey(@Nonnull DataSource ds, int key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problem@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBObject
params
- The parameters for this field eg. language= or default=field
- The field to getjava.lang.Exception
- a serious problemprotected void extSetValue(@Nonnull DBField field, @Nullable java.lang.Object currentValue, @Nullable FldParams params) throws java.lang.Exception
extSetValue
in class DBObject
field
- The field that is being changedcurrentValue
- The new valueparams
- The extra parametersjava.lang.Exception
- A serious problem. In general validation is done later.public java.lang.String getLoginURL()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.