public class ScriptOperations extends Object implements Logger, AttributeValueGetter
This makes use of the framework provided by ScriptDriver and related classes in its package.
Modifier and Type | Class and Description |
---|---|
static class |
ScriptOperations.ClassObjectOptions
Structure that holds options used to fully create a new ClassObject.
|
class |
ScriptOperations.JdbcExecutor |
static class |
ScriptOperations.SavedSearchResult
Structure that holds saved saerch results.
|
static class |
ScriptOperations.ServerDefinition
Structure holds data require to construct a single server entry
property within a node.
|
static class |
ScriptOperations.ServiceDefinition
Structure holds data require to construct a single service entry
property within a node.
|
Modifier and Type | Field and Description |
---|---|
static String |
INDENT
Amount to indent when displaying layered information
|
Constructor and Description |
---|
ScriptOperations(ScriptDriver driver)
Construct a ScriptOperations
|
Modifier and Type | Method and Description |
---|---|
void |
abortTransaction(String trantag)
Abort an outer transaction.
|
void |
acquireLock(String poTag,
String sleTag)
Acquire the specified SystemLockEntry lock.
|
void |
acquireManualLock(String leTag,
String poTag)
Acquire a manual lock.
|
void |
activateAuditHandlerSpecification(String specName)
Sets an AuditSpecificationHandler to an active state.
|
void |
activateAuditSpecification(String specName)
Sets an AuditSpecification to an active state.
|
void |
activateOperationActionSpecification(String tagOrName)
Activate a OperationActionSpecification.
|
void |
activateServerSpecification(String specName)
Sets an ServerSpecification to an active state.
|
void |
activateSystemObject(String objectTag)
Activate a SystemObject.
|
void |
addAttachment(AttributeValueTable avt)
Add an attachment to the specified target PublicObject.
|
void |
addAttribute(AttributeValueTable avt)
Create a new Attribute for an existing ClassObject.
|
void |
addAuditEventProperty(String propName,
String propValue)
Add an audit event property to an internal list, to be posted
as part of the next postCustomAuditEvent operation.
|
void |
addAuditType(String defTag,
String eventType,
String mode)
Adds an event type to an AuditTypeList definition.
|
void |
addAuditTypesForClass(String defTag,
String className,
String mode)
Adds types to an AuditTypeList definition for a class.
|
void |
addBooleanHandlerProperty(String defTag,
String propName,
String propValue)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addCategory(AttributeValueTable avt)
Adds a category to an existing PublicObject.
|
void |
addDefinitionAuditEntryType(String defTag,
String opTypeKey,
String opModeString)
Add an AuditEntryType to an AuditTypeList definition.
|
void |
addDefinitionAuditEntryTypesForClass(String defTag,
String className,
String opMode)
Add AuditEntryTypes to an AuditTypeList definition for the events
that are applicable to the class specified.
|
void |
addDefinitionAuditEntryTypesUnderClass(String defTag,
String className,
String opMode)
Add AuditEntryTypes to an AuditTypeList definition for the events
that are applicable to the class specified, and any classes
that are considered descendents of that class.
|
void |
addDefinitionBooleanProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDefinitionDoubleProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDefinitionIntegerProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDefinitionLongProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDefinitionProperties(AttributeValueTable avt)
Add definition properties, using a reference object or definition as
the source of the property settings.
|
void |
addDefinitionProperty(AttributeValueTable avt)
Adds a property to a definition.
|
void |
addDefinitionStringArrayProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDefinitionStringProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addDocumentDefinitionCharacterSet(String defTag,
String charSet)
Deprecated.
9.0.4.6: use
addToDocumentDefinition |
void |
addDocumentDefinitionContent(String defTag,
String contentFileName)
Deprecated.
9.0.4.6: use
addToDocumentDefinition |
void |
addDocumentDefinitionContentBfileReference(String defTag,
String osParentFolderPath,
String bfileName,
String lengthStr)
Deprecated.
9.0.4.6: use
addToDocumentDefinition |
void |
addDocumentDefinitionLanguage(String defTag,
String lang)
Deprecated.
9.0.4.6: use
addToDocumentDefinition |
void |
addGlobalOperationActionSpecification(String specName)
Adds an OperationActionSpecification to the list of global
OperationActionSpecifications, defined in a domain property.
|
void |
addGroupMember(AttributeValueTable avt)
Adds a member to a DirectoryGroup.
|
void |
addGroupMembers(AttributeValueTable avt)
Adds members to a DirectoryGroup.
|
void |
addIntegerHandlerProperty(String defTag,
String propName,
String propValue)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addLifecyclePolicyEntryDefinition(String lpDefTag,
String lpeDefTag)
Add a LifecyclePolicyEntry definition to a
LifecyclePolicy definition.
|
void |
addLifecyclePolicyEntryDefinition(String defTag,
String lpeName,
String lpeDesc,
String actionTag,
String timePeriod,
String execPeriod,
String execBaseTime)
Add a LifecyclePolicyEntry definition to a
LifecyclePolicy definition.
|
void |
addLongHandlerProperty(String defTag,
String propName,
String propValue)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addManagedServerDeclaration(AttributeValueTable avt)
Add a Server declaration to the list being prepared as the set of managed
Servers, used in the next
createNodeConfiguration operation. |
void |
addManagedServerDeclaration(ScriptOperations.ServerDefinition serverDef)
Add a Server declaration to the list being prepared as the set of managed
Servers, used in the next
createNodeConfiguration operation. |
void |
addManagedServerDeclaration(String serverName,
String scName,
String serviceName,
String activeVal,
String startedVal,
String priorityVal)
Add a Server declaration to the list being prepared as the set of managed
Servers, used in the next
createNodeConfiguration operation. |
void |
addManagedServiceDeclaration(ScriptOperations.ServiceDefinition serviceDef)
Add a Service declaration to the list being prepared as the set of managed
Services, used in the next
createNodeConfiguration operation. |
void |
addManagedServiceDeclaration(String serviceName,
String svcName,
String activeVal)
Add a Service declaration to the list being prepared as the set of managed
Services, used in the next
createNodeConfiguration operation. |
void |
addPreparedSelectorBindValue(AttributeValueTable avt)
Add an bind value to an internal list, to be used as the
bind values in the next executeRawPreparedSelect operation.
|
void |
addPreparedSelectorBooleanBindValue(String bindValue)
Deprecated.
9.0.4.6: use
addPreparedSelectorBindValue |
void |
addPreparedSelectorIntegerBindValue(String bindValue)
Deprecated.
9.0.4.6: use
addPreparedSelectorBindValue |
void |
addPreparedSelectorLibraryObjectBindValue(String objTag)
Deprecated.
9.0.4.6: use
addPreparedSelectorBindValue |
void |
addPreparedSelectorLongBindValue(String bindValue)
Deprecated.
9.0.4.6: use
addPreparedSelectorBindValue |
void |
addPreparedSelectorStringBindValue(String bindValue)
Deprecated.
9.0.4.6: use
addPreparedSelectorBindValue |
void |
addPublicObjectDefinitionCategory(String defTag,
String catdefTag)
Add a category definition to a PublicObject definition.
|
void |
addSchemaObjectDefinitionCategory(String defTag,
String catdefTag)
Add a schema category definition to a SchemaObject definition.
|
void |
addStringArrayHandlerProperty(String defTag,
String propName,
String propValue)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addStringHandlerProperty(String defTag,
String propName,
String propValue)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addSystemObjectDefinitionBooleanProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addSystemObjectDefinitionCategory(String defTag,
String catdefTag)
Add a system category definition to a SystemObject definition.
|
void |
addSystemObjectDefinitionIntegerProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addSystemObjectDefinitionLongProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addSystemObjectDefinitionStringArrayProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addSystemObjectDefinitionStringProperty(String defTag,
String key,
String value)
Deprecated.
9.0.4.6: use
addDefinitionProperty |
void |
addToDocumentDefinition(AttributeValueTable avt)
Add options to a Document definition.
|
void |
addToPublicObjectDefinition(AttributeValueTable avt)
Add options to a PublicObject definition.
|
void |
applyLogLevelOverride(String logEntry)
Apply a log level overrides.
|
void |
applyNamedFreezeLock(String docTag,
String domainTag,
String lockName)
Apply a named freeze (also known as legal hold) lock to a document.
|
void |
applySingletonLock(AttributeValueTable avt)
Applies a singleton LockEntry to a PublicObject
The keys supported by this operation:
TAG: the tag that identifies the LockEntry applied
LOCKTYPEKEY: the lock type key
PUBLICOBJECT: the tag that identifies the PublicObject that will
receive the LockEntry
CUSTOM: whether the lock type is custom
LOCKALLITEMS: whether to recursively lock all items if the specified
PublicObject is a Folder
|
void |
assignClassDomain(AttributeValueTable avt)
Assigns a ClassDomain to an Attribute.
|
void |
assignLifecyclePolicyByCategory(String lpTag,
String className)
Assign the specified LifecyclePolicy to all documents not yet assigned to
a LifecyclePolicy and that have at least one instance of the category
specified.
|
void |
assignValueDefault(AttributeValueTable avt)
Assigns a ValueDefault to an Attribute.
|
void |
assignValueDomain(AttributeValueTable avt)
Assigns a ValueDomain to an Attribute.
|
void |
beginTransaction(String trantag)
Begin an outer transaction.
|
protected boolean |
businessObjectExists(String tag)
Check whether a BusinessObject has been registered for the specified tag.
|
void |
clearImpersonateUser()
Clears impersonation for the current session.
|
void |
clearSharedCaches()
Explicitly clear the shared data caches.
|
void |
cloneCurrentSession(AttributeValueTable avt)
Clone the current session.
|
protected LibraryObjectDefinition |
cloneDefinition(LibrarySession sess,
String sourceDefTag,
String cloneDefTag)
Clone a LibraryObjectDefinition by the specified source tag.
|
void |
cloneDefinition(String cloneDefTag,
String sourceDefTag)
Clone a definition object, useful when the source is readonly
and further mutations are necessary.
|
void |
comment()
Show a comment in the output.
|
void |
comment(String message)
Show a comment in the output.
|
void |
compareObjects(String obj1Tag,
String obj2Tag)
Compare two objects, reporting whether or not they are the same.
|
void |
completeTransaction(String trantag)
Complete an outer transaction.
|
void |
concatenateObjectId(String varName,
String tag)
Store the the object ID value as a String to be used as
a substitution variable.
|
void |
concatenateStrings(String varName,
String s1)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2,
String s3)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2,
String s3,
String s4)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2,
String s3,
String s4,
String s5)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2,
String s3,
String s4,
String s5,
String s6)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateStrings(String varName,
String s1,
String s2,
String s3,
String s4,
String s5,
String s6,
String s7)
Concatenate strings, and store the result for use as a substitution variable
|
void |
concatenateToLowerStrings(String varName,
String s1)
Concatenate strings, forced to lower case, and store the result for
use as a substitution variable
|
void |
concatenateToLowerStrings(String varName,
String s1,
String s2)
Concatenate strings, forced to lower case, and store the result for
use as a substitution variable
|
void |
concatenateToLowerStrings(String varName,
String s1,
String s2,
String s3)
Concatenate strings, forced to lower case, and store the result for
use as a substitution variable
|
void |
concatenateToUpperStrings(String varName,
String s1)
Concatenate strings, forced to upper case, and store the result for
use as a substitution variable
|
void |
concatenateToUpperStrings(String varName,
String s1,
String s2)
Concatenate strings, forced to upper case, and store the result for
use as a substitution variable
|
void |
concatenateToUpperStrings(String varName,
String s1,
String s2,
String s3)
Concatenate strings, forced to upper case, and store the result for
use as a substitution variable
|
protected LibrarySession |
connect(Credential credential,
ConnectOptions options)
Create a LibrarySession.
|
protected LibrarySession |
connect(String username,
String password,
String server)
Create a LibrarySession.
|
protected AuditEvent |
constructAuditEvent(LibraryObject target,
String opTypeKey,
String domainTag,
String auxString,
String auxNumber,
String auxObjsToken)
Construct an audit event, to be posted as either a Custom or System
AuditEvent.
|
protected PreparedSelectorGenerator |
constructPreparedSelectorGenerator()
Return a newly constructed instance of a PreparedSelectorGenerator.
|
protected PreparedSelectorGenerator |
constructPreparedSelectorGenerator(String psGenClassName)
Return a newly constructed instance of a PreparedSelectorGenerator,
of the specified class.
|
protected Hashtable |
convertPropertyDefinitionsToHashtable(PropertyDefinition[] pbDefs)
Convert an array of PropertyDefinitions to a Hashtable, keyed by the
property name, with the value being an AttributeValue representation
of the property's value.
|
void |
convertStringArray(AttributeValueTable avt,
String key)
Convert the String array that may be in the specified table using the
old array token syntax.
|
protected Boolean |
convertToBoolean(LibrarySession sess,
String boolVal)
Convert a numeric String representation to a Boolean.
|
protected boolean |
convertToBoolean(LibrarySession sess,
String boolVal,
boolean defVal)
Convert a numeric String representation to a boolean, using the specified
default value if the string is null.
|
protected Double |
convertToDouble(LibrarySession sess,
String doubleVal)
Convert a numeric String representation to a Double.
|
protected double |
convertToDouble(LibrarySession sess,
String doubleVal,
double defVal)
Convert a numeric String representation to a double, using the specified
default value if the string is null.
|
protected Integer |
convertToInteger(LibrarySession sess,
String intVal)
Convert a numeric String representation to an integer.
|
protected int |
convertToInteger(LibrarySession sess,
String intVal,
int defVal)
Convert a numeric String representation to an integer, using the specified
default value if the string is null.
|
protected Long |
convertToLong(LibrarySession sess,
String longVal)
Convert a numeric String representation to a long.
|
protected long |
convertToLong(LibrarySession sess,
String longVal,
long defVal)
Convert a numeric String representation to a long, using the specified
default value if the string is null.
|
protected String |
convertToRelativePath(LibrarySession sess,
String absPath)
Convert an absolute path to a relative path, by stripping off
the leading delimiter.
|
void |
copy(AttributeValueTable avt)
Copies the specified PublicObject.
|
void |
create(String objectTag,
String defTag)
Create a LibraryObject from the specified definition.
|
void |
createAccessControlList(AttributeValueTable avt)
Creates an AccessControlList.
|
void |
createAndApplyAuditTypeList(String specTag,
String atlDefTag)
Creates an audit type list.
|
void |
createApplicationToken(AttributeValueTable avt)
Creates a ApplicationToken.
|
void |
createApplicationToken(String tokenTag,
String tokenDefTag)
Create a ApplicationToken.
|
void |
createAuditSpecification(AttributeValueTable avt)
Creates a new AuditSpecification.
|
void |
createAuditSpecification(String objectTag,
String defTag)
Creates an AuditSpecification using the supplied definition.
|
void |
createAuditSpecification(String specName,
String atlDefTag,
String atsDefTag,
String ahsDefTag,
String specDesc)
Creates a new AuditSpecification.
|
void |
createAuditSpecification(String specName,
String atlDefTag,
String atsDefTag,
String ahsDefTag,
String specDesc,
String userSearch)
Creates a new AuditSpecification.
|
void |
createAuditTypeList(AttributeValueTable avt)
Creates an audit type list.
|
void |
createAuditTypeList(String atlTag,
String atlDefTag)
Creates an audit type list.
|
void |
createAutoFolderingActionSpecification(AttributeValueTable avt)
Creates a new AutoFolderingActionSpecification entirely, using embeeded
definitions.
|
void |
createAutoFolderingActionSpecification(String specTag,
String defTag)
Create a AutoFolderingActionSpecification.
|
void |
createCategorizedDocument(String docTag,
String parentTag,
String docName,
String contentFileName,
String catDefTag)
Create a document with a category, as specified by a category defintiion
tag.
|
void |
createClassDomain(AttributeValueTable avt)
Creates a ClassDomain.
|
void |
createClassObject(AttributeValueTable avt)
Creates a ClassObject.
|
protected ClassObject |
createClassObject(String className)
Creates a ClassObject from previously created definitions.
|
void |
createCustomLockEntry(AttributeValueTable avt)
Applies a custom LockEntry on a PublicObject
The keys supported by this operation:
TAG: the tag that identifies the newly created LockEntry
CUSTOMLOCKTYPEKEY: the custom lock type key for the new LockEntryDefinition
PUBLICOBJECT: the tag that identifies the PublicObject that will
receive the new custom LockEntry
|
void |
createCustomMediaDriverSpecification(AttributeValueTable avt)
Creates a new CustomMediaDriverSpecification entirely, using embeeded
definitions.
|
void |
createCustomMediaDriverSpecification(String cmdsTag,
String defTag)
Creates a CustomMediaDriverSpecification.
|
LibraryObjectDefinition |
createDefinition(String defTag,
String className)
Create a definition object, and identify it for subsequent
use.
|
void |
createDefinitionFromDefinitionObject(String defTag,
String defobjTag)
Create a LibraryObjectDefinition from a DefinitionObject.
|
void |
createDefinitionFromObject(String defTag,
String objTag)
Create a LibraryObjectDefinition from a LibraryObject.
|
void |
createDefinitionObject(String defobjTag,
String defTag)
Create a DefinitionObject.
|
void |
createDependentView(AttributeValueTable avt)
Creates a DependentView.
|
void |
createDocument(AttributeValueTable avt)
Creates a Document.
|
void |
createDocument(String docTag,
String parentTag,
String docDefTag)
Create a document, using a DocumentDefintion.
|
void |
createDocument(String docTag,
String parentTag,
String docName,
String defTag)
Create a document.
|
void |
createDocumentBatch(AttributeValueTable avt)
Creation a batch of Documents from an input file directory.
|
protected int |
createDocuments(String dirPath,
Folder topFolder,
AccessControlList acl,
Format format,
Media media)
Produce a list of files found under the specified absolute directory path.
|
void |
createEntireAuditSpecification(AttributeValueTable avt)
Creates a new AuditSpecification entirely, using embeeded
definitions for the AuditTypeList, AuditTargetSpecification,
and AuditHandlerSpecification.
|
void |
createExtendedPermission(AttributeValueTable avt)
Creates an ExtendedPermission.
|
void |
createExtendedUserProfile(AttributeValueTable avt)
Creates an ExtendedUserProfile.
|
void |
createFolder(AttributeValueTable avt)
Creates a Folder.
|
void |
createFolder(String folderTag,
String parentTag,
String folderName)
Create a new folder.
|
void |
createFolder(String folderTag,
String parentTag,
String folderName,
String defTag)
Create a new folder.
|
void |
createFolderLink(AttributeValueTable avt)
Creates a FolderLink.
|
void |
createFolderTree(AttributeValueTable avt)
Creates a folder tree for all folders missing in the specified
absolute path.
|
void |
createFormat(AttributeValueTable avt)
Creates a Format.
|
void |
createGroup(AttributeValueTable avt)
Creates a DirectoryGroup.
|
void |
createGuestSession(String sesstag)
Create a new session for the "guest" user.
|
void |
createLibraryObject(AttributeValueTable avt)
Creates a LibraryObject.
|
protected LibraryObject |
createLibraryObject(AttributeValueTable avt,
LibraryObjectDefinition def,
LibraryObject existingObj)
Creates a new LibraryObject entirely, using embeeded definitions.
|
void |
createLifecycleDateRuleSpecification(AttributeValueTable avt)
Creates a LifecycleDateRuleSpecification.
|
void |
createLifecycleDateRuleSpecification(String specTag,
String defTag)
Create a LifecycleDateRuleSpecification.
|
void |
createLifecyclePolicy(AttributeValueTable avt)
Creates a LifecyclePolicyActionSpecification.
|
void |
createLifecyclePolicy(String lpTag,
String defTag)
Create a LifecyclePolicy.
|
void |
createLifecyclePolicyActionSpecification(AttributeValueTable avt)
Creates a LifecyclePolicyActionSpecification.
|
void |
createLifecyclePolicyActionSpecification(String specTag,
String defTag)
Create a LifecyclePolicyActionSpecification.
|
void |
createLifecyclePolicyEntryDefinition(String defTag,
String lpeName,
String lpeDesc,
String actionTag,
String timePeriod,
String execPeriod,
String execBaseTime)
Create and register a LifecyclePolicyEntry definition.
|
void |
createLink(AttributeValueTable avt)
Creates a Link.
|
void |
createLink(String linkTag,
String parentTag,
String defTag)
Creates a link using a LinkDefinition.
|
void |
createLink(String linkTag,
String parentTag,
String name,
String assocTag)
Creates a link.
|
void |
createLockTypeLookupTables()
Creates the lock type lookup tables in the instance-wide
Domain PropertyBundle.
|
void |
createMedia(AttributeValueTable avt)
Creates a Media.
|
void |
createMedia(String mediaTag,
String defTag)
Creates a Media.
|
void |
createNamedFreezeLock(String domainTag,
String lockName)
Create a named freeze (also known as legal hold) lock.
|
void |
createNamedPropertyBundle(AttributeValueTable avt)
Creates a Named PropertyBundle.
|
void |
createNodeConfiguration(AttributeValueTable avt)
Creates a NodeConfiguration.
|
void |
createNodeConfiguration(String tag,
String name,
String ncSuperTag,
String active,
String defTag)
Create a NodeConfiguration.
|
void |
createOperationActionSpecification(AttributeValueTable avt)
Creates a new OperationActionSpecification entirely, using embeeded
definitions.
|
void |
createOperationActionSpecification(String specTag,
String defTag)
Create a OperationActionSpecification.
|
void |
createOrUpdateClassObject(AttributeValueTable avt)
Creates or updates a ClassObject.
|
void |
createPermissionBundle(AttributeValueTable avt)
Creates a PermissionBundle.
|
void |
createPolicy(AttributeValueTable avt)
Creates a Policy.
|
void |
createPolicyList(AttributeValueTable avt)
Creates a PolicyList.
|
void |
createPropertyBundle(AttributeValueTable avt)
Creates a regular PropertyBundle.
|
void |
createQueue(AttributeValueTable avt)
Creates a Queue.
|
void |
createRetentionPolicy(String rpTag,
String defTag)
Create a RetentionPolicy.
|
void |
createServerConfiguration(AttributeValueTable avt)
Create a ServerConfiguration.
|
void |
createServerConfiguration(String tag,
String name,
String likeTag,
String defTag)
Create a ServerConfiguration.
|
void |
createServerSpecification(AttributeValueTable avt)
Creates a new ServerSpecification entirely, using embeeded
definitions.
|
void |
createServiceConfiguration(AttributeValueTable avt)
Create a ServiceConfiguration.
|
void |
createServiceConfiguration(String tag,
String name,
String likeTag,
String defTag)
Create a ServiceConfiguration.
|
void |
createSession(String sesstag,
String username)
Register a session.
|
void |
createSession(String sesstag,
String username,
String password)
Register a session.
|
void |
createSimplePropertyTable(AttributeValueTable avt)
Creates a SimplePropertyTable.
|
void |
createSimplePropertyTableList(AttributeValueTable avt)
Creates a SimplePropertyTableList.
|
void |
createStorageGroup(AttributeValueTable avt)
Creates a StorageGroup.
|
void |
createStorageGroup(String sgTag,
String defTag)
Creates a StorageGroup.
|
void |
createSystemLockObject(AttributeValueTable avt)
Creates a SystemLockObject.
|
void |
createUser(AttributeValueTable avt)
Creates a User.
|
void |
createUserSession(String sesstag,
String userName)
Create a new session for a user, from the current adin-mode session.
|
void |
createValueDefault(AttributeValueTable avt)
Creates a ValueDefault.
|
void |
createValueDomain(AttributeValueTable avt)
Creates a ValueDomain.
|
void |
deactivateAuditHandlerSpecification(String specName)
Sets an AuditSpecificationHandler to an inactive state.
|
void |
deactivateAuditSpecification(String specName)
Sets an AuditSpecification to an inactive state.
|
void |
deactivateOperationActionSpecification(String tagOrName)
Deactivate a OperationActionSpecification.
|
void |
deactivateServerSpecification(String specName)
Sets an ServerSpecification to an inactive state.
|
void |
deactivateSystemObject(String objectTag)
Deactivate a SystemObject.
|
void |
deactivateUnknownOperationActionSpecifications()
Deactivate all active OperationActionSpecification instances whose
associated OperationAction class is not constructable.
|
void |
defineAttribute(AttributeValueTable avt)
Defines an Attribute definition.
|
void |
defineAuditHandlerSpecificationDefinition(String defTag,
String handlerClass,
String timerPeriod,
String timerBaseTime,
String notifiedOnEvent)
Defines an AuditHandlerSpecification definition.
|
void |
defineAuditHandlerSpecificationDefinition(String defTag,
String handlerClass,
String timerPeriod,
String timerBaseTime,
String notifiedOnEvent,
String handlerType,
String rtClassif)
Defines an AuditHandlerSpecification definition.
|
void |
defineAuditTargetSpecificationDefinition(String defTag,
String target,
String descendOpt)
Defines an AuditTargetSpecification definition.
|
void |
defineAuditTypeListDefinition(String defTag)
Creates an unnamed AuditTypeList definition.
|
void |
defineAuditTypeListDefinition(String defTag,
String name)
Creates an AuditTypeList definition, with an optional name.
|
void |
defineClassObject(AttributeValueTable avt)
Defines a ClassObject definition.
|
void |
defineExistingClassObject(AttributeValueTable avt)
Defines a definition for an existing ClassObject, for subsequent update.
|
protected boolean |
definitionExists(String tag)
Check whether a definition has been registered for the specified tag.
|
void |
deleteAllCategories(String className)
Deletes all Category instances for the specified Category.
|
void |
deleteAuditSpecification(String specName)
Deletes an AuditSpecification.
|
void |
deleteNamedFreezeLock(String domainTag,
String lockName)
Delete a named freeze (also known as legal hold) lock.
|
void |
deleteRepositoryParameter(AttributeValueTable avt)
Deletes a repository parameter.
|
void |
deleteUser(AttributeValueTable avt)
Deletes a User.
|
protected void |
deregisterBusinessObject(String tag)
De-register a BusinessObject by name.
|
void |
deregisterCustomLockType(AttributeValueTable avt)
De-Registers a custom LockeEntry type from the locktype lookup table.
|
void |
deregisterDefinition(String tag)
De-register a LibraryObjectDefinition by name.
|
void |
deregisterLockType(AttributeValueTable avt)
De-Registers a custom LockEntry type from the locktype lookup table.
|
protected void |
deregisterObject(String tag)
De-register a LibraryObject by name.
|
protected void |
deregisterSession(String tag,
LibrarySession sess)
De-register a session.
|
protected Transaction |
deregisterTransaction(String trantag)
De-register a transaction.
|
protected String |
determinePrimaryObjectColumnAlias(PreparedSelector sel)
Determine the column alias that is defined for the entire object
corresponding to the Primary search target, if any.
|
protected void |
ensureFreed(LibraryObject obj)
Ensure that the specified object is freed.
|
void |
executeAutocommitSql(AttributeValueTable avt)
Executes a SQL statement that will be auto-committed.
|
void |
executePreparedSelect(AttributeValueTable avt)
Execute a PreparedSelector, using a search condition that may leverage
convenience functions used to generate the correct SQL.
|
void |
executePreparedSelect(String priTargetTag,
String auxTargetsTag,
String condition,
String sortCondition,
String maxCountValue)
Execute a PreparedSelector, using a search condition that may leverage
convenience functions used to generate the correct SQL.
|
void |
executePreparedSelect(String priTargetTag,
String auxTargetsTag,
String condition,
String sortCondition,
String maxCountValue,
String startAtValue,
String distinctValue,
String stmtKey)
Execute a PreparedSelector, using a search condition that may leverage
convenience functions used to generate the correct SQL.
|
void |
executePreparedSelect(String priTargetTag,
String auxTargetsTag,
String condition,
String sortCondition,
String maxCountValue,
String startAtValue,
String distinctValue,
String stmtKey,
String verbose)
Execute a PreparedSelector, using a search condition that may leverage
convenience functions used to generate the correct SQL.
|
void |
executePreparedSelectCount(AttributeValueTable avt)
Execute a PreparedSelector to get a search count, using a search
condition that may leverage convenience functions used to generate
the correct SQL.
|
void |
executePreparedSelectCount(String priTargetTag,
String auxTargetsTag,
String condition)
Execute a PreparedSelector to get a search count, using a search
condition that may leverage convenience functions used to generate
the correct SQL.
|
void |
executePreparedSelectCount(String priTargetTag,
String auxTargetsTag,
String condition,
String distinctValue,
String stmtKey)
Execute a PreparedSelector to get a search count, using a search
condition that may leverage convenience functions used to generate
the correct SQL.
|
void |
executePreparedSelectFromJson(AttributeValueTable avt)
Execute a PreparedSelector, using a search defintion
stored as JSON in a Document.
|
void |
executePreparedSelectResults(AttributeValueTable avt)
Execute a PreparedSelector, using PreparedSelectorGenerator, selecting
specific columns from the search targets.
|
void |
exists(String path)
Shows whether or not an absolute path refers to an object.
|
void |
existsRelative(String folderTag,
String path)
Shows whether or not a relative path refers to an object.
|
void |
extractContentForIndexing()
Extract content for indirect text indexing.
|
void |
findOrCreateCompositeGroup(AttributeValueTable avt)
Find or create a CompositeGroup.
|
void |
freeClassDomain(AttributeValueTable avt)
Frees a ClassDomain.
|
void |
freeClassObject(AttributeValueTable avt)
Frees a ClassObject.
|
void |
freeExtendedPermission(AttributeValueTable avt)
Frees a ExtendedPermission.
|
void |
freeFolder(AttributeValueTable avt)
Frees a Folder.
|
void |
freeFormat(AttributeValueTable avt)
Frees a Format.
|
void |
freeNamedPropertyBundle(AttributeValueTable avt)
Frees a Named PropertyBundle.
|
void |
freeNamedPropertyBundle(String name)
Frees a Named PropertyBundle.
|
void |
freeNodeConfiguration(AttributeValueTable avt)
Free a NodeConfiguration.
|
void |
freeNodeConfiguration(String ncTag)
Free a NodeConfiguration.
|
void |
freeObject(String objectTag)
Free an object.
|
void |
freePermissionBundle(AttributeValueTable avt)
Frees a PermissionBundle.
|
void |
freePolicy(AttributeValueTable avt)
Frees a Policy.
|
void |
freeServerConfiguration(AttributeValueTable avt)
Free a ServerConfiguration.
|
void |
freeServerConfiguration(String scTag)
Free a ServerConfiguration.
|
void |
freeServiceConfiguration(AttributeValueTable avt)
Free a ServiceConfiguration.
|
void |
freeServiceConfiguration(String svcTag)
Free a ServiceConfiguration.
|
void |
freeUnreferencedContent(String batchValue)
Free unreferenced ContentObjects.
|
void |
freeValueDefault(AttributeValueTable avt)
Frees a ValueDefault.
|
void |
freeValueDomain(AttributeValueTable avt)
Frees a ValueDomain.
|
protected String |
generateClassObjectDefinitionTag(String className)
Generate the tag name used for the ClassObjectDefinition used to create or
update a ClassObject and its Attributes.
|
String |
getAbsolutePath(String paramName,
String relativePath)
Get the absolute path for the specified subpath relative to the directory
mapped by the specified parameter name.
|
protected AttributeValue |
getAclValueForConfigurationObjects(LibrarySession sess)
Get the ACL value to use for Configuration object creation.
|
AttributeValue |
getAttributeValue(AttributeValueTable avt)
Derives an AttributeValue from entries in the
specified AttributeValueTable.
|
AttributeValue |
getAttributeValue(AttributeValueTable avt,
String keyArgName)
Derives an AttributeValue from entries in the
specified AttributeValueTable.
|
AttributeValue |
getAttributeValue(AttributeValueTable avt,
String[] keyArgNames)
Derives an AttributeValue from entries in the
specified AttributeValueTable.
|
AuditDriverHelper |
getAuditDriverHelper()
Return the AuditDriverHelper in use.
|
protected AuditEventDispatcher |
getAuditEventDispatcher(LibrarySession sess)
Get the AuditEventDispatcher.
|
protected long |
getAuditingStartingId()
Get the value previously set as the starting point for
Audit searches.
|
protected AttributeValue[] |
getAuxiliaryTargets(String[] rawAuxTargs)
Gets the Auxiliary Targets from an array of target strings.
|
protected AttributeValue[] |
getBindValues(List<AttributeValueTable> bindValueList)
Gets the bind values defined in the specified table list.
|
protected String[] |
getBypassSecurityAliases(String[] bypassSecAliases)
Gets the Bypass Security aliases from the specified set of aliases
that should not have security clauses generated.
|
protected int |
getClassObjectCreationMode()
Gets the mode for scripts that create ClassObjects.
|
String |
getConsoleInputBoolean(String varName,
String prompt,
String defValue,
String skipIfSet,
String required)
Get a boolean input string from the console, and store the result back
into the ParameterTable.
|
String |
getConsoleInputString(AttributeValueTable avt)
Get input string from the console, and store the result back
into the ParameterTable.
|
String |
getConsoleInputString(String varName,
String prompt,
String defValue,
String skipIfSetVal,
String requiredVal)
Get input string from the console, and store the result back
into the ParameterTable.
|
String |
getConsoleInputString(String varName,
String prompt,
String defValue,
String skipIfSet,
String required,
String entrySecure)
Get input string from the console, and store the result back
into the ParameterTable.
|
String |
getConsoleSecureInputString(String varName,
String prompt,
String defValue,
String skipIfSetVal,
String requiredVal)
Get input string from the console, and store the result back
into the ParameterTable.
|
String |
getContentPath(String path)
Get the absolute path for the specified path that is relative
to IFSROOT.
|
protected LibrarySession |
getCurrentSession()
Get the current session.
|
ScriptDriver |
getDriver()
Return the script driver used to construct this instance.
|
void |
getIncludedFileSettings(String inclFileName)
Include settings in the specified file into the current ParameterTable.
|
PrintWriter |
getLogWriter()
Return the log writer in use.
|
ScriptOperations.ServerDefinition[] |
getManagedServerDeclarations()
Gets the managed Server declarations previously added via
addManagedServerDeclaration . |
ScriptOperations.ServiceDefinition[] |
getManagedServiceDeclarations()
Gets the managed Service declarations previously added via
addManagedServiceDeclaration . |
ParameterTable |
getParameterTable()
Returns the ParameterTable used by this instance.
|
protected LibraryObject[] |
getSavedSearchResultPrimaryObjects(String tag)
Gets the search results when Primary target's objects were selected.
|
protected AttributeValueTable[] |
getSavedSearchResults(String tag)
Gets the search results when multiple columns were selected.
|
boolean |
getShowDates()
Return indication as to whether dates should be shown in the output.
|
String[] |
getStringArray(AttributeValueTable avt,
String key)
Get String array from the specified table and key.
|
protected String[] |
getStringsFromArrayToken(String token)
Get String array from a value of the form
"{value1, value2, value3}".
|
boolean |
getStripNumbersFromAuditEventProperties()
Return indication as to whether numbers should be replaced in
audit event properties in
ShowUtils.showAuditEvents . |
void |
handleEventPostedForCustomAuditHistory(String specTag)
Initialize and post a "event posted" notification for a custom
AuditSpecification.
|
void |
handleTimerExpiredForCustomAuditHistory(String specTag)
Initialize and post a "timer expired" notification for a custom
AuditSpecification.
|
void |
identifyAcl(AttributeValueTable avt)
Identify an AccessControlList by name and optionally class.
|
void |
identifyAcl(String aclTag,
String objectTag)
Identify an ACL using another PublicObject.
|
void |
identifyApplicationToken(String tokenTag,
String tokenValue)
Lookup and identify a ApplicationToken by the object's token value.
|
void |
identifyAttribute(String tag,
String className,
String attrName)
Identify an Attribute of a ClassObject.
|
void |
identifyAttributePropertyBundle(String tag,
String className,
String attrName)
Identify an Attribute' Property Bundle.
|
void |
identifyAuditHandlerSpecification(String tag,
String specName)
Identify an audit handler specification by the AuditSpecification name.
|
void |
identifyAuditSpecification(String tag,
String asName)
Identify an audit specification by name.
|
void |
identifyAuditTargetSpecification(String tag,
String specName)
Identify an audit target specification by the AuditSpecification name.
|
void |
identifyAuditTypeList(String tag,
String atlName)
Identify an audit type list by name.
|
void |
identifyAuditTypeListBySpecification(String tag,
String specName)
Identify an AuditTypeList by the AuditSpecification name.
|
void |
identifyAutoFolderingActionSpecification(String specTag,
String specName)
Identify a AutoFolderingActionSpecification by its unique name.
|
void |
identifyByAttribute(String identifiedTag,
String objectTag,
String attrName)
Identify an object as an attribute of another object.
|
void |
identifyByPath(String objectTag,
String path)
Lookup an object by the specified path, and allow it to be subsequently
identified by the specified object tag.
|
void |
identifyByRelativePath(String objectTag,
String parentTag,
String relativePath)
Lookup an object found under the specified parent folder and relative path,
and allow it to be subsequently identified by the specified object tag.
|
void |
identifyCategory(AttributeValueTable avt)
Identify a Category by its class name and/or instance name.
|
void |
identifyCategory(String catTag,
String poTag,
String catClass,
String catName)
Identify a Category for a specified PublicObject.
|
void |
identifyClassAcl(String aclTag,
String aclName)
Identify a Class ACL by name.
|
void |
identifyClassDomain(String tag,
String name)
Identify a ClassDomain.
|
void |
identifyClassObject(String tag,
String name)
Identify a ClassObject.
|
void |
identifyClassPolicyBundle(String tag,
String className)
Identify a ClassObject's Policy bundle.
|
void |
identifyClassPropertyBundle(String tag,
String className)
Identify a ClassObject's property bundle.
|
void |
identifyCompositeGroup(AttributeValueTable avt)
Identify a CompositeGroup by its membership.
|
void |
identifyCustomLock(String leTag,
String poTag)
Identify a custom LockEntry by PublicObject.
|
void |
identifyCustomMediaDriverSpecification(String cmdsTag,
String cmdsName)
Identifies a CustomMediaDriverSpecification by its unique name.
|
void |
identifyDependentView(String dvTag,
String name)
Identifies a DependentView by its unique name.
|
void |
identifyExtendedPermission(String tag,
String name)
Identify a ExtendedPermission.
|
void |
identifyFormat(String formatTag,
String formatName)
Identifies a Format by its unique name.
|
void |
identifyGlobalAuditSpecification(String tag)
Identify the Global Audit History audit specification.
|
void |
identifyGlobalAuditTypeList(String atlTag)
Identifies the AuditTypeList used for global audit history.
|
void |
identifyGroup(AttributeValueTable avt)
Identify a Group by name and optionally class.
|
void |
identifyGuestUser(String guestTag)
Lookup the GUEST user and register it.
|
void |
identifyInstancePropertyBundle(String pbTag)
Identify the "Instance PropertyBundle", also known as the
Domain PropertyBundle.
|
void |
identifyLibraryObject(AttributeValueTable avt)
Identify a LibraryObject by the specified search condition.
|
void |
identifyLifecycleDateRuleSpecification(String specTag,
String specName)
Identify a LifecycleDateRuleSpecification by its unique name.
|
void |
identifyLifecyclePolicy(String lpTag,
String lpName)
Identify a LifecyclePolicy by its unique name.
|
void |
identifyLifecyclePolicyActionSpecification(String specTag,
String specName)
Identify a LifecyclePolicyActionSpecification by its unique name.
|
void |
identifyLifecyclePolicyEntry(String lpeTag,
String lpTag,
String lpeSeq)
Identify a LifecyclePolicyEntry by its parent LifecyclePolicy
and its sequence within that LifecyclePolicy.
|
void |
identifyMedia(String mediaTag,
String mediaName)
Identifies a Media by its unique name.
|
void |
identifyMessageEntry(AttributeValueTable avt)
Identify a MessageEntry for a PublicObject that has an ActivityRecord.
|
void |
identifyMessageList(AttributeValueTable avt)
Identify a MessageList for a PublicObject that has an ActivityRecord.
|
void |
identifyNamedFreezeLock(String sleTag,
String domainTag,
String lockName)
Identify a named freeze (also known as legal hold) lock from its name.
|
void |
identifyNamedPropertyBundle(String tag,
String name)
Identify a Named PropertyBundle.
|
void |
identifyNodeConfiguration(String ncTag,
String ncName)
Identify a NodeConfiguration by its unique name.
|
void |
identifyObjectAuditSpecification(String tag)
Identify the Object Audit History audit specification.
|
void |
identifyObjectProperty(AttributeValueTable avt)
Identifies an object Property on an identified PropertyBundle.
|
void |
identifyOperationActionSpecification(String specTag,
String specName)
Identify a OperationActionSpecification by its unique name.
|
void |
identifyPermissionBundle(String tag,
String name)
Identify a PermissionBundle.
|
void |
identifyPolicy(String tag,
String name)
Identify a Policy.
|
void |
identifyPolicyList(String tag,
String name)
Identify a PolicyList.
|
void |
identifyPrimaryUserProfile(String pupTag,
String userName)
Identify the PrimaryUserProfile for a user.
|
void |
identifyPropertyBundle(AttributeValueTable avt)
Identify a PropertyBundle as the bundle used by a previously
identified LibraryObject.
|
void |
identifyQueue(String quTag,
String quName)
Identify a Queue by name.
|
void |
identifyQueueTypeMapBundle(String pbTag,
String quName)
Identify the PropertyBundle used by a Queue to map message types.
|
void |
identifyRetentionPolicy(String rpTag,
String rpName)
Identify a RetentionPolicy by its unique name.
|
void |
identifyServerConfiguration(String scTag,
String scName)
Identify a ServerConfiguration by its unique name.
|
void |
identifyServerSpecification(String specTag,
String specName)
Identify a ServerSpecification by its unique name.
|
void |
identifyServiceConfiguration(String scTag,
String scName)
Identify a ServiceConfiguration by its unique name.
|
void |
identifySingletonLockType(AttributeValueTable avt)
Applies a singleton LockEntry to a PublicObject
The keys supported by this operation:
TAG: the tag that identifies the LockEntry applied
LOCKTYPEKEY: the lock type key
PUBLICOBJECT: the tag that identifies the PublicObject that will
receive the LockEntry
CUSTOM: whether the lock type is custom
|
void |
identifyStorageGroup(String sgTag,
String sgName)
Identifies a StorageGroup by its unique name.
|
void |
identifySystemAcl(String aclTag,
String aclName)
Identify a System ACL by name.
|
void |
identifySystemLockObject(String sloTag,
String sloName)
Identify a SystemLockObject by name.
|
void |
identifySystemUser(String sysTag)
Lookup the SYSTEM user and register it.
|
void |
identifyUser(String userTag,
String userName)
Lookup a user by name and register it.
|
void |
identifyValueDefault(String tag,
String name)
Identify a ValueDefault.
|
void |
identifyValueDomain(String tag,
String name)
Identify a ValueDomain.
|
void |
identifyWorldGroup(String worldTag)
Lookup the "WORLD" group and register it.
|
void |
impersonateUser()
Clears impersonation for the current session.
|
void |
impersonateUser(String userName)
Impersonates another user for the current session.
|
void |
initializeManualTextIndexingRetainedEvents(AttributeValueTable avt)
Initializes handling of ManualTextIndexingRetainedEvents.
|
protected boolean |
isBootstrapModeEnabled()
Gets whether the mode for scripts that create ClassObjects
is in bootstrap mode.
|
protected boolean |
isDomainScopeImpliedForSearch()
Returns indication as to whether a Domain ID scoping is implied
for Audit searches.
|
protected boolean |
isInArray(LibraryObject obj,
LibraryObject[] objs)
Check if the specified object is in the specified array.
|
void |
log()
Writes an empty line to the log.
|
void |
log(String message)
Writes a message to the log file.
|
protected AccessControlList |
lookupAcl(LibrarySession sess,
String tagOrName)
Lookup an ACL by the specified tag or name.
|
protected ApplicationToken |
lookupApplicationToken(LibrarySession sess,
String tkValue)
Lookup a ApplicationToken by the specified token value.
|
protected Folder |
lookupAuditDomainContext(LibrarySession sess,
String tag)
Lookup the Audit Domain context by Tag.
|
protected AuditSpecification |
lookupAuditSpecification(LibrarySession sess,
String tagOrName)
Lookup a AuditSpecification by the specified name.
|
protected AutoFolderingActionSpecification |
lookupAutoFolderingActionSpecification(String tagOrName)
Lookup an AutoFolderingActionSpecification by tag or name.
|
protected Object |
lookupBusinessObject(LibrarySession session,
String tag)
Lookup a BusinessObject by the specified tag.
|
protected Hashtable |
lookupBusinessObjectHashtable(String key)
Find or add a Hashtable as a business object.
|
protected List |
lookupBusinessObjectList(String key)
Find or add a List as a business object.
|
protected ClassAccessControlList |
lookupClassAcl(LibrarySession sess,
String aclName)
Lookup a Class ACL by name.
|
protected int |
lookupDatatype(String stype)
Convert a data type string to an integer data type, as defined in
oracle.ifs.beans.Attribute . |
protected String |
lookupDatatypeString(int type)
Convert a data type integer to a String representation.
|
protected LibraryObjectDefinition |
lookupDefinition(LibrarySession sess,
String tag)
Lookup a LibraryObjectDefinition by the specified tag.
|
protected LibraryObjectDefinition |
lookupDefinition(LibrarySession sess,
String tag,
String className)
Lookup a LibraryObjectDefinition by the specified tag and that is the
appropriate instance for the specified classobject name.
|
protected DirectoryObject |
lookupDirectoryObject(LibrarySession sess,
String tagOrName)
Lookup a DirectoryObject (user or group) by the specified name.
|
protected Document |
lookupDocument(LibrarySession sess,
String tag)
Lookup a Document by the specified tag.
|
protected Folder |
lookupFolder(LibrarySession sess,
String tag)
Lookup a Folder by the specified tag.
|
protected Format |
lookupFormat(LibrarySession sess,
String tagOrName)
Lookup a Format by the specified name.
|
protected Format |
lookupFormatFromCollection(LibrarySession sess,
String name)
Lookup a Format by the specified name, using the Format Collection.
|
protected DirectoryGroup |
lookupGroup(LibrarySession sess,
String tag)
Lookup a DirectoryGroup by the specified tag.
|
protected Media |
lookupMedia(LibrarySession sess,
String tagOrName)
Lookup a Media by the specified tag or Media name.
|
protected MessageEntry |
lookupMessageEntry(LibrarySession sess,
String tag)
Lookup a MessageEntry by the specified tag.
|
protected LibraryObject |
lookupObject(LibrarySession sess,
String tag)
Lookup a LibraryObject by the specified tag.
|
protected LibraryObject |
lookupObject(LibrarySession sess,
String tag,
String className)
Lookup a LibraryObject by the specified tag and that is an instance
of the specified class.
|
AttributeValue |
lookupObjectAttributeValue(String tag)
Lookup an AttributeValue that identifies a LibraryObject,
by the specified tag.
|
protected Long |
lookupObjectId(LibrarySession sess,
String tag)
Lookup a LibraryObject's ID by the specified tag.
|
protected OperationActionSpecification |
lookupOperationActionSpecification(String tagOrName)
Lookup an OperationActionSpecification by tag or name.
|
protected PublicObject |
lookupPublicObject(LibrarySession sess,
String tag)
Lookup a PublicObject by the specified tag.
|
protected Queue |
lookupQueue(LibrarySession sess,
String quName)
Lookup a Queue by name.
|
protected LibrarySession |
lookupSessionByTag(String tag)
Lookup a session by the session tag that was used to register it.
|
protected SystemAccessControlList |
lookupSystemAcl(LibrarySession sess,
String aclName)
Lookup a System ACL by name.
|
protected SystemLockObject |
lookupSystemLockObject(LibrarySession sess,
String sloName)
Lookup a SystemLockObject by name.
|
protected String |
lookupTagBySessionId(Long sessid)
Lookup a session tag by the session ID.
|
protected DirectoryUser |
lookupUser(LibrarySession sess,
String tagOrName)
Lookup a DirectoryUser by the specified name or tag.
|
protected DirectoryUser |
lookupUserFromCollection(LibrarySession sess,
String userName)
Lookup a user by the specified name.
|
void |
makeDefinitionReadOnly(String defTag)
Make a definition readonly, so that it can be used in multiple
operations.
|
void |
markCurrentAuditingId()
Mark the starting point for subsequent audit event searches.
|
protected void |
modifyClassObject(ClassObject co,
String className,
boolean removeAttrs,
boolean verbose)
Modifies the specified ClassObject to match the previously
created definitions.
|
void |
move(AttributeValueTable avt)
Move the specified PublicObject to a new folder.
|
void |
moveCategory(AttributeValueTable avt)
Move the specified Category to become associated with a new
PublicObject.
|
protected String |
normalizeBooleanString(String rawValue)
Convert the specified string to "true", "false", or null.
|
void |
notifyCustomAuditHistoryHandler(String specTag,
String notifyType)
Initialize and post a notification for a custom
AuditSpecification.
|
protected boolean |
objectExists(String tag)
Check whether an object has been registered for the specified tag.
|
void |
postCustomAuditEvent(AttributeValueTable avt)
Post a custom audit event.
|
void |
postCustomAuditEvent(String opTypeKey,
String targetTag,
String domainTag)
Post a custom audit event.
|
void |
postCustomAuditEvent(String opTypeKey,
String targetTag,
String domainTag,
String auxString,
String auxNumber,
String auxObjsToken)
Post a custom audit event.
|
void |
postSystemAuditEvent(String opTypeKey,
String domainTag)
Post a System audit event.
|
void |
postSystemAuditEvent(String opTypeKey,
String domainTag,
String auxString,
String auxNumber,
String auxObjsToken)
Post a System audit event.
|
protected void |
preprocessDocumentSettings(AttributeValueTable avt,
DocumentDefinition def)
Preprocess the specified AttributeValueTable for use in creating or updating
a Document.
|
protected void |
preprocessPublicObjectSettings(AttributeValueTable avt,
PublicObjectDefinition def)
Preprocess the specified AttributeValueTable for use in creating or updating
a PublicObject.
|
void |
printStackTrace(Throwable e)
Prints an exception stack trace to the log.
|
void |
processManualTextIndexingRetainedEvents(AttributeValueTable avt)
Processes all of the currently queued ManualTextIndexingRetainedEvents.
|
void |
processRawAuditEvents()
Force processing of raw audit events.
|
void |
purgeGlobalAuditHistory(String domainTag)
Force a purge of the global audit events.
|
void |
reactivateUnknownOperationActionSpecifications()
Re-activate all OperationActionSpecification instances that were
previously de-activated via operation
deactivateUnknownOperationActionSpecification . |
void |
readDocumentContent(String docTag)
Read a Document content.
|
void |
refreshDependentView(String dvTag)
Refresh the view using the definition contained in a DependentView.
|
void |
registerAllNonCustomAuditTypes()
Registers all non-Custom audit event types.
|
void |
registerAuditEventType(String opTypeKey,
String targetCodeVal,
String targetClass,
String opCodeVal)
Registers an audit event type.
|
void |
registerAuditEventType(String opTypeKey,
String targetCodeVal,
String targetClass,
String opCodeVal,
String createOrFreeVal)
Registers an audit event type.
|
protected void |
registerBusinessObject(String tag,
Object obj)
Register a BusinessObject by name.
|
void |
registerCustomAuditType(String opCodeKey,
String targetClass)
Registers a custom audit event type.
|
void |
registerCustomLockType(AttributeValueTable avt)
Registers a new custom LockEntry type in the locktype lookup table.
|
protected void |
registerDefinition(String tag,
LibraryObjectDefinition def)
Register a LibraryObjectDefinition by name.
|
void |
registerLockType(AttributeValueTable avt)
Registers a new LockEntry type in either the core or custom
locktype lookup table.
|
protected void |
registerNewSession(String sesstag,
LibrarySession sess)
Register a session.
|
protected void |
registerObject(String tag,
LibraryObject obj)
Register a LibraryObject by name.
|
protected void |
registerTransaction(String trantag,
Transaction tran)
Register a transaction.
|
void |
releaseLock(String poTag,
String leTag)
Release a specified lock.
|
void |
releaseManualLock(String poTag)
Release a manual lock.
|
void |
removeAcesForFreedGrantees(String batchValue)
Cleanup ACLs that have ACEs for grantees that have been freed.
|
void |
removeAllAttachments(AttributeValueTable avt)
Removes all attachments from the specified target PublicObject.
|
void |
removeAttachment(AttributeValueTable avt)
Remove an attachment from the specified target PublicObject.
|
void |
removeAttribute(AttributeValueTable avt)
Remove an Attribute for an existing ClassObject.
|
void |
removeClassProperty(AttributeValueTable avt)
Remove a class-level property.
|
void |
removeCustomLockEntry(String poTag,
String leTag)
Removes a custom LockEntry from a PublicObject.
|
void |
removeGroupMembers(AttributeValueTable avt)
Removes members from a DirectoryGroup.
|
void |
removeNamedFreezeLock(String docTag,
String domainTag,
String lockName)
Remove a named freeze (also known as legal hold) lock from a document.
|
void |
removeProperties(AttributeValueTable avt)
Removes a Property or a set of Properties from a PropertyBundle.
|
void |
removeServerFromNodeConfiguration(String ncTag,
String sName)
Remove a Server registration from a NodeConfiguration.
|
void |
removeServiceFromNodeConfiguration(String ncTag,
String svName)
Remove a Service registration from a NodeConfiguration.
|
void |
removeSession(String sesstag)
Disconnect and de-register a session.
|
void |
removeSessionState(String stateKey)
Remove session state for the specified session state key.
|
void |
removeSingletonLock(AttributeValueTable avt)
Removes a singleton LockEntry from a PublicObject
The keys supported by this operation:
LOCKTYPEKEY: the lock type key
PUBLICOBJECT: the tag that identifies the PublicObject
CUSTOM: whether the lock type is custom
UNLOCKALLITEMS: whether to recursively unlock all items if the specified
PublicObject is a Folder
|
void |
removeTag(String objectTag)
Remove a tag designation.
|
void |
rename(String objectTag,
String newName)
Rename a LibraryObject.
|
void |
replaceMediaLookupsByFormat(String currMediaTag,
String newMediaTag)
Replaces the Format/Media mappings so that a new Media instance is mapped.
|
protected LibrarySession |
replaceSession(String tag,
LibrarySession newSess)
Replace a previously registered session with a different session.
|
void |
resetFolderCountInfo(String folderTag)
Forces an invalidation of count information about a folder.
|
void |
restoreGlobalOperationActionSpecification()
Restores the list of global
OperationActionSpecifications from a previously saved copy.
|
void |
runSchemaCreator(String xmlFile)
Run a SchemaCreator for the specified XML file.
|
ScriptDriver |
runScript(String scriptName)
Executes a nested ScriptOperations script file.
|
void |
saveGlobalOperationActionSpecification()
Saves a copy of the list of global
OperationActionSpecifications, defined in a domain property.
|
protected void |
saveSearchResultPrimaryObjects(String tag,
LibraryObject[] objs)
Saves the search results when selecting the Primary target's objects.
|
protected void |
saveSearchResults(String tag,
AttributeValueTable[] rowResults,
String priColAlias)
Saves the search results when selecting multiple columns.
|
void |
searchAuditHistory(String specTag,
String filterSpec)
Show the Audit events that result from a search against a
specified AuditSpecification.
|
void |
searchAuditHistory(String specTag,
String filterSpec,
String sortClause,
String verbose)
Show the Audit events that result from a search against a
specified AuditSpecification.
|
void |
searchAuditHistory(String specTag,
String targetsToken,
String filterSpec,
String sortClause,
String maxCountValue,
String verbose)
Show the Audit events that result from a search against a
specified AuditSpecification.
|
protected boolean |
sessionExists(String tag)
Check whether a session has been registered for the specified tag.
|
void |
setAdminMode()
Enable admin mode for the current session.
|
void |
setAdminMode(String boolValue)
Sets Admin mode setting to the value indicated for the current session.
|
void |
setArrayTokenDelimiter(String delim)
Change the the delimiter to use when parsing array tokens.
|
protected void |
setAuditingStartingId(long auditId)
Set the starting point for Audit searches.
|
void |
setAuditSpecificationAuditHandlerSpecificationDefinition(String defTag,
String ahsDefTag)
Sets an AuditHandlerSpecification definition on an
AuditSpecification definition.
|
void |
setAuditSpecificationAuditTargetSpecificationDefinition(String defTag,
String atsDefTag)
Sets an AuditTargetSpecification definition on an
AuditSpecification definition.
|
void |
setAuditSpecificationAuditTypeListDefinition(String defTag,
String atlDefTag)
Sets an AuditTypeList definition on an AuditSpecification definition.
|
void |
setAuditTargetSpecificationDefinitionTarget(String defTag,
String targetTag)
Sets a target on a AuditTargetSpecificationDefinition.
|
void |
setBooleanInstanceProperty(String key,
String value)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setClassObjectCreationMode(String execMode)
Sets the mode for scripts that create ClassObjects.
|
void |
setClassPolicyList(AttributeValueTable avt)
Sets a class-level PolicyList.
|
void |
setClassProperty(AttributeValueTable avt)
Sets a class-level Property on the specified ClassObject PropertyBundle.
|
void |
setCreateCategoriesServerSideOption(String defTag,
String attrValue)
Sets the create categories server side option on the public object
definition.
|
protected void |
setCurrentSession(LibrarySession session)
Make the specified session the default.
|
void |
setCurrentSession(String sesstag)
Make a different session the current session.
|
void |
setDateFormat(String dateFormat)
Change the date formatter used by the current session's Localizer.
|
void |
setDefaultAuditEventSortClause(String sort)
Set the default manner in which audit event searches are sorted.
|
void |
setDefaultMedia(String mediaTag)
Sets the default Media.
|
void |
setDefaultScriptOperationsClass(String className)
Sets the class name of the instance to use as the
default script operations
class.
|
void |
setDefaultStorageGroup(String sgTag)
Sets the default StorageGroup.
|
void |
setDefinitionAttribute(AttributeValueTable avt)
Add an attribute setting to a definition.
|
protected void |
setDefinitionAttribute(LibraryObjectDefinition def,
String attrName,
AttributeValue value)
Sets an attribute on the specified definition.
|
void |
setDefinitionBooleanAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionClassObjectAttribute(String defTag,
String attrName,
String classTag)
Deprecated.
9.0.4.6: use
setDefinitionAttribute
and the LIBRARYOBJECTVALUE option |
void |
setDefinitionDateAttribute(String defTag,
String attrName,
String dateString)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionDirectoryObjectArrayAttribute(String defTag,
String attrName,
String doTagNames)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionDirectoryObjectAttribute(String defTag,
String attrName,
String objTag)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionDoubleAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionIntegerAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionLongAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionNullStringAttribute(String defTag,
String attrName)
Deprecated.
9.0.4.6: use
setDefinitionAttribute , value = "" |
void |
setDefinitionObjectAttribute(String defTag,
String attrName,
String objTag)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionSchemaObjectArrayAttribute(String defTag,
String attrName,
String koTagNames)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionSchemaObjectAttribute(String defTag,
String attrName,
String objTag)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionStringArrayAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionStringAttribute(String defTag,
String attrName,
String attrValue)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDefinitionSystemObjectAttribute(String defTag,
String attrName,
String objTag)
Deprecated.
9.0.4.6: use
setDefinitionAttribute |
void |
setDocumentDefinitionContentObjectDefinition(String defTag,
String coDefTag)
Deprecated.
9.0.4.6: use
addToDocumentDefinition |
void |
setGlobalAuditTypeList(String atlTag)
Change the AuditTypeList used for global audit history.
|
void |
setGlobalOperationActionSpecifications(String oasArrayToken)
Sets the list of global OperationActionSpecifications defined as a domain
property.
|
void |
setInstallationMode()
Enable installation mode for the current session.
|
void |
setInstallationMode(String boolValue)
Sets installation mode setting to the value indicated
for the current session.
|
void |
setInstanceProperty(AttributeValueTable avt)
Sets an "instance" property, i.e. a property in the Domain PropertyBundle.
|
void |
setIntegerInstanceProperty(String key,
String value)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setLifecyclePolicyDefinitionDeleteEntriesOption(String defTag,
String boolVal)
Sets the "DeleteAllLifecyclePolicyEntries" option on a
LifecyclePolicyDefinition.
|
void |
setLocale(String locString)
Change the Locale used by the current session's Localizer.
|
void |
setLongInstanceProperty(String key,
String value)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setLongSessionState(String stateKey,
String value)
Set Long session state for the specified session state key.
|
void |
setMainSessionAsCurrentSession()
Sets the main session in the script driver as the current session.
|
void |
setMediaLookupByFormat(String formatName,
String mediaTag)
Adds a mapping to the MediaLookUpByFormat property bundle, which holds the
mappings of Format to Media.
|
void |
setNumberFormat(AttributeValueTable avt)
Change the number formatter used by the current session's Localizer.
|
void |
setObjectProperty(AttributeValueTable avt)
Sets a Property on a specified LibraryObject.
|
void |
setPreventSessionTimeouts()
Prevent session timeouts from occuring for the current session.
|
void |
setPreventSessionTimeouts(String boolValue)
Sets indication as to whether session timeouts are prevented
for the current session.
|
void |
setProperty(AttributeValueTable avt)
Sets a Property on an identified PropertyBundle.
|
void |
setPublicObjectInstanceProperty(String key,
String tag)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setRepositoryParameter(AttributeValueTable avt)
Sets a repository parameter.
|
void |
setStringInstanceProperty(String key,
String value)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setStringSessionState(String stateKey,
String value)
Set String session state for the specified session state key.
|
void |
setSubstitutionPrefix(String prefix)
Change the prefix indicating a substitution reference.
|
void |
setSystemAdminMode()
Enable system admin mode for the current session.
|
void |
setSystemAdminMode(String boolValue)
Sets System Admin mode setting to the value indicated
for the current session.
|
void |
setSystemObjectInstanceProperty(String key,
String tag)
Deprecated.
9.0.4.6: use
setInstanceProperty |
void |
setTimeoutPeriodOption(String defTag,
String attrValue)
Sets the "timeout period" option onto a ApplicationTokenDefinition.
|
void |
setTimeZone(String tzString)
Change the time zone used by the current session's Localizer.
|
protected void |
setUserCreateOptions(AttributeValueTable avt,
Hashtable ht)
Sets options for user creation on the specified options Hashtable.
|
void |
setUserDefaultAcl(String aclName,
String userName)
Sets the users default ACL for new created POs.
|
protected void |
setUserDeleteOptions(AttributeValueTable avt,
Hashtable ht)
Sets options for user delete on the specified options Hashtable.
|
void |
showAcl(String aclTag)
Show details about an ACL.
|
void |
showAggregateAuditEventColumns(String specTag,
String aggFunction,
String columnNamesTag,
String innerColNamesTag,
String filterSpec,
String sortClause,
String verbose)
Shows the list of distinct values of the specified AuditEvent columns,
along with an optional aggregate function.
|
void |
showAllAutoFolderingActionSpecifications()
Shows all of the AutoFolderingActionSpecifications.
|
void |
showAllClassAcls()
Show details about all System ACLs.
|
void |
showAllClassDomains()
Shows all of the ClassDomains.
|
void |
showAllClassObjects(AttributeValueTable avt)
Shows all of the ClassObjects.
|
void |
showAllCustomAuditSpecifications()
Shows all of the custom audit specifications.
|
void |
showAllCustomMediaDriverSpecifications()
Shows all of the CustomMediaDriverSpecification instances.
|
void |
showAllDependentViews()
Shows all of the DependentViews.
|
void |
showAllExtendedPermissions()
Shows all of the ExtendedPermissions.
|
void |
showAllExternalRetentionPolicies()
Shows all of the ExternalRetentionPolicy instances.
|
void |
showAllFormats()
Shows all of the Formats.
|
void |
showAllLifecycleDateRuleSpecifications()
Shows all of the LifecycleDateRuleSpecifications.
|
void |
showAllLifecyclePolicies()
Shows all of the LifecyclePolicy instances.
|
void |
showAllLifecyclePolicyActionSpecifications()
Shows all of the LifecyclePolicyActionSpecifications.
|
void |
showAllMedias()
Shows all of the Media instances.
|
void |
showAllNodeConfigurations()
Shows all of the NodeConfiguration instances.
|
void |
showAllNodeConfigurations(String verboseVal)
Shows all of the NodeConfiguration instances.
|
void |
showAllOperationActionSpecifications()
Shows all of the OperationActionSpecifications.
|
void |
showAllPermissionBundles()
Shows all of the PermissionBundles.
|
void |
showAllPolicies()
Shows all of the Policies.
|
void |
showAllPolicyLists()
Shows all of the PolicyLists.
|
void |
showAllRepositoryParameters()
Shows all repository parameters.
|
void |
showAllRetentionPolicies()
Shows all of the RetentionPolicy instances.
|
void |
showAllServerConfigurations()
Shows all of the ServerConfiguration instances.
|
void |
showAllServerConfigurations(String verboseVal)
Shows all of the ServerConfiguration instances.
|
void |
showAllServerSpecifications()
Shows all of the ServerSpecifications.
|
void |
showAllServiceConfigurations()
Shows all of the ServiceConfiguration instances.
|
void |
showAllServiceConfigurations(String verboseVal)
Shows all of the ServiceConfiguration instances.
|
void |
showAllStorageGroups()
Shows all of the StorageGroups.
|
void |
showAllSystemAcls()
Show details about all System ACLs.
|
void |
showAllValueDefaults()
Shows all of the ValueDefaults.
|
void |
showAllValueDomains()
Shows all of the ValueDomains.
|
void |
showApplicationToken(String tkTag)
Show details about a ApplicationToken.
|
void |
showApplicationTokens()
Show details about all ApplicationTokens in an Instance.
|
void |
showAttachments(AttributeValueTable avt)
Show attachments for the specified target PublicObject.
|
void |
showAttribute(String tag)
Show details about an Attribute.
|
void |
showAttribute(String objectTag,
String attrName)
Show the attribute value of an object.
|
void |
showAuditCertificates(String objTags,
String verbose)
Shows audit certificates for the array of object tags specified.
|
void |
showAuditEventOperationTypes(String opTypeKeys)
Converts a set of audit operation code keys to their numeric
equivalents, and shows them.
|
void |
showAuditSpecification(String objectTag)
Shows the audit specification corresponding to the supplied tag.
|
void |
showAuditTypeList(String objectTag)
Shows the audit type list corresponding to the supplied tag.
|
void |
showAuditTypesForClass(String className)
Shows the set of audit operation types that are applicable
to the class specified.
|
void |
showAuditTypesForCreateOperations()
Shows the set of audit operation types that represent "created"
operations.
|
void |
showAuditTypesForFreeOperations()
Shows the set of audit operation types that represent "free" operations.
|
void |
showAuditTypesUnderClass(String className)
Shows the set of audit operation types that are applicable
to the specified class, or any of the classes considered to descend from
the specified class.
|
void |
showAutoFolderingActionSpecification(String specTag)
Show details about a AutoFolderingActionSpecification.
|
void |
showCapabilities(String objTag)
Show Capabilities for a PublicObject.
|
void |
showClassDomain(AttributeValueTable avt)
Shows a ClassDomain.
|
void |
showClassDomain(String name)
Show details about a ClassDomain.
|
void |
showClassObject(AttributeValueTable avt)
Show a ClassObject.
|
protected void |
showClassObjectAndSubNames(ClassObject co,
boolean inclInstalled,
boolean inclCustom,
String indent)
Shows the name of the specified class and each of its subclasses,
recursively.
|
protected void |
showClassObjectAndSubs(ClassObject co,
boolean createSyntax,
boolean inclInstalled,
boolean inclCustom,
boolean verbose,
boolean showDates)
Shows the specified class and each of its subclasses,
recursively
|
void |
showCompositeGroup(String groupTag)
Show details about a CompositeGroup.
|
protected void |
showCreateClassObjectScript(ClassObject co,
boolean verbose,
boolean showDates)
Shows the specified class using "create script" syntax.
|
void |
showCurrentUser()
Shows information about the currently connected user.
|
void |
showCustomAuditHistory(String specTag,
String verbose)
Show the Audit events for a custom AuditSpecification.
|
void |
showCustomAuditHistory(String specTag,
String verbose,
String sortClause)
Show the Audit events for a custom AuditSpecification.
|
void |
showCustomAuditTypes()
Shows the set of custom audit operation types.
|
void |
showCustomMediaDriverSpecification(String cmdsTag)
Shows details about a CustomMediaDriverSpecification.
|
void |
showDefaultMedia()
Shows the default Media.
|
void |
showDefaultStorageGroup()
Shows the default StorageGroup.
|
protected void |
showDefineAttributeScript(Attribute attr,
String className,
boolean verbose,
boolean showDates)
Shows the specified Attribute using "create script" syntax.
|
void |
showDefinition(String defTag)
Show details about a definition.
|
void |
showDefinitionObject(String defobjTag)
Show details about a DefinitionObject.
|
void |
showDependentView(String dvTag)
Show details about a DependentView.
|
void |
showDocument(String docTag)
Show details about a document.
|
void |
showDocumentCharacterSet(String docTag)
Deprecated.
9.0.4.6: use
showDocumentContentInfo |
void |
showDocumentContentInfo(String docTag)
Show details about a document's content.
|
protected void |
showDocumentContents(Document doc,
String prefix)
Show a Document's content, using its Reader.
|
protected void |
showDocumentContents(Document doc,
String prefix,
boolean replaceNums)
Show a Document's content, using its Reader, and optionally
replacing all numbers with an X (for test output).
|
void |
showDocumentContents(String docTag)
Show a document's content.
|
void |
showDocumentLanguage(String docTag)
Deprecated.
9.0.4.6: use
showDocumentContentInfo |
void |
showDocumentsWithLifecyclePolicy(String lpTag,
String batchValue)
Show documents that are referencing the specified LifecyclePolicy.
|
void |
showExpandedAuditTypeList(String objectTag,
String className)
Shows the expanded audit type list corresponding to the supplied tag,
and the specified class.
|
void |
showExtendedPermission(String name)
Show details about a ExtendedPermission.
|
void |
showFolder(AttributeValueTable avt)
Show details about a folder.
|
void |
showFolder(String folderTag)
Show details about a folder.
|
void |
showFolderCountInfo(String folderTag)
Show count information about a folder.
|
void |
showFormat(String formatName)
Show details about a Format.
|
void |
showGlobalAuditHistory(String verbose)
Show the Global Audit History.
|
void |
showGlobalAuditHistory(String verbose,
String sortClause)
Show the Global Audit History.
|
void |
showGlobalAuditSpecification()
Shows the Global audit spec.
|
void |
showGlobalAuditTypeList()
Show the AuditTypeList used for global audit history.
|
void |
showGlobalOperationActionSpecifications()
Shows the list of global OperationActionSpecifications defined as a domain
property.
|
void |
showGroup(String groupTag)
Show details about a group.
|
void |
showInstanceProperty(String key)
Show an instance property.
|
void |
showInstancePropertyBundle()
Show the instance PropertyBundle.
|
void |
showLibraryObject(AttributeValueTable avt)
Show details about a LibraryObject.
|
protected void |
showLibraryObject(Logger logger,
LibraryObject obj,
boolean showDates,
String prefix)
Show details about a LibraryObject.
|
void |
showLifecycleDateRuleSpecification(String specTag)
Show details about a LifecycleDateRuleSpecification.
|
void |
showLifecyclePolicy(String lpTag)
Show details about a LifecyclePolicy.
|
void |
showLifecyclePolicyActionSpecification(String specTag)
Show details about a LifecyclePolicyActionSpecification.
|
void |
showLifecyclePolicyEntry(String lpeTag)
Show details about a LifecyclePolicyEntry.
|
void |
showLink(String linkTag)
Show details about a link.
|
void |
showLocalizer()
Change the date formatter used by the current session's Localizer.
|
void |
showLockEntry(String leTag)
Show a lock entry.
|
void |
showLockEntryInfo(String poTag)
Show the lock entry info for a specified PublicObject
|
void |
showLockTypeLookupTables()
Shows the lock type lookup tables in the instance-wide
Domain PropertyBundle.
|
void |
showMedia(String mediaTag)
Shows details about a Media.
|
void |
showMediaLookupByFormatMappings()
Shows the MediaLookUpByFormat property bundle, which holds the
mappings of Format to Media.
|
void |
showMessageEntry(AttributeValueTable avt)
Show MessageEntry information.
|
void |
showMessageList(AttributeValueTable avt)
Show MessageList information.
|
void |
showNamedPropertyBundle(String name)
Show details about a Named PropertyBundle.
|
void |
showNodeConfiguration(String ncTag)
Show details about a NodeConfiguration.
|
void |
showNodeConfiguration(String ncTag,
String verboseVal)
Show details about a NodeConfiguration.
|
void |
showObject(String objTag)
Show details about a LibraryObject.
|
void |
showObjectAuditHistory(String objTag,
String verbose)
Show the Object Audit History for an object.
|
void |
showObjectAuditHistory(String objTag,
String verbose,
String sortClause)
Show the Object Audit History for an object.
|
void |
showObjectAuditSpecification()
Shows the Global audit spec.
|
void |
showOperationActionSpecification(String tagOrName)
Show details about a OperationActionSpecification.
|
void |
showParsedArrayToken(AttributeValueTable avt)
Show a parsed array token for the string specified.
|
void |
showParsedOperationString(AttributeValueTable avt)
Show a parsed operation for the string specified.
|
void |
showPermissionBundle(String name)
Show details about a PermissionBundle.
|
void |
showPolicy(String name)
Show details about a Policy.
|
void |
showPolicyList(String name)
Show details about a PolicyList.
|
void |
showPreparedSelector(PreparedSelector sel)
Show details about a PreparedSelector.
|
void |
showPreparedSelector(PreparedSelector sel,
boolean showBindVals)
Show details about a PreparedSelector.
|
void |
showProperty(String pbTag,
String key)
Shows a property of a PropertyBundle.
|
void |
showPropertyBundle(String pbTag)
Shows the properties of a PropertyBundle.
|
void |
showRepositoryParameter(AttributeValueTable avt)
Shows a repository parameter.
|
void |
showRetentionPolicy(String rpTag)
Show details about a RetentionPolicy.
|
void |
showRuntimeStatistics()
Show runtime statistics for the current JVM.
|
void |
showSavedSearchResultPrimaryObjects(AttributeValueTable avt)
Show the Primary objects selected in the search results that were saved
as part of executing a query previously.
|
void |
showSavedSearchResults(AttributeValueTable avt)
Show the search results that were saved as part of executing
a query previously.
|
void |
showServerConfiguration(String scTag)
Show details about a ServerConfiguration.
|
void |
showServerConfiguration(String scTag,
String verboseVal)
Show details about a ServerConfiguration.
|
void |
showServerSpecification(String specTag)
Show details about a ServerSpecification.
|
void |
showServiceConfiguration(String scTag)
Show details about a ServiceConfiguration.
|
void |
showServiceConfiguration(String scTag,
String verboseVal)
Show details about a ServiceConfiguration.
|
void |
showServiceStatistics()
Show the current service statistics.
|
void |
showSessionCacheStatistics()
Show session cache statistics for the current session.
|
void |
showSessionState(String stateKey)
Show the session state value in the current session for
the specified session state key.
|
void |
showSimplePropertyTable(AttributeValueTable avt)
Shows a SimplePropertyTable.
|
void |
showSimplePropertyTableList(AttributeValueTable avt)
Shows a SimplePropertyTableList.
|
void |
showStorageGroup(String sgTag)
Shows details about a StorageGroup.
|
void |
showUser(String userName)
Shows information about a user.
|
void |
showValueDefault(AttributeValueTable avt)
Shows a ValueDefault.
|
void |
showValueDefault(String name)
Show details about a ValueDefault.
|
void |
showValueDomain(AttributeValueTable avt)
Shows a ValueDomain.
|
void |
showValueDomain(String name)
Show details about a ValueDomain.
|
void |
sleep(String sleepLength)
Sleep for the specified time period.
|
void |
syncContentIndex()
Trigger a sync of the content index.
|
void |
syncIndex(AttributeValueTable avt)
Sync the specified Oracle Text index by name.
|
void |
testJsonString(AttributeValueTable avt)
Perform operations on a JSON string.
|
protected DirectoryObject[] |
tokenToDirectoryObjectArray(LibrarySession sess,
String doTagNames)
Convert a token representing an array of DirectoryObjects into the
array of DirectoryObjects.
|
protected DirectoryUser[] |
tokenToDirectoryUserArray(LibrarySession sess,
String userTagNames)
Convert a token representing an array of DirectoryUsers into the
array of DirectoryUsers.
|
protected Document[] |
tokenToDocumentArray(LibrarySession sess,
String token)
Get an array of Documents from the specified array token containing
Document tags.
|
protected boolean |
transactionExists(String tag)
Check whether a Transaction has been registered for the specified tag.
|
void |
unregisterAuditEventType(String opTypeKey)
Unregisters an audit event type.
|
void |
unregisterCustomAuditType(String opCodeKey,
String targetClass)
Unregisters a custom audit event type.
|
void |
update(String objectTag,
String defTag)
Update a LibraryObject, using
update . |
void |
updateAccessControlList(AttributeValueTable avt)
Updates an AccessControlList.
|
void |
updateClassDomain(AttributeValueTable avt)
Updates a ClassDomain.
|
void |
updateDefinitionObject(String defobjTag,
String defTag)
Update a DefinitionObject.
|
void |
updateLibraryObject(AttributeValueTable avt)
Updates a LibraryObject.
|
protected void |
updateLibraryObject(AttributeValueTable avt,
LibraryObject existingObj)
Updates the specified LibraryObject with the updates in the specified table.
|
protected void |
updateLibraryObject(AttributeValueTable avt,
LibraryObjectDefinition def,
LibraryObject existingObj)
Updates the specified LibraryObject with the updates in the specified table.
|
void |
updateNodeConfiguration(AttributeValueTable avt)
Update a NodeConfiguration.
|
void |
updateNodeConfiguration(String ncTag,
String defTag)
Update a NodeConfiguration.
|
void |
updateServerConfiguration(AttributeValueTable avt)
Update a ServerConfiguration.
|
void |
updateServerConfiguration(String scTag,
String defTag)
Update a ServerConfiguration.
|
void |
updateServiceConfiguration(AttributeValueTable avt)
Update a ServiceConfiguration.
|
void |
updateServiceConfiguration(String svcTag,
String defTag)
Update a ServiceConfiguration.
|
void |
updateUserPassword(AttributeValueTable avt)
Updates the password for a User.
|
void |
updateValueDefault(AttributeValueTable avt)
Updates a ValueDefault.
|
void |
updateValueDomain(AttributeValueTable avt)
Updates a ValueDomain.
|
protected void |
verifyBusinessObjectTagNotExists(String defTag)
Verify that the specified BusinessObject tag does not already exist.
|
protected void |
verifyDefinitionTagNotExists(String defTag)
Verify that the specified definition tag does not already exist.
|
protected void |
verifyDefinitionWriteable(LibrarySession sess,
String tag)
Verify that a LibraryObjectDefinition identified by the specified tag
is writeable.
|
protected void |
verifyObjectTagNotExists(String objTag)
Verify that the specified object tag does not already exist.
|
void |
writeConsoleOutputString()
Force newline write to the console.
|
void |
writeConsoleOutputString(String prompt)
Write string to the console.
|
void |
writeDocumentContentToFile(String docTag,
String fileName)
Write a Document's content to a local file
|
protected String |
zeroPad(String str,
int padLength)
Pre-pad a string with 0's.
|
public static final String INDENT
public ScriptOperations(ScriptDriver driver)
driver
- the main script driver instancepublic ScriptDriver getDriver()
public PrintWriter getLogWriter()
public AuditDriverHelper getAuditDriverHelper()
public boolean getShowDates()
public boolean getStripNumbersFromAuditEventProperties()
ShowUtils.showAuditEvents
.protected PreparedSelectorGenerator constructPreparedSelectorGenerator() throws IfsException
IfsException
- if the operation failsprotected PreparedSelectorGenerator constructPreparedSelectorGenerator(String psGenClassName) throws IfsException
psGenClassName
- the fully qualified class nameIfsException
- if the operation failsprotected boolean isDomainScopeImpliedForSearch()
protected void showLibraryObject(Logger logger, LibraryObject obj, boolean showDates, String prefix) throws IfsException
Delegates to various more specific methods based on the type of object.
logger
- the log contextobj
- the LibraryObject to showshowDates
- whether to show date infoprefix
- the indentation prefixIfsException
- if the operation failspublic void setDefaultScriptOperationsClass(String className)
className
- the name of the default ops class to usepublic ScriptDriver runScript(String scriptName) throws IfsException
scriptName
- the path to the script file, relative to the
IncludePaths specifiedIfsException
- if the script file cannot be foundpublic void createSession(String sesstag, String username) throws IfsException
This registers a two-way lookup, enabling finding the session by the specified session tag, and the ability to determine the session tag from the LibrarySession.
sesstag
- the session tagusername
- the user nameIfsException
- if the operation failspublic void createSession(String sesstag, String username, String password) throws IfsException
This registers a two-way lookup, enabling finding the session by the specified session tag, and the ability to determine the session tag from the LibrarySession.
sesstag
- the session tagusername
- the user namepassword
- the user's passwordIfsException
- if the operation failspublic void setCurrentSession(String sesstag) throws IfsException
sesstag
- the session tagIfsException
- if the operation failspublic void removeSession(String sesstag) throws IfsException
This disconnects the session (identied by tag) and then removes it from the session lookup tables.
sesstag
- session tagIfsException
- if the operation failspublic void cloneCurrentSession(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void setDateFormat(String dateFormat) throws IfsException
dateFormat
- String to pass to a SimpleDateFormat constructorIfsException
- if the operation failspublic void setNumberFormat(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void setArrayTokenDelimiter(String delim) throws IfsException
delim
- the delimiter to use when parsing array tokensIfsException
- if the operation failspublic void setSubstitutionPrefix(String prefix)
public void showParsedArrayToken(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showParsedOperationString(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void setTimeZone(String tzString) throws IfsException
tzString
- Time zone ID (e.g. "America/Los_Angeles")IfsException
- if the operation failspublic void setLocale(String locString) throws IfsException
locString
- the string representation of the Locale
(e.g. "en_US")IfsException
- if the operation failspublic void showLocalizer() throws IfsException
IfsException
- if the operation failspublic void createGuestSession(String sesstag) throws IfsException
The current session remains intact. If able to create a guest session, that session becomes the current session.
sesstag
- session tagIfsException
- if the operation failspublic void createUserSession(String sesstag, String userName) throws IfsException
sesstag
- session tag for the newly created sessionuserName
- the user name to use for the new sessionIfsException
- if the operation failspublic void showUser(String userName) throws IfsException
userName
- user name or tagIfsException
- if the operation failspublic void showCurrentUser() throws IfsException
IfsException
- if the operation failspublic void beginTransaction(String trantag) throws IfsException
This transaction needs to be explicitly completed or aborted.
trantag
- the transaction tagIfsException
- if the operation failspublic void abortTransaction(String trantag) throws IfsException
trantag
- the transaction tagIfsException
- if the operation failspublic void completeTransaction(String trantag) throws IfsException
trantag
- the transaction tagIfsException
- if the operation failspublic void markCurrentAuditingId() throws IfsException
IfsException
- if the operation failspublic void setDefaultAuditEventSortClause(String sort) throws IfsException
sort
- sort specificationIfsException
- if the operation failspublic void processRawAuditEvents() throws IfsException
IfsException
- if the operation failspublic void handleEventPostedForCustomAuditHistory(String specTag) throws IfsException
This mimics what the EventHandlerAgent does when a new event is posted for a custom AuditSpecification. Only works for INTERNAL handlers.
specTag
- the AuditSpecification tagIfsException
- if the operation failspublic void handleTimerExpiredForCustomAuditHistory(String specTag) throws IfsException
This mimics what the EventHandlerAgent does when a timer expired notification is posted for a custom AuditSpecification. Only works for INTERNAL handlers.
specTag
- the AuditSpecification tagIfsException
- if the operation failspublic void notifyCustomAuditHistoryHandler(String specTag, String notifyType) throws IfsException
Notification can be for either a "event posted", "timer expired", or both. This mimics what the EventHandlerAgent does for processing a custom AuditSpecification. Only works for INTERNAL handlers.
specTag
- the AuditSpecification tagnotifyType
- type of notification; must be "EVENT_POSTED",
"TIMER_EXPIRED", or "BOTH"IfsException
- if the operation failspublic void postCustomAuditEvent(String opTypeKey, String targetTag, String domainTag) throws IfsException
opTypeKey
- operation type keytargetTag
- target objectdomainTag
- domain contextIfsException
- if the operation failspublic void postCustomAuditEvent(String opTypeKey, String targetTag, String domainTag, String auxString, String auxNumber, String auxObjsToken) throws IfsException
opTypeKey
- operation type keytargetTag
- target objectdomainTag
- domain contextauxString
- auxiliary stringauxNumber
- auxiliary numberauxObjsToken
- auxiliary objects tokenIfsException
- if the operation failspublic void postCustomAuditEvent(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void postSystemAuditEvent(String opTypeKey, String domainTag) throws IfsException
opTypeKey
- operation type keydomainTag
- domain contextIfsException
- if the operation failspublic void postSystemAuditEvent(String opTypeKey, String domainTag, String auxString, String auxNumber, String auxObjsToken) throws IfsException
opTypeKey
- operation type keydomainTag
- domain contextauxString
- auxiliary stringauxNumber
- auxiliary numberauxObjsToken
- auxiliary objects tokenIfsException
- if the operation failsprotected AuditEvent constructAuditEvent(LibraryObject target, String opTypeKey, String domainTag, String auxString, String auxNumber, String auxObjsToken) throws IfsException
target
- target objectopTypeKey
- operation type keydomainTag
- domain contextauxString
- auxiliary stringauxNumber
- auxiliary numberauxObjsToken
- auxiliary objects tokenIfsException
- if the operation failspublic void addAuditEventProperty(String propName, String propValue) throws IfsException
propName
- property keypropValue
- property valueIfsException
- if the operation failspublic void showGlobalAuditHistory(String verbose) throws IfsException
This shows all audit events in the global audit history
that were created after the ID established via a call
to markCurrentAuditingId
.
verbose
- should output be verbose?IfsException
- if the operation failspublic void showGlobalAuditHistory(String verbose, String sortClause) throws IfsException
This shows all audit events in the global audit history
that were created after the ID established via a call
to markCurrentAuditingId
.
verbose
- should output be verbose?sortClause
- how the events should be sortedIfsException
- if the operation failspublic void purgeGlobalAuditHistory(String domainTag) throws IfsException
domainTag
- the auditing domain context (typically root folder)IfsException
- if the operation failspublic void setGlobalAuditTypeList(String atlTag) throws IfsException
atlTag
- the AuditTypeList tagIfsException
- if the operation failspublic void identifyGlobalAuditTypeList(String atlTag) throws IfsException
atlTag
- the AuditTypeList tagIfsException
- if the operation failspublic void showGlobalAuditTypeList() throws IfsException
IfsException
- if the operation failspublic void showObjectAuditHistory(String objTag, String verbose) throws IfsException
This shows all audit events in the object audit history for the specified object.
objTag
- the object tagverbose
- should output be verbose?IfsException
- if the operation failspublic void showObjectAuditHistory(String objTag, String verbose, String sortClause) throws IfsException
This shows all audit events in the object audit history for the specified object.
objTag
- the object tagverbose
- should output be verbose?sortClause
- how the events should be sortedIfsException
- if the operation failspublic void showCustomAuditHistory(String specTag, String verbose) throws IfsException
This shows all audit events in the AuditSpecification
specified that were created after the ID established
via a call to markCurrentAuditingId
.
specTag
- the AuditSpecification tagverbose
- should output be verbose?IfsException
- if the operation failspublic void showCustomAuditHistory(String specTag, String verbose, String sortClause) throws IfsException
This shows all audit events in the AuditSpecification
specified that were created after the ID established
via a call to markCurrentAuditingId
.
specTag
- the AuditSpecification tagverbose
- should output be verbose?sortClause
- how the events should be sortedIfsException
- if the operation failspublic void searchAuditHistory(String specTag, String filterSpec) throws IfsException
Automatically includes a search condition to only include audit events
that were created after the ID established
via a call to markCurrentAuditingId
.
specTag
- the AuditSpecification tagfilterSpec
- search conditionIfsException
- if the operation failspublic void searchAuditHistory(String specTag, String filterSpec, String sortClause, String verbose) throws IfsException
Automatically includes a search condition to only include audit events
that were created after the ID established
via a call to markCurrentAuditingId
.
specTag
- the AuditSpecification tagfilterSpec
- search conditionsortClause
- how the events should be sortedverbose
- should output be verbose?IfsException
- if the operation failspublic void searchAuditHistory(String specTag, String targetsToken, String filterSpec, String sortClause, String maxCountValue, String verbose) throws IfsException
Automatically includes a search condition to only include audit events
that were created after the ID established
via a call to markCurrentAuditingId
.
Uses AuditSearchGenerator to check authorization if targets are specified.
specTag
- the AuditSpecification tagtargetsToken
- the event targets if anyfilterSpec
- search conditionsortClause
- how the events should be sortedmaxCountValue
- the maximum number of items to showverbose
- should output be verbose?IfsException
- if the operation failspublic void showAggregateAuditEventColumns(String specTag, String aggFunction, String columnNamesTag, String innerColNamesTag, String filterSpec, String sortClause, String verbose) throws IfsException
Automatically includes a search condition to only include audit events
that were created after the ID established
via a call to markCurrentAuditingId
.
specTag
- the AuditSpecification tagaggFunction
- the SQL aggregate function (can be null)columnNamesTag
- the audit table column names to selectinnerColNamesTag
- the audit table column names to use in the
inner select; if null, no inner select is usedfilterSpec
- search conditionsortClause
- how the events should be sortedverbose
- should output be verbose?IfsException
- if the operation failspublic void showAuditCertificates(String objTags, String verbose) throws IfsException
objTags
- set of object tagsverbose
- should output be verbose?IfsException
- if the operation failspublic void showAuditEventOperationTypes(String opTypeKeys) throws IfsException
opTypeKeys
- set of operation type keysIfsException
- if the operation failspublic void showAuditTypesForClass(String className) throws IfsException
className
- class name for which to show audit typeIfsException
- if the operation failspublic void showAuditTypesUnderClass(String className) throws IfsException
className
- class name for which to show audit typeIfsException
- if the operation failspublic void showAuditTypesForCreateOperations() throws IfsException
IfsException
- if the operation failspublic void showAuditTypesForFreeOperations() throws IfsException
IfsException
- if the operation failspublic void unregisterAuditEventType(String opTypeKey) throws IfsException
opTypeKey
- the audit event key to unregisterIfsException
- if the operation failspublic void registerAuditEventType(String opTypeKey, String targetCodeVal, String targetClass, String opCodeVal) throws IfsException
opTypeKey
- the audit event key to register
(e.g. "DOCUMENT_ACL_ASSIGNED")targetCodeVal
- the event target code value (integer);
caller must ensure that it matches of the values
defined in AuditEventTypeRegistrationstargetClass
- the target class name (e.g. "DOCUMENT")opCodeVal
- the operation code value (integer);
caller must ensure that it matches of the values
defined in AuditEventTypeRegistrationsIfsException
- if the operation failspublic void registerAuditEventType(String opTypeKey, String targetCodeVal, String targetClass, String opCodeVal, String createOrFreeVal) throws IfsException
opTypeKey
- the audit event key to register
(e.g. "DOCUMENT_ACL_ASSIGNED")targetCodeVal
- the event target code value (integer);
caller must ensure that it matches of the values
defined in AuditEventTypeRegistrationstargetClass
- the target class name (e.g. "DOCUMENT")opCodeVal
- the operation code value (integer);
caller must ensure that it matches of the values
defined in AuditEventTypeRegistrationscreateOrFreeVal
- the value of whether the event is a create
or free event, neither indicated by null (boolean)IfsException
- if the operation failspublic void showCustomAuditTypes() throws IfsException
IfsException
- if the operation failspublic void registerCustomAuditType(String opCodeKey, String targetClass) throws IfsException
This will generate a operation type key from the arguments specified. For example, if opCodeKey is specified as "FAXED" and targetClass is specified as "DOCUMENT", the new operation type "DOCUMENT__FAXED" will get registered. The double underscores is intentional, and is used to distinguish between custom and non-custom event types.
If the audit event type is already registered, the call has no effect, but will not result in an exception.
opCodeKey
- the operation code key; the suffix
for the new typetargetClass
- the target classIfsException
- if the operation failspublic void unregisterCustomAuditType(String opCodeKey, String targetClass) throws IfsException
If the specified audit event type is not registered, the call has no effect, but will not result in an exception.
opCodeKey
- the operation code key; the suffix
for the new typetargetClass
- the target classIfsException
- if the operation failspublic void registerAllNonCustomAuditTypes() throws IfsException
Subclasses (e.g. EcmScriptOperations) may override to register application-specific non-custom audit event types.
IfsException
- if the operation failspublic void createAuditTypeList(String atlTag, String atlDefTag) throws IfsException
atlTag
- tag for the newly created AuditTypeListatlDefTag
- definition tag to be used for new AuditTypeListIfsException
- if the operation failspublic void createAuditTypeList(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createAndApplyAuditTypeList(String specTag, String atlDefTag) throws IfsException
NOTE: this should not be used for the GlobalAuditSpecification.
specTag
- tag for the AuditSpecification to updateatlDefTag
- definition tag to be used for new AuditTypeListIfsException
- if the operation failspublic void identifyAuditTypeList(String tag, String atlName) throws IfsException
tag
- tag tag to use to identify the objectatlName
- name of the AuditTypeList to findIfsException
- if the operation failspublic void identifyAuditTypeListBySpecification(String tag, String specName) throws IfsException
tag
- tag to use to identify the ATLspecName
- name of the AuditSpecificationIfsException
- if the operation failspublic void showAuditTypeList(String objectTag) throws IfsException
objectTag
- tag for the audit list to be shownIfsException
- if the operation failspublic void showExpandedAuditTypeList(String objectTag, String className) throws IfsException
The list is expanded to include placeholder entries for all event type that are applicable to the specified class, but do not appear in the list of AuditTypeEntries for the AuditTypeList.
objectTag
- tag for the audit list to be shownclassName
- class name for which to include placeholder entriesIfsException
- if the operation failspublic void createAuditSpecification(String objectTag, String defTag) throws IfsException
objectTag
- tag for the objectdefTag
- definition tagIfsException
- if the operation failspublic void identifyAuditSpecification(String tag, String asName) throws IfsException
tag
- tag to use to identify the objectasName
- name of the AuditSpecification to findIfsException
- if the operation failsprotected AuditSpecification lookupAuditSpecification(LibrarySession sess, String tagOrName) throws IfsException
Try to lookup the object using the specified string as the object tag, and if that fails attempt a lookup by name.
sess
- handle to the current sessiontagOrName
- AuditSpecification tag or nameIfsException
- if the operation failspublic void identifyAuditHandlerSpecification(String tag, String specName) throws IfsException
tag
- tag to use to identify the objectspecName
- name of the AuditSpecificationIfsException
- if the operation failspublic void identifyAuditTargetSpecification(String tag, String specName) throws IfsException
tag
- tag to use to identify the objectspecName
- name of the AuditSpecificationIfsException
- if the operation failspublic void identifyGlobalAuditSpecification(String tag) throws IfsException
tag
- tag to use to identify the objectIfsException
- if the operation failspublic void identifyObjectAuditSpecification(String tag) throws IfsException
tag
- tag to use to identify the objectIfsException
- if the operation failspublic void showAuditSpecification(String objectTag) throws IfsException
objectTag
- tag for the audit specificationIfsException
- if the operation failspublic void showAllCustomAuditSpecifications() throws IfsException
IfsException
- if the operation failspublic void showGlobalAuditSpecification() throws IfsException
IfsException
- if the operation failspublic void showObjectAuditSpecification() throws IfsException
IfsException
- if the operation failspublic void defineAuditTypeListDefinition(String defTag) throws IfsException
defTag
- the tag to use to identify the definitionIfsException
- if the operation failspublic void defineAuditTypeListDefinition(String defTag, String name) throws IfsException
defTag
- the tag to use to identify the definitionname
- the name to use for the new AuditTypeListIfsException
- if the operation failspublic void addAuditTypesForClass(String defTag, String className, String mode) throws IfsException
defTag
- the tag to use to identify the definitionclassName
- class name whose event types are to be addedmode
- success mode value to be added for each typeIfsException
- if the operation failspublic void addAuditType(String defTag, String eventType, String mode) throws IfsException
defTag
- the tag to use to identify the definitioneventType
- the event type to be addedmode
- success mode value to be added for each typeIfsException
- if the operation failspublic void defineAuditTargetSpecificationDefinition(String defTag, String target, String descendOpt) throws IfsException
defTag
- the tag to use to identify the definitiontarget
- the target objectdescendOpt
- the descendents optionIfsException
- if the operation failspublic void defineAuditHandlerSpecificationDefinition(String defTag, String handlerClass, String timerPeriod, String timerBaseTime, String notifiedOnEvent) throws IfsException
Defaults the handler type and does not use a specific Agent identifier.
defTag
- the tag to use to identify the definitionhandlerClass
- the fully qualified handler classtimerPeriod
- the timer period (can be null)timerBaseTime
- the base time of day (can be null)notifiedOnEvent
- whether the handler is to be notified
upon a new eventIfsException
- if the operation failspublic void defineAuditHandlerSpecificationDefinition(String defTag, String handlerClass, String timerPeriod, String timerBaseTime, String notifiedOnEvent, String handlerType, String rtClassif) throws IfsException
defTag
- the tag to use to identify the definitionhandlerClass
- the fully qualified handler classtimerPeriod
- the timer period (can be null)timerBaseTime
- the base time of day (can be null)notifiedOnEvent
- whether the handler is to be notified
upon a new eventhandlerType
- the handler type (can be null)rtClassif
- the runtime classificationIfsException
- if the operation failspublic void addStringHandlerProperty(String defTag, String propName, String propValue) throws IfsException
addDefinitionProperty
defTag
- the tag to use to identify the definitionpropName
- the property namepropValue
- the property valueIfsException
- if the operation failspublic void addBooleanHandlerProperty(String defTag, String propName, String propValue) throws IfsException
addDefinitionProperty
defTag
- the tag to use to identify the definitionpropName
- the property namepropValue
- the property valueIfsException
- if the operation failspublic void addIntegerHandlerProperty(String defTag, String propName, String propValue) throws IfsException
addDefinitionProperty
defTag
- the tag to use to identify the definitionpropName
- the property namepropValue
- the property valueIfsException
- if the operation failspublic void addLongHandlerProperty(String defTag, String propName, String propValue) throws IfsException
addDefinitionProperty
defTag
- the tag to use to identify the definitionpropName
- the property namepropValue
- the property valueIfsException
- if the operation failspublic void addStringArrayHandlerProperty(String defTag, String propName, String propValue) throws IfsException
addDefinitionProperty
defTag
- the tag to use to identify the definitionpropName
- the property namepropValue
- the property valueIfsException
- if the operation failspublic void createAuditSpecification(String specName, String atlDefTag, String atsDefTag, String ahsDefTag, String specDesc) throws IfsException
specName
- the AuditSpecification nameatlDefTag
- the AuditTypeList definition tagatsDefTag
- the AuditTargetSpecification definition tagahsDefTag
- the AuditHandlerSpecification definition tagspecDesc
- the AuditSpecification descriptionIfsException
- if the operation failspublic void createAuditSpecification(String specName, String atlDefTag, String atsDefTag, String ahsDefTag, String specDesc, String userSearch) throws IfsException
specName
- the AuditSpecification nameatlDefTag
- the AuditTypeList definition tagatsDefTag
- the AuditTargetSpecification definition tagahsDefTag
- the AuditHandlerSpecification definition tagspecDesc
- the AuditSpecification descriptionuserSearch
- whether the AuditSpecification history
should be searchable by regular usersIfsException
- if the operation failspublic void createAuditSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createEntireAuditSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void activateAuditSpecification(String specName) throws IfsException
specName
- the AuditSpecification nameIfsException
- if the operation failspublic void deactivateAuditSpecification(String specName) throws IfsException
specName
- the AuditSpecification nameIfsException
- if the operation failspublic void activateAuditHandlerSpecification(String specName) throws IfsException
specName
- the AuditSpecification nameIfsException
- if the operation failspublic void deactivateAuditHandlerSpecification(String specName) throws IfsException
specName
- the AuditSpecification nameIfsException
- if the operation failspublic void deleteAuditSpecification(String specName) throws IfsException
If no AuditSpecification is found with the specified name, displays a log message indicating this without throwing an exception.
specName
- the AuditSpecification nameIfsException
- if the operation failsprotected Folder lookupAuditDomainContext(LibrarySession sess, String tag) throws IfsException
Simply return the root folder, regardless of the tag value specified. This behavior may change in the future, if multiple domain concepts are possible in CORE.
sess
- the session contexttag
- the tag that identified the Domain objectIfsException
- if the operation failsprotected void setAuditingStartingId(long auditId)
auditId
- the highest Audit ID that currently
exists.protected long getAuditingStartingId()
protected AuditEventDispatcher getAuditEventDispatcher(LibrarySession sess) throws IfsException
sess
- the sessionIfsException
- if the operation failspublic void createServerSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyServerSpecification(String specTag, String specName) throws IfsException
specTag
- the ServerSpecification tagspecName
- the ServerSpecification nameIfsException
- if the operation failspublic void showServerSpecification(String specTag) throws IfsException
specTag
- the ServerSpecification tagIfsException
- if the operation failspublic void showAllServerSpecifications() throws IfsException
IfsException
- if the operation failspublic void activateServerSpecification(String specName) throws IfsException
specName
- the ServerSpecification nameIfsException
- if the operation failspublic void deactivateServerSpecification(String specName) throws IfsException
specName
- the ServerSpecification nameIfsException
- if the operation failspublic void createServiceConfiguration(String tag, String name, String likeTag, String defTag) throws IfsException
tag
- the ServiceConfiguration tag to use for the new objectname
- the ServiceConfiguration namelikeTag
- a ServiceConfiguration tag identifying the SC that the
new object will be "like"defTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void createServiceConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyServiceConfiguration(String scTag, String scName) throws IfsException
scTag
- the ServiceConfiguration tagscName
- the ServiceConfiguration nameIfsException
- if the operation failspublic void showServiceConfiguration(String scTag) throws IfsException
scTag
- the ServiceConfiguration tagIfsException
- if the operation failspublic void showServiceConfiguration(String scTag, String verboseVal) throws IfsException
scTag
- the ServiceConfiguration tagverboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void showAllServiceConfigurations() throws IfsException
IfsException
- if the operation failspublic void showAllServiceConfigurations(String verboseVal) throws IfsException
verboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void updateServiceConfiguration(String svcTag, String defTag) throws IfsException
svcTag
- the tag that identifies the ServiceConfigurationdefTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void updateServiceConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void freeServiceConfiguration(String svcTag) throws IfsException
svcTag
- the ServiceConfiguration tagIfsException
- if the operation failspublic void freeServiceConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createNodeConfiguration(String tag, String name, String ncSuperTag, String active, String defTag) throws IfsException
tag
- the NodeConfiguration tag to use for the new objectname
- the NodeConfiguration namencSuperTag
- a NodeConfiguration tag identifying the NC that the
new object will extendactive
- is the new Node active? (boolean)defTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void createNodeConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void addManagedServiceDeclaration(String serviceName, String svcName, String activeVal) throws IfsException
createNodeConfiguration
operation.
The Service declaration specified in this operation is saved into a list which is used in the next createNodeConfiguration operation. The list is then implicitly cleared.
serviceName
- the Service namesvcName
- the ServiceConfiguration nameactiveVal
- boolean value which indicates whether the service
is activeIfsException
- if the operation failspublic void addManagedServiceDeclaration(ScriptOperations.ServiceDefinition serviceDef) throws IfsException
createNodeConfiguration
operation.
The Service declaration specified in this operation is saved into a list which is used in the next createNodeConfiguration operation. The list is then implicitly cleared.
serviceDef
- the Service DeclarationIfsException
- if the operation failspublic ScriptOperations.ServiceDefinition[] getManagedServiceDeclarations() throws IfsException
addManagedServiceDeclaration
.
The list is implicitly cleared by this call.
IfsException
- if the operation failspublic void addManagedServerDeclaration(String serverName, String scName, String serviceName, String activeVal, String startedVal, String priorityVal) throws IfsException
createNodeConfiguration
operation.
The Server declaration specified in this operation is saved into a list which is used in the next createNodeConfiguration operation. The list is then implicitly cleared.
serverName
- the Server name, e.g. QuotaAgentscName
- the ServerConfiguration name,
e.g. QuotaAgentConfigurationserviceName
- the service name; must match the service name
of one of the managed ServicesactiveVal
- boolean value which indicates whether the server
is activestartedVal
- boolean value which indicates whether the server
should be initially startedpriorityVal
- the initial Thread priority for the ServerIfsException
- if the operation failspublic void addManagedServerDeclaration(AttributeValueTable avt) throws IfsException
createNodeConfiguration
operation.
The Server declaration specified in this operation is saved into a list which is used in the next createNodeConfiguration operation. The list is then implicitly cleared.
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void addManagedServerDeclaration(ScriptOperations.ServerDefinition serverDef) throws IfsException
createNodeConfiguration
operation.
The Server declaration specified in this operation is saved into a list which is used in the next createNodeConfiguration operation. The list is then implicitly cleared.
serverDef
- the Server DeclarationIfsException
- if the operation failspublic ScriptOperations.ServerDefinition[] getManagedServerDeclarations() throws IfsException
addManagedServerDeclaration
.
The list is implicitly cleared by this call.
IfsException
- if the operation failspublic void identifyNodeConfiguration(String ncTag, String ncName) throws IfsException
ncTag
- the NodeConfiguration tagncName
- the NodeConfiguration nameIfsException
- if the operation failspublic void showNodeConfiguration(String ncTag) throws IfsException
ncTag
- the NodeConfiguration tagIfsException
- if the operation failspublic void showNodeConfiguration(String ncTag, String verboseVal) throws IfsException
ncTag
- the NodeConfiguration tagverboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void showAllNodeConfigurations() throws IfsException
IfsException
- if the operation failspublic void showAllNodeConfigurations(String verboseVal) throws IfsException
verboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void updateNodeConfiguration(String ncTag, String defTag) throws IfsException
ncTag
- the tag that identifies the NodeConfigurationdefTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void updateNodeConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void removeServiceFromNodeConfiguration(String ncTag, String svName) throws IfsException
ncTag
- the tag that identifies the NodeConfigurationsvName
- the service name to removeIfsException
- if the operation failspublic void removeServerFromNodeConfiguration(String ncTag, String sName) throws IfsException
ncTag
- the tag that identifies the NodeConfigurationsName
- the server name to removeIfsException
- if the operation failspublic void freeNodeConfiguration(String ncTag) throws IfsException
ncTag
- the NodeConfiguration tagIfsException
- if the operation failspublic void freeNodeConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createServerConfiguration(String tag, String name, String likeTag, String defTag) throws IfsException
tag
- the ServerConfiguration tag to use for the new objectname
- the ServerConfiguration namelikeTag
- a ServerConfiguration tag identifying the SC that the
new object will be "like"defTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void createServerConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyServerConfiguration(String scTag, String scName) throws IfsException
scTag
- the ServerConfiguration tagscName
- the ServerConfiguration nameIfsException
- if the operation failspublic void showServerConfiguration(String scTag) throws IfsException
scTag
- the ServerConfiguration tagIfsException
- if the operation failspublic void showServerConfiguration(String scTag, String verboseVal) throws IfsException
scTag
- the ServerConfiguration tagverboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void showAllServerConfigurations() throws IfsException
IfsException
- if the operation failspublic void showAllServerConfigurations(String verboseVal) throws IfsException
verboseVal
- boolean value that indcicates verbosity of outputIfsException
- if the operation failspublic void updateServerConfiguration(String scTag, String defTag) throws IfsException
scTag
- the tag that identifies the ServerConfigurationdefTag
- tag identifying the Definition holding the propertiesIfsException
- if the operation failspublic void updateServerConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void freeServerConfiguration(String scTag) throws IfsException
scTag
- the ServerConfiguration tagIfsException
- if the operation failspublic void freeServerConfiguration(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected AttributeValue getAclValueForConfigurationObjects(LibrarySession sess) throws IfsException
sess
- the session contextIfsException
- if the operation failsprotected Hashtable convertPropertyDefinitionsToHashtable(PropertyDefinition[] pbDefs) throws IfsException
pbDefs
- the PropertyDefinitionsIfsException
- if the operation failspublic void identifyByAttribute(String identifiedTag, String objectTag, String attrName) throws IfsException
identifiedTag
- the tag that will identify the object
referenced by the attribute of the specified
objectobjectTag
- the specified object tagattrName
- the name of the attributeIfsException
- if the operation failspublic void showAttribute(String objectTag, String attrName) throws IfsException
objectTag
- the specified object tagattrName
- the name of the attributeIfsException
- if the operation failspublic void createUser(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected void setUserCreateOptions(AttributeValueTable avt, Hashtable ht) throws IfsException
avt
- the named arguments specified in createUserht
- the options HashtableIfsException
- if the operation failspublic void updateUserPassword(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void deleteUser(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected void setUserDeleteOptions(AttributeValueTable avt, Hashtable ht) throws IfsException
The keys supported by this operation:
avt
- the named arguments specified in deleteUserht
- the options HashtableIfsException
- if the operation failspublic void identifyUser(String userTag, String userName) throws IfsException
userTag
- the tag to be used for the useruserName
- the user nameIfsException
- if the operation failspublic void identifySystemUser(String sysTag) throws IfsException
sysTag
- the tag to be used for the SYSTEM userIfsException
- if the operation failspublic void identifyGuestUser(String guestTag) throws IfsException
guestTag
- the tag to be used for the GUEST userIfsException
- if the operation failspublic void identifyPrimaryUserProfile(String pupTag, String userName) throws IfsException
pupTag
- the tag to be used for the PrimaryUserProfileuserName
- the user name or tagIfsException
- if the operation failspublic void setUserDefaultAcl(String aclName, String userName) throws IfsException
aclName
- the new AccessControlListuserName
- the name of the userIfsException
- if opertaion failspublic void createExtendedUserProfile(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createGroup(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyGroup(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void addGroupMember(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void addGroupMembers(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void removeGroupMembers(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyWorldGroup(String worldTag) throws IfsException
worldTag
- the tag to be used for the WORLD groupIfsException
- if the operation failspublic void showGroup(String groupTag) throws IfsException
groupTag
- the target group tagIfsException
- if the operation failspublic void findOrCreateCompositeGroup(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyCompositeGroup(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showCompositeGroup(String groupTag) throws IfsException
groupTag
- the CompositeGroup tagIfsException
- if the operation failspublic void showServiceStatistics() throws IfsException
This will show the following statistics:
IfsException
- if the operation failspublic void showSessionCacheStatistics() throws IfsException
IfsException
- if the operation failspublic void showRuntimeStatistics() throws IfsException
IfsException
- if the operation failspublic void setRepositoryParameter(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void deleteRepositoryParameter(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showRepositoryParameter(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showAllRepositoryParameters() throws IfsException
IfsException
- if the operation failspublic void identifyInstancePropertyBundle(String pbTag) throws IfsException
pbTag
- the tag to useIfsException
- if the operation failspublic void showInstancePropertyBundle() throws IfsException
IfsException
- if the operation failspublic void showInstanceProperty(String key) throws IfsException
key
- the instance property keyIfsException
- if the operation failspublic void setInstanceProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void setStringInstanceProperty(String key, String value) throws IfsException
setInstanceProperty
key
- the instance property keyvalue
- the instance property value (representing a String)IfsException
- if the operation failspublic void setBooleanInstanceProperty(String key, String value) throws IfsException
setInstanceProperty
key
- the instance property keyvalue
- the instance property value (representing a boolean)IfsException
- if the operation failspublic void setIntegerInstanceProperty(String key, String value) throws IfsException
setInstanceProperty
key
- the instance property keyvalue
- the instance property value (representing an integer)IfsException
- if the operation failspublic void setLongInstanceProperty(String key, String value) throws IfsException
setInstanceProperty
key
- the instance property keyvalue
- the instance property value (representing a long)IfsException
- if the operation failspublic void setPublicObjectInstanceProperty(String key, String tag) throws IfsException
setInstanceProperty
key
- the instance property keytag
- the tag that identifies the PublicObjectIfsException
- if the operation failspublic void setSystemObjectInstanceProperty(String key, String tag) throws IfsException
setInstanceProperty
key
- the instance property keytag
- the tag that identifies the SystemObjectIfsException
- if the operation failspublic void createNamedPropertyBundle(AttributeValueTable avt) throws IfsException
A named PropertyBundle is a PropertyBundle that is also the value of a ValueDefault. The name chosen for the named PropertyBundle will also be the name of the ValueDefault, which must be unique across the entire instance. This is an older way of accomplishing this unique naming and identification; in later years, the "Domain PropertyBundle" was used to hold the items, using that PropertyBundle's namespace to ensure easy lookup. The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyNamedPropertyBundle(String tag, String name) throws IfsException
tag
- the tag to usename
- the Named PropertyBundle nameIfsException
- if the operation failspublic void showNamedPropertyBundle(String name) throws IfsException
name
- the Named PropertyBundle nameIfsException
- if the operation failspublic void freeNamedPropertyBundle(String name) throws IfsException
name
- the Named PropertyBundle nameIfsException
- if the operation failspublic void freeNamedPropertyBundle(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createPropertyBundle(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void setProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void removeProperties(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyObjectProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showPropertyBundle(String pbTag) throws IfsException
pbTag
- the tag that identifies the PropertyBundleIfsException
- if the operation failspublic void showProperty(String pbTag, String key) throws IfsException
pbTag
- the tag that identifies the PropertyBundlekey
- the property keyIfsException
- if the operation failspublic void setObjectProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void setClassProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void identifyPropertyBundle(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createSimplePropertyTable(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void showSimplePropertyTable(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void createSimplePropertyTableList(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void showSimplePropertyTableList(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void showSessionState(String stateKey) throws IfsException
stateKey
- the session state keyIfsException
- if the operation failspublic void setStringSessionState(String stateKey, String value) throws IfsException
stateKey
- the session state keyvalue
- the session state key valueIfsException
- if the operation failspublic void setLongSessionState(String stateKey, String value) throws IfsException
stateKey
- the session state keyvalue
- the session state key value (numeric)IfsException
- if the operation failspublic void removeSessionState(String stateKey) throws IfsException
stateKey
- the session state keyIfsException
- if the operation failspublic void createApplicationToken(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createApplicationToken(String tokenTag, String tokenDefTag) throws IfsException
tokenTag
- the ApplicationToken tagtokenDefTag
- the ApplicationToken definition tagIfsException
- if the operation failspublic void identifyApplicationToken(String tokenTag, String tokenValue) throws IfsException
tokenTag
- the tag to be used for the ApplicationTokentokenValue
- the ApplicationToken token valueIfsException
- if the operation failspublic void showApplicationToken(String tkTag) throws IfsException
tkTag
- the ApplicationToken tagIfsException
- if the operation failspublic void showApplicationTokens() throws IfsException
IfsException
- if the operation failspublic void createRetentionPolicy(String rpTag, String defTag) throws IfsException
rpTag
- the RetentionPolicy tagdefTag
- the tag identifying the Definition describing the
RetentionPolicy to createIfsException
- if the operation failspublic void identifyRetentionPolicy(String rpTag, String rpName) throws IfsException
rpTag
- the RetentionPolicy tagrpName
- the RetentionPolicy nameIfsException
- if the operation failspublic void showRetentionPolicy(String rpTag) throws IfsException
rpTag
- the RetentionPolicy tagIfsException
- if the operation failspublic void showAllRetentionPolicies() throws IfsException
IfsException
- if the operation failspublic void showAllExternalRetentionPolicies() throws IfsException
IfsException
- if the operation failspublic void createLifecyclePolicy(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createLifecyclePolicy(String lpTag, String defTag) throws IfsException
lpTag
- the LifecyclePolicy tagdefTag
- the tag identifying the Definition describing the
LifecyclePolicy to createIfsException
- if the operation failspublic void identifyLifecyclePolicy(String lpTag, String lpName) throws IfsException
lpTag
- the LifecyclePolicy taglpName
- the LifecyclePolicy nameIfsException
- if the operation failspublic void showLifecyclePolicy(String lpTag) throws IfsException
lpTag
- the LifecyclePolicy tagIfsException
- if the operation failspublic void showLifecyclePolicyEntry(String lpeTag) throws IfsException
lpeTag
- the LifecyclePolicyEntry tagIfsException
- if the operation failspublic void showAllLifecyclePolicies() throws IfsException
IfsException
- if the operation failspublic void createLifecyclePolicyEntryDefinition(String defTag, String lpeName, String lpeDesc, String actionTag, String timePeriod, String execPeriod, String execBaseTime) throws IfsException
defTag
- the LifecyclePolicyEntry definition taglpeName
- the LifecyclePolicyEntry instance namelpeDesc
- the LifecyclePolicyEntry instance descriptionactionTag
- the tag for the LifecyclePolicyActionSpecificationtimePeriod
- the time period for the lifecycle action (e.g. "60D")execPeriod
- the frequency of execution for the action (e.g. "8H")execBaseTime
- the base time-of-day for execution (e.g. "22:30:00")IfsException
- if the operation failspublic void addLifecyclePolicyEntryDefinition(String lpDefTag, String lpeDefTag) throws IfsException
lpDefTag
- the LifecyclePolicy definition taglpeDefTag
- the LifecyclePolicyEntry definition tagIfsException
- if the operation failspublic void addLifecyclePolicyEntryDefinition(String defTag, String lpeName, String lpeDesc, String actionTag, String timePeriod, String execPeriod, String execBaseTime) throws IfsException
defTag
- the LifecyclePolicy definition taglpeName
- the LifecyclePolicyEntry instance namelpeDesc
- the LifecyclePolicyEntry instance descriptionactionTag
- the tag for the LifecyclePolicyActionSpecificationtimePeriod
- the time period for the lifecycle action (e.g. "60D")execPeriod
- the frequency of execution for the action (e.g. "8H")execBaseTime
- the base time-of-day for execution (e.g. "22:30:00")IfsException
- if the operation failspublic void identifyLifecyclePolicyEntry(String lpeTag, String lpTag, String lpeSeq) throws IfsException
lpeTag
- the LifecyclePolicyEntry tag to use for the
newly identified objectlpTag
- the LifecyclePolicy taglpeSeq
- the LifecyclePolicyEntry sequence valueIfsException
- if the operation failspublic void createLifecycleDateRuleSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createLifecycleDateRuleSpecification(String specTag, String defTag) throws IfsException
specTag
- the LifecycleDateRuleSpecification tagdefTag
- the tag identifying the Definition describing the
LifecycleDateRuleSpecification to createIfsException
- if the operation failspublic void identifyLifecycleDateRuleSpecification(String specTag, String specName) throws IfsException
specTag
- the LifecycleDateRuleSpecification tagspecName
- the LifecycleDateRuleSpecification nameIfsException
- if the operation failspublic void showLifecycleDateRuleSpecification(String specTag) throws IfsException
specTag
- the LifecycleDateRuleSpecification tagIfsException
- if the operation failspublic void showAllLifecycleDateRuleSpecifications() throws IfsException
IfsException
- if the operation failspublic void createLifecyclePolicyActionSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createLifecyclePolicyActionSpecification(String specTag, String defTag) throws IfsException
specTag
- the LifecyclePolicyActionSpecification tagdefTag
- the tag identifying the Definition describing the
LifecyclePolicyActionSpecification to createIfsException
- if the operation failspublic void identifyLifecyclePolicyActionSpecification(String specTag, String specName) throws IfsException
specTag
- the LifecyclePolicyActionSpecification tagspecName
- the LifecyclePolicyActionSpecification nameIfsException
- if the operation failspublic void showLifecyclePolicyActionSpecification(String specTag) throws IfsException
specTag
- the LifecyclePolicyActionSpecification tagIfsException
- if the operation failspublic void showAllLifecyclePolicyActionSpecifications() throws IfsException
IfsException
- if the operation failspublic void showDocumentsWithLifecyclePolicy(String lpTag, String batchValue) throws IfsException
sort by name, ID
lpTag
- the LifecyclePolicy tagbatchValue
- the maximum number of items to showIfsException
- if the operation failspublic void assignLifecyclePolicyByCategory(String lpTag, String className) throws IfsException
Performs a best-effort assignment of LifecyclePolicy for each document that qualifies. Shows all failures in the log.
lpTag
- the LifecyclePolicy tagclassName
- the Category class nameIfsException
- if the operation failspublic void deleteAllCategories(String className) throws IfsException
className
- the Category class nameIfsException
- if the operation failspublic void identifyMessageList(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyMessageEntry(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showMessageList(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showMessageEntry(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createMedia(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createMedia(String mediaTag, String defTag) throws IfsException
mediaTag
- the Media tagdefTag
- the tag identifying the Definition describing the
Media to createIfsException
- if the operation failspublic void identifyMedia(String mediaTag, String mediaName) throws IfsException
mediaTag
- the Media tagmediaName
- the Media nameIfsException
- if the operation failspublic void showMedia(String mediaTag) throws IfsException
mediaTag
- the Media tagIfsException
- if the operation failspublic void showAllMedias() throws IfsException
IfsException
- if the operation failspublic void showDefaultMedia() throws IfsException
IfsException
- if the operation failspublic void setDefaultMedia(String mediaTag) throws IfsException
mediaTag
- the Media tagIfsException
- if the operation failspublic void syncContentIndex() throws IfsException
IfsException
- if the operation failspublic void extractContentForIndexing() throws IfsException
IfsException
- if the operation failspublic void syncIndex(AttributeValueTable avt) throws IfsException
This operation only works in Oracle installations.
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void initializeManualTextIndexingRetainedEvents(AttributeValueTable avt) throws IfsException
Creates the database objects used by the ManualTextIndexingRetainedEvent class. The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void processManualTextIndexingRetainedEvents(AttributeValueTable avt) throws IfsException
This simulates the task performed by the ManualTextIndexingAgent. The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showMediaLookupByFormatMappings() throws IfsException
IfsException
- if the operation failspublic void setMediaLookupByFormat(String formatName, String mediaTag) throws IfsException
formatName
- the Format namemediaTag
- the Media tagIfsException
- if the operation failspublic void replaceMediaLookupsByFormat(String currMediaTag, String newMediaTag) throws IfsException
currMediaTag
- the current Media (to be replaced)newMediaTag
- the new Media that replaces to current MediaIfsException
- if the operation failspublic void createCustomMediaDriverSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createCustomMediaDriverSpecification(String cmdsTag, String defTag) throws IfsException
cmdsTag
- the CustomMediaDriverSpecification tagdefTag
- the tag identifying the Definition describing the
CustomMediaDriverSpecification to createIfsException
- if the operation failspublic void identifyCustomMediaDriverSpecification(String cmdsTag, String cmdsName) throws IfsException
cmdsTag
- the CustomMediaDriverSpecification tagcmdsName
- the CustomMediaDriverSpecification nameIfsException
- if the operation failspublic void showCustomMediaDriverSpecification(String cmdsTag) throws IfsException
cmdsTag
- the CustomMediaDriverSpecification tagIfsException
- if the operation failspublic void showAllCustomMediaDriverSpecifications() throws IfsException
IfsException
- if the operation failspublic void createStorageGroup(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createStorageGroup(String sgTag, String defTag) throws IfsException
sgTag
- the StorageGroup tagdefTag
- the tag identifying the Definition describing the
StorageGroup to createIfsException
- if the operation failspublic void identifyStorageGroup(String sgTag, String sgName) throws IfsException
sgTag
- the StorageGroup tagsgName
- the StorageGroup nameIfsException
- if the operation failspublic void showStorageGroup(String sgTag) throws IfsException
sgTag
- the StorageGroup tagIfsException
- if the operation failspublic void showAllStorageGroups() throws IfsException
IfsException
- if the operation failspublic void showDefaultStorageGroup() throws IfsException
IfsException
- if the operation failspublic void setDefaultStorageGroup(String sgTag) throws IfsException
sgTag
- the StorageGroup tagIfsException
- if the operation failspublic void createSystemLockObject(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void identifySystemLockObject(String sloTag, String sloName) throws IfsException
sloTag
- the SystemLockObject tagsloName
- the SystemLockObject nameIfsException
- if the operation failspublic void createQueue(AttributeValueTable avt) throws IfsException
avt
- the named argumentsIfsException
- if the operation failspublic void identifyQueue(String quTag, String quName) throws IfsException
quTag
- the Queue tagquName
- the Queue nameIfsException
- if the operation failspublic void identifyQueueTypeMapBundle(String pbTag, String quName) throws IfsException
pbTag
- the PropertyBundle tagquName
- the Queue nameIfsException
- if the operation failspublic void createAutoFolderingActionSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createAutoFolderingActionSpecification(String specTag, String defTag) throws IfsException
specTag
- the AutoFolderingActionSpecification tagdefTag
- the tag identifying the Definition describing the
AutoFolderingActionSpecification to createIfsException
- if the operation failspublic void identifyAutoFolderingActionSpecification(String specTag, String specName) throws IfsException
specTag
- the AutoFolderingActionSpecification tagspecName
- the AutoFolderingActionSpecification nameIfsException
- if the operation failspublic void showAutoFolderingActionSpecification(String specTag) throws IfsException
specTag
- the AutoFolderingActionSpecification tagIfsException
- if the operation failspublic void showAllAutoFolderingActionSpecifications() throws IfsException
IfsException
- if the operation failspublic void createOperationActionSpecification(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createOperationActionSpecification(String specTag, String defTag) throws IfsException
specTag
- the OperationActionSpecification tagdefTag
- the tag identifying the Definition describing the
OperationActionSpecification to createIfsException
- if the operation failspublic void identifyOperationActionSpecification(String specTag, String specName) throws IfsException
specTag
- the OperationActionSpecification tagspecName
- the OperationActionSpecification nameIfsException
- if the operation failspublic void activateOperationActionSpecification(String tagOrName) throws IfsException
tagOrName
- the OperationActionSpecification tag or nameIfsException
- if the operation failspublic void deactivateOperationActionSpecification(String tagOrName) throws IfsException
tagOrName
- the OperationActionSpecification tag or nameIfsException
- if the operation failspublic void showOperationActionSpecification(String tagOrName) throws IfsException
tagOrName
- the OperationActionSpecification tag or nameIfsException
- if the operation failspublic void showAllOperationActionSpecifications() throws IfsException
IfsException
- if the operation failspublic void showGlobalOperationActionSpecifications() throws IfsException
IfsException
- if the operation failspublic void setGlobalOperationActionSpecifications(String oasArrayToken) throws IfsException
oasArrayToken
- the array of OperationActionSpecification namesIfsException
- if the operation failspublic void addGlobalOperationActionSpecification(String specName) throws IfsException
specName
- the OperationActionSpecification nameIfsException
- if the operation failspublic void saveGlobalOperationActionSpecification() throws IfsException
IfsException
- if the operation failspublic void restoreGlobalOperationActionSpecification() throws IfsException
IfsException
- if the operation failspublic void deactivateUnknownOperationActionSpecifications() throws IfsException
Used during upgrade and other schema management operations where custom OperationActions may not be present in the class path used.
IfsException
- if the operation failspublic void reactivateUnknownOperationActionSpecifications() throws IfsException
deactivateUnknownOperationActionSpecification
.IfsException
- if the operation failspublic void createDefinitionObject(String defobjTag, String defTag) throws IfsException
defobjTag
- the DefinitionObject tagdefTag
- the tag identifying the Definition to saveIfsException
- if the operation failspublic void updateDefinitionObject(String defobjTag, String defTag) throws IfsException
defobjTag
- the DefinitionObject tag, identifying an existing
DefinitionObjectdefTag
- the tag identifying the Definition to saveIfsException
- if the operation failspublic void showDefinitionObject(String defobjTag) throws IfsException
defobjTag
- the DefinitionObject tagIfsException
- if the operation failspublic void createDefinitionFromObject(String defTag, String objTag) throws IfsException
defTag
- the tag identifying the converted DefinitionobjTag
- the LibraryObject tagIfsException
- if the operation failspublic void createDefinitionFromDefinitionObject(String defTag, String defobjTag) throws IfsException
defTag
- the tag identifying the converted DefinitiondefobjTag
- the DefinitionObject tagIfsException
- if the operation failspublic void createFormat(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyFormat(String formatTag, String formatName) throws IfsException
formatTag
- the Format tagformatName
- the Format nameIfsException
- if the operation failspublic void showFormat(String formatName) throws IfsException
formatName
- the Format name or tagIfsException
- if the operation failspublic void showAllFormats() throws IfsException
IfsException
- if the operation failspublic void freeFormat(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createPermissionBundle(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyPermissionBundle(String tag, String name) throws IfsException
tag
- the tag to usename
- the PermissionBundle nameIfsException
- if the operation failspublic void showPermissionBundle(String name) throws IfsException
name
- the PermissionBundle nameIfsException
- if the operation failspublic void showAllPermissionBundles() throws IfsException
IfsException
- if the operation failspublic void freePermissionBundle(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createExtendedPermission(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyExtendedPermission(String tag, String name) throws IfsException
tag
- the tag to usename
- the ExtendedPermission nameIfsException
- if the operation failspublic void showExtendedPermission(String name) throws IfsException
name
- the ExtendedPermission nameIfsException
- if the operation failspublic void showAllExtendedPermissions() throws IfsException
IfsException
- if the operation failspublic void freeExtendedPermission(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createPolicy(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyPolicy(String tag, String name) throws IfsException
tag
- the tag to usename
- the Policy nameIfsException
- if the operation failspublic void showPolicy(String name) throws IfsException
name
- the Policy nameIfsException
- if the operation failspublic void showAllPolicies() throws IfsException
IfsException
- if the operation failspublic void freePolicy(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createPolicyList(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void setClassPolicyList(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyPolicyList(String tag, String name) throws IfsException
tag
- the tag to usename
- the PolicyList nameIfsException
- if the operation failspublic void showPolicyList(String name) throws IfsException
name
- the PolicyList nameIfsException
- if the operation failspublic void showAllPolicyLists() throws IfsException
IfsException
- if the operation failspublic void defineClassObject(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void defineExistingClassObject(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void defineAttribute(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createClassObject(AttributeValueTable avt) throws IfsException
The primary keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createOrUpdateClassObject(AttributeValueTable avt) throws IfsException
The primary keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected ClassObject createClassObject(String className) throws IfsException
className
- the common name for the class (e.g. "DirectoryGroup")IfsException
- if the operation failsprotected void modifyClassObject(ClassObject co, String className, boolean removeAttrs, boolean verbose) throws IfsException
co
- the ClassObject to modifyclassName
- the common name for the class (e.g. "DirectoryGroup")removeAttrs
- whether to rmeove Attributes that are no longer definedverbose
- whether output should be verboseIfsException
- if the operation failspublic void addAttribute(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void removeAttribute(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected String generateClassObjectDefinitionTag(String className)
className
- the common name for the ClassObjectpublic void setClassObjectCreationMode(String execMode) throws IfsException
The legal values are: Normal, SkipDomainSettings, and Bootstrap
execMode
- the execution mode StringIfsException
- if the operation failsprotected int getClassObjectCreationMode() throws IfsException
The legal values are the integer constants representing: Normal, SkipDomainSettings, and Bootstrap
IfsException
- if the operation failsprotected boolean isBootstrapModeEnabled() throws IfsException
Used by InstallOperations.
IfsException
- if the operation failspublic void identifyClassObject(String tag, String name) throws IfsException
tag
- the tag to usename
- the ClassObject nameIfsException
- if the operation failspublic void showClassObject(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void showAllClassObjects(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
IfsException
- if the operation failsprotected void showClassObjectAndSubNames(ClassObject co, boolean inclInstalled, boolean inclCustom, String indent) throws IfsException
co
- the ClassObject to showinclInstalled
- true to include installed classes in the outputinclCustom
- true to include custom classes in the outputindent
- the indentationIfsException
- if the operation failsprotected void showClassObjectAndSubs(ClassObject co, boolean createSyntax, boolean inclInstalled, boolean inclCustom, boolean verbose, boolean showDates) throws IfsException
co
- the ClassObject to showcreateSyntax
- true to use create script syntax for the outputinclInstalled
- true to include installed classes in the outputinclCustom
- true to include custom classes in the outputverbose
- true for detailed outputshowDates
- true to include Dates and other varying infoIfsException
- if the operation failsprotected void showCreateClassObjectScript(ClassObject co, boolean verbose, boolean showDates) throws IfsException
co
- the ClassObject to showverbose
- true for detailed outputshowDates
- true to include Dates and other varying infoIfsException
- if the operation failsprotected void showDefineAttributeScript(Attribute attr, String className, boolean verbose, boolean showDates) throws IfsException
attr
- the Attribute to showclassName
- the common name for the classverbose
- true for detailed outputshowDates
- true to include Dates and other varying infoIfsException
- if the operation failspublic void freeClassObject(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void identifyClassPropertyBundle(String tag, String className) throws IfsException
tag
- the tag to useclassName
- the ClassObject nameIfsException
- if the operation failspublic void identifyClassPolicyBundle(String tag, String className) throws IfsException
tag
- the tag to useclassName
- the ClassObject nameIfsException
- if the operation failspublic void removeClassProperty(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyAttribute(String tag, String className, String attrName) throws IfsException
tag
- the tag to use for the AttributeclassName
- the ClassObject nameattrName
- the Attribute nameIfsException
- if the operation failspublic void identifyAttributePropertyBundle(String tag, String className, String attrName) throws IfsException
tag
- the tag to use for the AttributeclassName
- the ClassObject nameattrName
- the Attribute nameIfsException
- if the operation failspublic void showAttribute(String tag) throws IfsException
tag
- the Attribute tagIfsException
- if the operation failspublic void createValueDefault(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void identifyValueDefault(String tag, String name) throws IfsException
tag
- the tag to usename
- the ValueDefault nameIfsException
- if the operation failspublic void assignValueDefault(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void showValueDefault(String name) throws IfsException
name
- the ValueDefault nameIfsException
- if the operation failspublic void showValueDefault(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void showAllValueDefaults() throws IfsException
IfsException
- if the operation failspublic void updateValueDefault(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified to identify the ValueDefault to update.
To update a ValueDefault's value, specify value using one of the
keys listed in getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void freeValueDefault(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void createValueDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void assignValueDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyValueDomain(String tag, String name) throws IfsException
tag
- the tag to usename
- the ValueDomain nameIfsException
- if the operation failspublic void showValueDomain(String name) throws IfsException
name
- the ValueDomain nameIfsException
- if the operation failspublic void showValueDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void showAllValueDomains() throws IfsException
IfsException
- if the operation failspublic void updateValueDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified to identify the ValueDomain to update.
To update a ValueDomain's set of enumerated values, specify values with
an AttributeValue of an array type, using one of the
array type keys listed in getAttributeValue
.
avt
- the named argumentsIfsException
- if the operation failsgetAttributeValue(AttributeValueTable, String[])
public void freeValueDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void createClassDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void assignClassDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyClassDomain(String tag, String name) throws IfsException
tag
- the tag to usename
- the ClassDomain nameIfsException
- if the operation failspublic void showClassDomain(String name) throws IfsException
name
- the ClassDomain nameIfsException
- if the operation failspublic void showClassDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void showAllClassDomains() throws IfsException
IfsException
- if the operation failspublic void updateClassDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified to identify the ClassDomain to update.
avt
- the named argumentsIfsException
- if the operation failspublic void freeClassDomain(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
Either TAG or NAME must be specified.
avt
- the named argumentsIfsException
- if the operation failspublic void createDependentView(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void identifyDependentView(String dvTag, String name) throws IfsException
dvTag
- the DependentView tagname
- the DependentView nameIfsException
- if the operation failspublic void showDependentView(String dvTag) throws IfsException
dvTag
- the DependentView tagIfsException
- if the operation failspublic void showAllDependentViews() throws IfsException
IfsException
- if the operation failspublic void refreshDependentView(String dvTag) throws IfsException
dvTag
- the DependentView tagIfsException
- if the operation failspublic void createFolder(String folderTag, String parentTag, String folderName) throws IfsException
folderTag
- the folder tagparentTag
- the tag of the parent folder under which the
new folder will be createdfolderName
- the folder nameIfsException
- if the operation failspublic void createFolder(String folderTag, String parentTag, String folderName, String defTag) throws IfsException
folderTag
- the folder tagparentTag
- the tag of the parent folder under which the
new folder will be createdfolderName
- the folder namedefTag
- the folder defIfsException
- if the operation failspublic void createFolder(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void freeFolder(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createFolderTree(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createDocument(String docTag, String parentTag, String docName, String defTag) throws IfsException
docTag
- the document tagparentTag
- the tag of the parent folder upon which the
new document will be createddocName
- the document namedefTag
- the document defIfsException
- if the operation failspublic void createDocument(String docTag, String parentTag, String docDefTag) throws IfsException
The name must already be set in the definition.
docTag
- the document tagparentTag
- the tag of the parent folder upon which the
new document will be createddocDefTag
- the tag identifying the DocumentDefinitionIfsException
- if the operation failspublic void createDocument(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createDocumentBatch(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failsprotected int createDocuments(String dirPath, Folder topFolder, AccessControlList acl, Format format, Media media) throws IfsException
dirPath
- the absolute directory pathtopFolder
- the parent folderacl
- the ACL to useformat
- the Format to usemedia
- the Media to useIfsException
public void createCategorizedDocument(String docTag, String parentTag, String docName, String contentFileName, String catDefTag) throws IfsException
If there is already a document with the specified name in the target folder, add the new Document as a version to the target, based on the VersioningConfiguration of the folder.
docTag
- the document tagparentTag
- the tag of the parent folder upon which the
new document will be createddocName
- the document namecontentFileName
- the name of the file to be used for contentcatDefTag
- the category definitionIfsException
- if the operation failspublic void addCategory(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createLink(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createFolderLink(AttributeValueTable avt) throws IfsException
The keys supported by this operation:
avt
- the named argumentsIfsException
- if the operation failspublic void createLink(String linkTag, String parentTag, String defTag) throws IfsException
linkTag
- the link tagparentTag
- the tag of the parent folder in which the
new link will be createddefTag
- the link definition tagIfsException
- if the operation failspublic void createLink(String linkTag, String parentTag, String name, String assocTag) throws IfsException
linkTag
- the link tagparentTag
- the tag of the parent folder in which the
new link will be createdname
- the link nameassocTag
- the tag of the document or folder the new link
will point toIfsException
- if the operation failspublic void showDocument(String docTag) throws IfsException
docTag
- the document tagIfsException
- if the operation failspublic void showDocumentContentInfo(String docTag) throws IfsException
docTag
- the document tagIfsException
- if the operation failspublic void showDocumentContents(String docTag) throws IfsException
docTag
- the document tagIfsException
- if the operation failspublic void showDocumentLanguage(String docTag) throws IfsException
showDocumentContentInfo
docTag
- the document tagIfsException
- if the operation failspublic void showDocumentCharacterSet(String docTag) throws IfsException
showDocumentContentInfo
docTag
- the document tagIfsException
- if the operation failsprotected void showDocumentContents(Document doc, String prefix) throws IfsException