Package com.documentum.fc.client.acs
Interface IDfAcsConfig
- All Superinterfaces:
IDfPersistentObject,IDfSysObject,IDfTypedObject
This interface represents ACS configuration objects.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProjectionEntry interface encapsulates projection target parameters.static interfaceStoreEntry interface encapsulates store type, encryption mode, and compression mode.static interfaceUrlEntry interface encapsulates base url and protocol. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from interface com.documentum.fc.client.IDfPersistentObject
CURRENCY_CHECK_ALWAYS, CURRENCY_CHECK_FIRST_ACCESS, CURRENCY_CHECK_NEVER, CURRENCY_CHECK_ONCE_PER_SCOPE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProjectionEntry(IDfAcsConfig.ProjectionEntry projectionEntry) Adds ProjectionEntry object.voidaddStoreEntry(IDfAcsConfig.StoreEntry storeEntry) Adds StoreEntry object.voidaddUrlEntry(IDfAcsConfig.UrlEntry urlEntry) Adds UrlEntry object.Returns a list of the ACS network location identifiers.intReturns type of the config.Gets the dormancy status for this ACSReturns list of names of stores that are near the ACS.Returns the ACS name.Returns list of ProjectionEntry objects.intDeprecated.use isEnabled and isSurrogateGetEnabled methodsReturns the ID of the Content Server config object for the ACS.Returns server major versionReturns the server minor versionReturns list of StoreEntry objects.Returns list of UrlEntry objects.booleanDeprecated.as of version D6, useIDfBocsConfigfor cache server config objects.booleanReturns a flag indicating whether ACS is enabledbooleanReturns a flag indicating whether both read and a "surrogate get" is enablednewProjectionEntry(String networkLocationIdentifier, int proximity) Creates ProjectionEntry object.newProjectionEntry(String host, int port, int proximity) Creates ProjectionEntry object.newProjectionEntry(String host, int port, int proximity, boolean isEnabled, String networkLocationIdentifier, boolean isNetworkLocationEnabled) Creates ProjectionEntry object.newStoreEntry(int storeType, int cryptoMode, int compressionMode) Creates StoreEntry object.newUrlEntry(String url, String protocol) Creates UrlEntry object.voidsetAcsNetworkLocationIdentifiers(IDfList acsNetworkLocationIdentifiers) Sets the ACS network location identifiers.voidsetCacheAcs(boolean isCacheAcs) Deprecated.as of version D6, useIDfBocsConfigfor cache server config objects.voidsetConfigType(int configType) Sets type of the config.voidsetEnabled(boolean isEnabled) Sets a flag indicating whether ACS is enabledvoidsetNearStores(IDfList nearStores) Sets list of names of stores that are near the ACS.voidsetObjectName(String objectName) Sets the ACS name.voidsetProjectionEntries(IDfList projectionEntries) Replace all ProjectionEntry objects.voidsetRWCapability(int capability) Deprecated.use setEnabled and setSurrogateGetEnabled methodsvoidsetServerConfigId(IDfId serverConfigId) Sets the ID of the Content Server config object for the ACS.voidsetServerMajorVersion(String majorVersion) Sets server major versionvoidsetServerMinorVersion(String minorVersion) Sets the server minor versionvoidsetStoreEntries(IDfList storeEntries) Replaces all StoreEntry objects.voidsetSurrogateGetEnabled(boolean isEnabled) Sets a flag indicating whether both read and a "surrogate get" is enabled.voidsetUrlEntries(IDfList urlEntries) Replaces all UrlEntry objects.Methods inherited from interface com.documentum.fc.client.IDfPersistentObject
addChildRelative, addParentRelative, apiExec, apiGet, apiSet, destroy, fetch, fetchWithCaching, getAttrAssistance, getAttrAssistanceWithValues, getAttrAsstDependencies, getChildRelatives, getParentRelatives, getPartition, getType, getValidator, getVStamp, getWidgetType, isDeleted, isDirty, isInstanceOf, isNew, isReplica, lock, lockEx, registerEvent, removeChildRelative, removeParentRelative, revert, save, setPartition, signoff, unRegisterEvent, unRegisterEventEx, validateAllRules, validateAttrRules, validateAttrRulesWithValue, validateAttrRulesWithValues, validateObjRules, validateObjRulesWithValuesMethods inherited from interface com.documentum.fc.client.IDfSysObject
addDigitalSignature, addESignature, addNote, addReference, addRendition, addRenditionEx, addRenditionEx2, addRenditionEx3, appendContent, appendContentEx, appendFile, appendFileEx, appendPart, areAttributesModifiable, assemble, asVirtualDocument, attachPolicy, bindFile, branch, cancelCheckout, cancelCheckoutEx, cancelScheduledDemote, cancelScheduledPromote, cancelScheduledResume, cancelScheduledSuspend, canDemote, canPromote, canResume, canSuspend, checkin, checkinEx, checkout, checkoutEx, demote, destroyAllVersions, detachPolicy, disassemble, freeze, getAccessDate, getAccessorApplicationPermit, getAccessorCount, getAccessorName, getAccessorPermit, getAccessorPermitType, getAccessorXPermit, getAccessorXPermitNames, getACL, getACLDomain, getACLName, getAclRefValid, getAcsRequests, getAliasSet, getAliasSetId, getAntecedentId, getApplicationType, getAssembledFromId, getAuthors, getAuthorsCount, getBranchCount, getCabinetId, getChronicleId, getCollectionForContent, getCollectionForContentEx2, getCollectionForContentEx3, getCollectionForContentEx4, getComponentId, getComponentIdCount, getCompoundArchitecture, getContainId, getContainIdCount, getContent, getContentAvailability, getContentEx, getContentEx2, getContentEx3, getContentsId, getContentSize, getContentSize, getContentState, getContentStateCount, getContentType, getCreationDate, getCreatorName, getCurrentState, getCurrentStateName, getDirectDescendant, getDoubleContentAttr, getExceptionStateName, getFile, getFileEx, getFileEx2, getFolderId, getFolderIdCount, getFormat, getFrozenAssemblyCount, getFullText, getGroupName, getGroupPermit, getHasEvents, getHasFolder, getHasFrozenAssembly, getImplicitVersionLabel, getKeywords, getKeywordsCount, getLatestFlag, getLinkCount, getLinkHighCount, getLocations, getLockDate, getLockMachine, getLockOwner, getLogEntry, getMasterDocbase, getModifier, getModifyDate, getNextStateName, getOtherFileSize, getOwnerName, getOwnerPermit, getPageCount, getPath, getPathEx, getPathEx2, getPermissions, getPermit, getPermitEx, getPolicyId, getPolicyName, getPreviousStateName, getReferenceCount, getRemoteId, getRenditions, getResolutionLabel, getResumeState, getResumeStateName, getRetainerCount, getRetainerId, getRetainUntilDate, getRetentionDate, getRouters, getSpecialApp, getStatus, getStorageType, getStringContentAttr, getSubject, getTimeContentAttr, getTitle, getTypeName, getVdmPath, getVdmPathDQL, getVersionLabel, getVersionLabelCount, getVersionLabels, getVersionPolicy, getVersions, getWorkflows, getWorldPermit, getXPermit, getXPermitList, getXPermitNames, grant, grantPermit, hasPermission, insertContent, insertContentEx, insertFile, insertFileEx, insertPart, isArchived, isCheckedOut, isCheckedOutBy, isContentTransferCapabilityEnabled, isFrozen, isHidden, isImmutable, isLinkResolved, isPublic, isReference, isSuspended, isVirtualDocument, link, mark, mount, print, promote, prune, queue, refreshReference, removeContent, removeNote, removePart, removeRendition, removeRenditionEx, removeRenditionEx2, resolveAlias, resume, revertACL, revoke, revokePermit, saveAsNew, saveLock, scheduleDemote, schedulePromote, scheduleResume, scheduleSuspend, setACL, setACLDomain, setACLName, setApplicationType, setArchived, setAuthors, setCompoundArchitecture, setContent, setContentEx, setContentEx2, setContentType, setDoubleContentAttribute, setFile, setFileEx, setFullText, setGroupName, setGroupPermit, setHidden, setIsVirtualDocument, setKeywords, setLinkResolved, setLogEntry, setOwnerName, setOwnerPermit, setPath, setResolutionLabel, setSpecialApp, setStatus, setStorageType, setStringContentAttribute, setSubject, setTimeContentAttribute, setTitle, setWorldPermit, suspend, unfreeze, unlink, unmark, updatePart, updatePartEx, useACL, verifyESignatureMethods inherited from interface com.documentum.fc.client.IDfTypedObject
appendBoolean, appendDouble, appendId, appendInt, appendString, appendTime, appendValue, dump, enumAttrs, findAttrIndex, findBoolean, findDouble, findId, findInt, findString, findTime, findValue, getAllRepeatingStrings, getAttr, getAttrCount, getAttrDataType, getBoolean, getDouble, getId, getInt, getLong, getObjectId, getObjectSession, getOriginalSession, getRepeatingBoolean, getRepeatingDouble, getRepeatingId, getRepeatingInt, getRepeatingLong, getRepeatingString, getRepeatingTime, getRepeatingValue, getSession, getSessionManager, getString, getTime, getValue, getValueAt, getValueCount, hasAttr, insertBoolean, insertDouble, insertId, insertInt, insertString, insertTime, insertValue, isAttrRepeating, isNull, remove, removeAll, setBoolean, setDouble, setId, setInt, setNull, setRepeatingBoolean, setRepeatingDouble, setRepeatingId, setRepeatingInt, setRepeatingString, setRepeatingTime, setRepeatingValue, setSessionManager, setString, setTime, setValue, truncate
-
Field Details
-
CONFIG_TYPE_CS
static final int CONFIG_TYPE_CS- See Also:
-
CONFIG_TYPE_ACS
static final int CONFIG_TYPE_ACS- See Also:
-
-
Method Details
-
getObjectName
Returns the ACS name. The ACS name uniquely identifies ACS.- Specified by:
getObjectNamein interfaceIDfSysObject- Returns:
- name of the ACS.
- Throws:
DfException
-
setObjectName
Sets the ACS name. The name must uniquely identify the ACS.- Specified by:
setObjectNamein interfaceIDfSysObject- Parameters:
objectName- specifies the name of the ACS.- Throws:
DfException- if a server error occurs.
-
getServerConfigId
Returns the ID of the Content Server config object for the ACS.- Returns:
- id of the Content Server config object for the ACS.
- Throws:
DfException- if a server error occurs.
-
setServerConfigId
Sets the ID of the Content Server config object for the ACS.- Parameters:
serverConfigId- ID of the Content Server config object for the ACS.- Throws:
DfException- if a server error occurs.
-
getConfigType
Returns type of the config. 0 - no projections, i.e. BOCS 1 - use server config for projection info 2 - use this ACS config for projection info- Returns:
- type of the config.
- Throws:
DfException- if a server error occurs.
-
setConfigType
Sets type of the config.- Parameters:
configType- type of the config.- Throws:
DfException- if a server error occurs.
-
isEnabled
Returns a flag indicating whether ACS is enabled- Returns:
- true, if ACS is enabled, false otherwise
- Throws:
DfException- if a server error occurs.
-
isSurrogateGetEnabled
Returns a flag indicating whether both read and a "surrogate get" is enabled- Returns:
- true, if both read and a "surrogate get" are enabled, false otherwise
- Throws:
DfException- if a server error occurs.
-
setEnabled
Sets a flag indicating whether ACS is enabled- Parameters:
isEnabled- if true, ACS is enabled, false otherwise- Throws:
DfException- if a server error occurs.
-
setSurrogateGetEnabled
Sets a flag indicating whether both read and a "surrogate get" is enabled. This also sets ACS enabled or disabled depending on a value of isEnabled parameter.- Parameters:
isEnabled- if true, both read and a "surrogate get" are enabled, false otherwise- Throws:
DfException- if a server error occurs.
-
getRWCapability
Deprecated.use isEnabled and isSurrogateGetEnabled methodsReturns read/write ACS capability. The value is a bit mask, which allows more than one type of capability to be set at a time:0 = Unconfigured ACS 1 = read 2 = read+surrogateGet (for CS 5.3) 3 = read+surrogateGet (for CS D6)
- Returns:
- read/write ACS capability.
- Throws:
DfException- if a server error occurs.
-
setRWCapability
Deprecated.use setEnabled and setSurrogateGetEnabled methodsSets read/write ACS capability. The value is a bit mask, which allows more than one type of capability to be set at a time:0 = Unconfigured ACS 1 = read 2 = read+surrogateGet (for CS 5.3) 3 = read+surrogateGet (for CS D6)
- Parameters:
capability- read/write ACS capability.- Throws:
DfException- if a server error occurs.
-
getAcsNetworkLocationIdentifiers
Returns a list of the ACS network location identifiers.- Returns:
- list of the ACS network location identifiers.
- Throws:
DfException- if a server error occurs.
-
setAcsNetworkLocationIdentifiers
Sets the ACS network location identifiers.- Parameters:
acsNetworkLocationIdentifiers- list of the ACS network location identifiers.- Throws:
DfException- if a server error occurs.
-
isCacheAcs
Deprecated.as of version D6, useIDfBocsConfigfor cache server config objects.Returns true if ACS is BOCS.- Returns:
- true if ACS is BOCS, false otherwise.
- Throws:
DfException- if a server error occurs.
-
setCacheAcs
Deprecated.as of version D6, useIDfBocsConfigfor cache server config objects.Sets whether the ACS is BOCS.- Parameters:
isCacheAcs- true if ACS is BOCS, false otherwise.- Throws:
DfException- if a server error occurs.
-
getNearStores
Returns list of names of stores that are near the ACS.- Returns:
- list of names of stores that are near the ACS.
- Throws:
DfException- if a server error occurs.
-
setNearStores
Sets list of names of stores that are near the ACS.- Parameters:
nearStores- list of names of stores that are near the ACS.- Throws:
DfException- if a server error occurs.
-
newUrlEntry
Creates UrlEntry object.- Parameters:
url- url.protocol- protocol.- Returns:
- UrlEntry object with the given url and port.
- Throws:
DfException- if a server error occurs.
-
getUrlEntries
Returns list of UrlEntry objects.- Returns:
- list of UrlEntry objects.
- Throws:
DfException- if a server error occurs.
-
addUrlEntry
Adds UrlEntry object.- Parameters:
urlEntry- UrlEntry object to be added.- Throws:
DfException- if a server error occurs.
-
setUrlEntries
Replaces all UrlEntry objects.- Parameters:
urlEntries- list of UrlEntry objects.- Throws:
DfException- if a server error occurs.
-
newStoreEntry
IDfAcsConfig.StoreEntry newStoreEntry(int storeType, int cryptoMode, int compressionMode) throws DfException Creates StoreEntry object.- Parameters:
storeType- type of a store to be added.cryptoMode- 1 if this ACS supports encryption for this store type, 0 if the ACS does not.compressionMode- 1 if this ACS supports compression for this store type, 0 if the ACS does not.- Returns:
- StoreEntry object.
- Throws:
DfException- if a server error occurs.
-
getStoreEntries
Returns list of StoreEntry objects.- Returns:
- list of StoreEntry objects.
- Throws:
DfException- if a server error occurs.
-
addStoreEntry
Adds StoreEntry object.- Parameters:
storeEntry- StoreEntry object to be added.- Throws:
DfException- if a server error occurs.
-
setStoreEntries
Replaces all StoreEntry objects.- Parameters:
storeEntries- list of StoreEntry objects.- Throws:
DfException- if a server error occurs.
-
getServerMajorVersion
Returns server major version- Returns:
- returns the server major version
- Throws:
DfException- if a server error occurs
-
setServerMajorVersion
Sets server major version- Parameters:
majorVersion- server major version- Throws:
DfException- if a server error occurs
-
getServerMinorVersion
Returns the server minor version- Returns:
- returns the server minor version
- Throws:
DfException- if a server error occurs
-
setServerMinorVersion
Sets the server minor version- Parameters:
minorVersion- server minor version- Throws:
DfException- if a server error occurs
-
newProjectionEntry
IDfAcsConfig.ProjectionEntry newProjectionEntry(String host, int port, int proximity) throws DfException Creates ProjectionEntry object.- Parameters:
host- The host.port- The port.proximity- The proximity of the host.- Returns:
- ProjectionEntry object.
- Throws:
DfException- if a server error occurs.
-
newProjectionEntry
IDfAcsConfig.ProjectionEntry newProjectionEntry(String networkLocationIdentifier, int proximity) throws DfException Creates ProjectionEntry object.- Parameters:
networkLocationIdentifier- Network location identifier.proximity- The proximity of the host.- Returns:
- ProjectionEntry object.
- Throws:
DfException- if a server error occurs.
-
newProjectionEntry
IDfAcsConfig.ProjectionEntry newProjectionEntry(String host, int port, int proximity, boolean isEnabled, String networkLocationIdentifier, boolean isNetworkLocationEnabled) throws DfException Creates ProjectionEntry object.- Parameters:
host- The host.port- The port.proximity- The proximity of the host.isEnabled- Indicates if the host is enabled.networkLocationIdentifier- Network location identifier.isNetworkLocationEnabled- Indicates if the network location is enabled.- Returns:
- ProjectionEntry object.
- Throws:
DfException- if a server error occurs.
-
getProjectionEntries
Returns list of ProjectionEntry objects.- Returns:
- list of ProjectionEntry objects.
- Throws:
DfException- if a server error occurs.
-
addProjectionEntry
Adds ProjectionEntry object.- Parameters:
projectionEntry- ProjectionEntry object to be added.- Throws:
DfException- if a server error occurs.
-
setProjectionEntries
Replace all ProjectionEntry objects.- Parameters:
projectionEntries- list of ProjectionEntry objects.- Throws:
DfException- if a server error occurs.
-
getDormancyStatus
Gets the dormancy status for this ACS- Returns:
- a String representing the status of ACS. Valid values are ACTIVE and DORMANT
- Throws:
DfException- if an error occurs while retrieving this attribute
-