public class NodeConfiguration extends TieApplicationObject
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_ATTRIBUTE
The name of the ACTIVE attribute.
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
SERVERS_ATTRIBUTE
The name of the SERVERS attribute.
|
static String |
SERVICES_ATTRIBUTE
The name of the SERVICES attribute.
|
static String |
SUPERNODECONFIGURATION_ATTRIBUTE
The name of the SUPERNODECONFIGURATION attribute.
|
static String |
UNIQUENAME_ATTRIBUTE
The uniquename of the service that the NodeConfiguration 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 |
NodeConfiguration(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs a NodeConfiguration.
|
Modifier and Type | Method and Description |
---|---|
static NodeConfiguration[] |
findAll(LibrarySession session)
Returns the set of defined NodeConfiguration instances.
|
static NodeConfiguration |
findByName(LibrarySession session,
String name)
Returns a NodeConfiguration matching the specified name.
|
String[] |
getDisabledInheritedPropertyNames()
Gets the array of Property names that should not be inherited from the
Super NodeConfiguration.
|
String[] |
getDisabledInheritedServerNames()
Gets the array of Server names that should not be inherited from the
Super NodeConfiguration.
|
AttributeValueTable |
getEffectivePropertyTable()
Gets the effective set of properties, combining this instance's properties
with any defined on the super NodeConfiguration.
|
AttributeValueTable |
getEffectiveServersTable()
Gets the effective set of servers, combining this instance's servers
with any defined on the super NodeConfiguration.
|
String[] |
getEnabledInheritedPropertyNames()
Gets the array of Property names that should ONLY be inherited from the
Super NodeConfiguration.
|
String[] |
getEnabledInheritedServerNames()
Gets the array of Server names that should ONLY be inherited from the
Super NodeConfiguration.
|
PropertyBundle |
getServers()
Gets the Servers property bundle.
|
PropertyBundle |
getServices()
Gets the Services property bundle.
|
NodeConfiguration |
getSuperNodeConfiguration()
Gets the "super" NodeConfiguration - the NodeConfiguration
that this instance extends.
|
String |
getUniqueName()
Gets the unique name for this instance.
|
boolean |
isActive()
Returns true if the node is Active.
|
protected void |
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
permanent deletion ("free") of a object.
|
void |
setActive(boolean status)
Sets the value of ACTIVE attribute.
|
void |
setServers(PropertyBundle servers)
Sets the Servers Property bundle.
|
void |
setServices(PropertyBundle services)
Sets the Services Property bundle.
|
void |
setSuperNodeConfiguration(NodeConfiguration nc)
Sets the "super" NodeConfiguration - the NodeConfiguration
that this instance extends.
|
auditPublicObjectLocked, auditPublicObjectUnlocked, auditUpdated, constructApplicationObject, constructApplicationObjectVector, isValidEventType, postCreate, 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, applyProperties, 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, getPropertyValue, 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, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, 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 ACTIVE_ATTRIBUTE
public static final String SERVICES_ATTRIBUTE
public static final String SERVERS_ATTRIBUTE
public static final String SUPERNODECONFIGURATION_ATTRIBUTE
protected NodeConfiguration(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- the sessionid
- the idclassId
- the class iddata
- the NodeConfiguration dataIfsException
- if an error occurspublic String getUniqueName() throws IfsException
IfsException
- if operation failspublic boolean isActive() throws IfsException
IfsException
- if the operation failspublic PropertyBundle getServices() throws IfsException
IfsException
- if the operation failspublic PropertyBundle getServers() throws IfsException
IfsException
- if the operation failspublic NodeConfiguration getSuperNodeConfiguration() throws IfsException
IfsException
- if the operation failspublic String[] getDisabledInheritedPropertyNames() throws IfsException
IfsException
- if the operation failspublic String[] getEnabledInheritedPropertyNames() throws IfsException
IfsException
- if the operation failspublic String[] getDisabledInheritedServerNames() throws IfsException
IfsException
- if the operation failspublic String[] getEnabledInheritedServerNames() throws IfsException
IfsException
- if the operation failspublic AttributeValueTable getEffectivePropertyTable() throws IfsException
The target object's properties take precedence over the properties defined in the super NodeConfiguration.
IfsException
- if the operation failspublic AttributeValueTable getEffectiveServersTable() throws IfsException
The target object's servers take precedence over the servers defined in the super NodeConfiguration.
IfsException
- if the operation failsprotected void preFree(LibraryObjectDefinition lodef) throws IfsException
PublicObject
Override to free all existing categories, in such a way that the PO doesn't get updated for each category free.
preFree
in class ApplicationObject
lodef
- object definition used to hold
options related to the free operationIfsException
- if operation fails.public void setActive(boolean status) throws IfsException
status
- true to make active; false otherwiseIfsException
- if the operation failspublic void setServices(PropertyBundle services) throws IfsException
services
- property bundle that holds the services in the nodeIfsException
- if the operation failspublic void setServers(PropertyBundle servers) throws IfsException
servers
- property bundle that holds the servers in the nodeIfsException
- if the operation failspublic void setSuperNodeConfiguration(NodeConfiguration nc) throws IfsException
nc
- the "super" NodeConfigurationIfsException
- if the operation failspublic static NodeConfiguration[] findAll(LibrarySession session) throws IfsException
The instances will be sorted by unique name.
session
- the session contextIfsException
- if the operation fails.public static NodeConfiguration findByName(LibrarySession session, String name) throws IfsException
Use UNIQUENAME, which is a forced-upper variant of the name.
session
- the session contextname
- the NodeConfiguration nameIfsException
- if the operation fails.Copyright © 2023. All rights reserved.