public class ServerConfiguration extends TiePropertyBundle
In addition to the (explicitly specified) Properties, a ServerConfiguration may inherit Properties from other ServerConfigurations, as specified by the InheritedServerConfigurations attribute. These inherited ServerConfigurations may themselves inherit Properties from yet other ServerConfigurations.
The effective Properties of a ServerConfiguration is the union of that ServerConfiguration's Properties and the effective Properties of the ServerConfigurations inherited by that ServerConfiguration.
In determining the effective Properties of a ServerConfiguration:
An abstract ServerConfiguration (for which the Abstract attribute is true) does not specify a fully-formed configuration for an iFS server. The DomainConfiguration tool prevents abstract ServerConfigurations from being bound to a NodeConfiguration.
Modifier and Type | Field and Description |
---|---|
static String |
ABSTRACT_ATTRIBUTE
Abstract server configurations cannot be bound to a NodeConfiguration.
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
INHERITEDSERVERCONFIGURATIONS_ATTRIBUTE
The set of ServerConfigurations whose properties are "inherited" by this
ServerConfiguration.
|
static String |
UNIQUENAME_ATTRIBUTE
The uniquename of the server that the ServerConfiguration describes.
|
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
ServerConfiguration(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a ServerConfiguration.
|
Modifier and Type | Method and Description |
---|---|
static ServerConfiguration[] |
findAll(LibrarySession session)
Returns all ServerConfigurations.
|
static ServerConfiguration |
findByName(LibrarySession session,
String uniqueName)
Finds a ServerConfigurations instance by UniqueName value.
|
Property[] |
getEffectiveProperties()
Gets the effective Properties of this ServerConfiguration.
|
Property |
getEffectiveProperty(String name)
Gets an effective Property specified by name.
|
Property |
getEffectivePropertyByUpperCaseName(String name)
Gets an effective Property specified by name, where the name must be
in all uppercase.
|
AttributeValue |
getEffectivePropertyValue(String name)
Gets the value of an effective Property specified by name.
|
AttributeValue |
getEffectivePropertyValueByUpperCaseName(String name)
Gets the value of an effective Property specified by name, where the name
must be in all uppercase.
|
ServerConfiguration[] |
getInheritedServerConfigurations()
Gets the ServerConfigurations from which this ServerConfiguration
"inherits" properties.
|
String |
getUniqueName()
Gets the unique name for this instance.
|
boolean |
isAbstract()
Gets whether this ServerConfiguration is abstract.
|
void |
setAbstract(boolean abs)
Sets whether this ServerConfiguration is abstract.
|
void |
setInheritedServerConfigurations(ServerConfiguration[] scs)
Sets the ServerConfigurations from which this ServerConfiguration
"inherits" properties.
|
applyProperties, constructEquivalentParameterTable, constructEquivalentParameterTable, constructEquivalentParameterTable, constructPropertyBundle, constructPropertyBundleVector, getProperties, getProperties, getProperty, getPropertyByUpperCaseName, getPropertyValue, getPropertyValueByUpperCaseName, getPropertyValues, putProperty, putPropertyValue, putPropertyValue, removeAllProperties, removeAllPropertyValues, removeProperty, removePropertyValue, resetProperties, setPropertyValue, vectorPropertyBundleElement, vectorToPropertyBundleArray
auditPublicObjectLocked, auditPublicObjectUnlocked, auditUpdated, constructApplicationObject, constructApplicationObjectVector, isValidEventType, postCreate, preFree, reportApplicationObjectCreated, reportApplicationObjectFreed
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, capabilities, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, free, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postSecurityChangedEvent, postUpdate, preCopy, preCreate, preUpdate, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeries
added, addSimpleProperty, addSimpleProperty, auditCreated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String UNIQUENAME_ATTRIBUTE
public static final String INHERITEDSERVERCONFIGURATIONS_ATTRIBUTE
public static final String ABSTRACT_ATTRIBUTE
protected ServerConfiguration(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- the sessionid
- the idclassId
- the class iddata
- the ServerConfiguration dataIfsException
- if an error occurspublic String getUniqueName() throws IfsException
IfsException
- if operation failspublic ServerConfiguration[] getInheritedServerConfigurations() throws IfsException
IfsException
- if the operation failspublic void setInheritedServerConfigurations(ServerConfiguration[] scs) throws IfsException
scs
- the ServerConfigurationsIfsException
- if the operation failspublic boolean isAbstract() throws IfsException
Abstract ServerConfigurations cannot be bound to NodeConfigurations. The DomainConfiguration tool enforces this rule when requested to add a server to a NodeConfiguration.
IfsException
- if the operation failspublic void setAbstract(boolean abs) throws IfsException
Abstract ServerConfigurations cannot be bound to NodeConfigurations. The DomainConfiguration tool enforces this rule when requested to add a server to a NodeConfiguration.
abs
- whether abstractIfsException
- if the operation failspublic Property[] getEffectiveProperties() throws IfsException
IfsException
- if the operation failspublic Property getEffectiveProperty(String name) throws IfsException
name
- the name of the PropertyIfsException
- if the operation failspublic Property getEffectivePropertyByUpperCaseName(String name) throws IfsException
This is equivalent to getEffectiveProperty
, but avoids
an unnecessary conversion of the name to upper case.
name
- the uppercased name of the PropertyIfsException
- if the operation failspublic AttributeValue getEffectivePropertyValue(String name) throws IfsException
name
- the name of the PropertyIfsException
- if the operation failspublic AttributeValue getEffectivePropertyValueByUpperCaseName(String name) throws IfsException
This is equivalent to getEffectivePropertyValue
, but avoids
an unnecessary conversion of the name to upper case.
name
- the uppercased name of the PropertyIfsException
- if the operation failspublic static ServerConfiguration findByName(LibrarySession session, String uniqueName) throws IfsException
Returns null if no ServerConfiguration with the given UniqueName value could be found.
Note: the lookup by unique name is case insensitive.
session
- the current session.uniqueName
- the UniqueName of the desired ServerConfiguration.IfsException
- if the operation fails.public static ServerConfiguration[] findAll(LibrarySession session) throws IfsException
session
- the current session.IfsException
- if the operation fails.Copyright © 2023. All rights reserved.