public class LinkOperations extends ScriptOperations
ScriptOperations.ClassObjectOptions, ScriptOperations.JdbcExecutor, ScriptOperations.SavedSearchResult, ScriptOperations.ServerDefinition, ScriptOperations.ServiceDefinition
Modifier and Type | Field and Description |
---|---|
protected Long |
m_UseAcl |
INDENT
Constructor and Description |
---|
LinkOperations(ScriptDriver driver)
Constructs a LinkOperations.
|
Modifier and Type | Method and Description |
---|---|
void |
addGroup(String grpname,
String memberName) |
void |
addUser(String grpname,
String userName) |
protected AccessControlEntryDefinition |
createAceDef(LibrarySession sess,
DirectoryObject grantee,
boolean isWorld,
String accessList) |
void |
createAcl(String aclname) |
void |
createAcl(String aclname,
String tag) |
void |
createFolderLink(String rootPath,
String linkName,
String fname) |
void |
createGroup(String grpname) |
void |
createGroup(String grpname,
String tag) |
void |
createLink(String rootPath,
String linkName,
String objname)
Creates a link using a LinkDefinition.
|
void |
createMultipleSubfolders(String rootPath,
String namePrefix,
String scount) |
void |
createMultiplyFolderedObject(String rootPath,
String name) |
void |
createObject(String rootPath,
String name) |
protected void |
createObject(String rootPath,
String name,
boolean isMultiplyFoldered) |
void |
createSystemAcl(String aclname) |
void |
createSystemAcl(String aclname,
String tag) |
protected FolderPathOptions |
determineFolderPathOptions(String option) |
protected void |
displayFolder(Folder folder,
LibrarySession sess,
String prefix) |
protected void |
displayObject(PublicObject po,
LibrarySession sess,
String prefix) |
protected String |
formatAccessLevel(LibrarySession sess,
AccessLevel level) |
void |
freeAcl(String aclname) |
void |
freeApplicationObject(String objname) |
void |
freeFolder(String fname) |
void |
freeGroup(String tag) |
void |
freeLink(String linkname) |
void |
grantToGroup(String aclname,
String grantee,
String accessList) |
void |
grantToUser(String aclname,
String grantee,
String accessList) |
void |
grantToWorld(String aclname,
String accessList) |
protected ApplicationObject |
lookupApplicationObject(LibrarySession sess,
String objname) |
protected Link |
lookupLink(LibrarySession sess,
String linkname) |
protected PublicObject |
lookupPublicObject(LibrarySession sess,
String name)
Lookup a PublicObject by the specified tag.
|
void |
removeGroup(String grpname,
String memberName) |
void |
removeUser(String grpname,
String userName) |
void |
revokeFromGroup(String aclname,
String grantee,
String accessList) |
void |
revokeFromUser(String aclname,
String grantee,
String accessList) |
void |
revokeFromWorld(String aclname,
String accessList) |
protected void |
showACE(String outputprefix,
AccessControlEntry ace,
LibrarySession sess) |
void |
showAcl(String acltag)
Show details about an ACL.
|
protected void |
showAllMembers(DirectoryObject dirobj) |
void |
showAllPaths(String objname) |
void |
showAllPaths(String objname,
String option) |
void |
showAllPaths(String objname,
String option,
String rootPath) |
void |
showAnyPath(String objname) |
void |
showAnyPath(String objname,
String option) |
void |
showAnyPath(String objname,
String option,
String rootPath) |
protected void |
showDirectMembers(DirectoryObject dirobj) |
void |
showFolder(String fname)
Show details about a folder.
|
protected void |
showGroup(DirectoryGroup group) |
void |
showGroup(String tag)
Show details about a group.
|
void |
showObject(String objname)
Show details about a LibraryObject.
|
void |
showPrimaryPath(String objname) |
void |
showUserAccess(String aclname,
String username) |
void |
updateObject(String objname,
String newdesc) |
void |
useAcl() |
void |
useAcl(String aclname) |
abortTransaction, acquireLock, acquireManualLock, activateAuditHandlerSpecification, activateAuditSpecification, activateOperationActionSpecification, activateServerSpecification, activateSystemObject, addAttachment, addAttribute, addAuditEventProperty, addAuditType, addAuditTypesForClass, addBooleanHandlerProperty, addCategory, addDefinitionAuditEntryType, addDefinitionAuditEntryTypesForClass, addDefinitionAuditEntryTypesUnderClass, addDefinitionBooleanProperty, addDefinitionDoubleProperty, addDefinitionIntegerProperty, addDefinitionLongProperty, addDefinitionProperties, addDefinitionProperty, addDefinitionStringArrayProperty, addDefinitionStringProperty, addDocumentDefinitionCharacterSet, addDocumentDefinitionContent, addDocumentDefinitionContentBfileReference, addDocumentDefinitionLanguage, addGlobalOperationActionSpecification, addGroupMember, addGroupMembers, addIntegerHandlerProperty, addLifecyclePolicyEntryDefinition, addLifecyclePolicyEntryDefinition, addLongHandlerProperty, addManagedServerDeclaration, addManagedServerDeclaration, addManagedServerDeclaration, addManagedServiceDeclaration, addManagedServiceDeclaration, addPreparedSelectorBindValue, addPreparedSelectorBooleanBindValue, addPreparedSelectorIntegerBindValue, addPreparedSelectorLibraryObjectBindValue, addPreparedSelectorLongBindValue, addPreparedSelectorStringBindValue, addPublicObjectDefinitionCategory, addSchemaObjectDefinitionCategory, addStringArrayHandlerProperty, addStringHandlerProperty, addSystemObjectDefinitionBooleanProperty, addSystemObjectDefinitionCategory, addSystemObjectDefinitionIntegerProperty, addSystemObjectDefinitionLongProperty, addSystemObjectDefinitionStringArrayProperty, addSystemObjectDefinitionStringProperty, addToDocumentDefinition, addToPublicObjectDefinition, applyLogLevelOverride, applyNamedFreezeLock, applySingletonLock, assignClassDomain, assignLifecyclePolicyByCategory, assignValueDefault, assignValueDomain, beginTransaction, businessObjectExists, clearImpersonateUser, clearSharedCaches, cloneCurrentSession, cloneDefinition, cloneDefinition, comment, comment, compareObjects, completeTransaction, concatenateObjectId, concatenateStrings, concatenateStrings, concatenateStrings, concatenateStrings, concatenateStrings, concatenateStrings, concatenateStrings, concatenateToLowerStrings, concatenateToLowerStrings, concatenateToLowerStrings, concatenateToUpperStrings, concatenateToUpperStrings, concatenateToUpperStrings, connect, connect, constructAuditEvent, constructPreparedSelectorGenerator, constructPreparedSelectorGenerator, convertPropertyDefinitionsToHashtable, convertStringArray, convertToBoolean, convertToBoolean, convertToDouble, convertToDouble, convertToInteger, convertToInteger, convertToLong, convertToLong, convertToRelativePath, copy, create, createAccessControlList, createAndApplyAuditTypeList, createApplicationToken, createApplicationToken, createAuditSpecification, createAuditSpecification, createAuditSpecification, createAuditSpecification, createAuditTypeList, createAuditTypeList, createAutoFolderingActionSpecification, createAutoFolderingActionSpecification, createCategorizedDocument, createClassDomain, createClassObject, createClassObject, createCustomLockEntry, createCustomMediaDriverSpecification, createCustomMediaDriverSpecification, createDefinition, createDefinitionFromDefinitionObject, createDefinitionFromObject, createDefinitionObject, createDependentView, createDocument, createDocument, createDocument, createDocumentBatch, createDocuments, createEntireAuditSpecification, createExtendedPermission, createExtendedUserProfile, createFolder, createFolder, createFolder, createFolderLink, createFolderTree, createFormat, createGroup, createGuestSession, createLibraryObject, createLibraryObject, createLifecycleDateRuleSpecification, createLifecycleDateRuleSpecification, createLifecyclePolicy, createLifecyclePolicy, createLifecyclePolicyActionSpecification, createLifecyclePolicyActionSpecification, createLifecyclePolicyEntryDefinition, createLink, createLink, createLockTypeLookupTables, createMedia, createMedia, createNamedFreezeLock, createNamedPropertyBundle, createNodeConfiguration, createNodeConfiguration, createOperationActionSpecification, createOperationActionSpecification, createOrUpdateClassObject, createPermissionBundle, createPolicy, createPolicyList, createPropertyBundle, createQueue, createRetentionPolicy, createServerConfiguration, createServerConfiguration, createServerSpecification, createServiceConfiguration, createServiceConfiguration, createSession, createSession, createSimplePropertyTable, createSimplePropertyTableList, createStorageGroup, createStorageGroup, createSystemLockObject, createUser, createUserSession, createValueDefault, createValueDomain, deactivateAuditHandlerSpecification, deactivateAuditSpecification, deactivateOperationActionSpecification, deactivateServerSpecification, deactivateSystemObject, deactivateUnknownOperationActionSpecifications, defineAttribute, defineAuditHandlerSpecificationDefinition, defineAuditHandlerSpecificationDefinition, defineAuditTargetSpecificationDefinition, defineAuditTypeListDefinition, defineAuditTypeListDefinition, defineClassObject, defineExistingClassObject, definitionExists, deleteAllCategories, deleteAuditSpecification, deleteNamedFreezeLock, deleteRepositoryParameter, deleteUser, deregisterBusinessObject, deregisterCustomLockType, deregisterDefinition, deregisterLockType, deregisterObject, deregisterSession, deregisterTransaction, determinePrimaryObjectColumnAlias, ensureFreed, executeAutocommitSql, executePreparedSelect, executePreparedSelect, executePreparedSelect, executePreparedSelect, executePreparedSelectCount, executePreparedSelectCount, executePreparedSelectCount, executePreparedSelectFromJson, executePreparedSelectResults, exists, existsRelative, extractContentForIndexing, findOrCreateCompositeGroup, freeClassDomain, freeClassObject, freeExtendedPermission, freeFolder, freeFormat, freeNamedPropertyBundle, freeNamedPropertyBundle, freeNodeConfiguration, freeNodeConfiguration, freeObject, freePermissionBundle, freePolicy, freeServerConfiguration, freeServerConfiguration, freeServiceConfiguration, freeServiceConfiguration, freeUnreferencedContent, freeValueDefault, freeValueDomain, generateClassObjectDefinitionTag, getAbsolutePath, getAclValueForConfigurationObjects, getAttributeValue, getAttributeValue, getAttributeValue, getAuditDriverHelper, getAuditEventDispatcher, getAuditingStartingId, getAuxiliaryTargets, getBindValues, getBypassSecurityAliases, getClassObjectCreationMode, getConsoleInputBoolean, getConsoleInputString, getConsoleInputString, getConsoleInputString, getConsoleSecureInputString, getContentPath, getCurrentSession, getDriver, getIncludedFileSettings, getLogWriter, getManagedServerDeclarations, getManagedServiceDeclarations, getParameterTable, getSavedSearchResultPrimaryObjects, getSavedSearchResults, getShowDates, getStringArray, getStringsFromArrayToken, getStripNumbersFromAuditEventProperties, handleEventPostedForCustomAuditHistory, handleTimerExpiredForCustomAuditHistory, identifyAcl, identifyAcl, identifyApplicationToken, identifyAttribute, identifyAttributePropertyBundle, identifyAuditHandlerSpecification, identifyAuditSpecification, identifyAuditTargetSpecification, identifyAuditTypeList, identifyAuditTypeListBySpecification, identifyAutoFolderingActionSpecification, identifyByAttribute, identifyByPath, identifyByRelativePath, identifyCategory, identifyCategory, identifyClassAcl, identifyClassDomain, identifyClassObject, identifyClassPolicyBundle, identifyClassPropertyBundle, identifyCompositeGroup, identifyCustomLock, identifyCustomMediaDriverSpecification, identifyDependentView, identifyExtendedPermission, identifyFormat, identifyGlobalAuditSpecification, identifyGlobalAuditTypeList, identifyGroup, identifyGuestUser, identifyInstancePropertyBundle, identifyLibraryObject, identifyLifecycleDateRuleSpecification, identifyLifecyclePolicy, identifyLifecyclePolicyActionSpecification, identifyLifecyclePolicyEntry, identifyMedia, identifyMessageEntry, identifyMessageList, identifyNamedFreezeLock, identifyNamedPropertyBundle, identifyNodeConfiguration, identifyObjectAuditSpecification, identifyObjectProperty, identifyOperationActionSpecification, identifyPermissionBundle, identifyPolicy, identifyPolicyList, identifyPrimaryUserProfile, identifyPropertyBundle, identifyQueue, identifyQueueTypeMapBundle, identifyRetentionPolicy, identifyServerConfiguration, identifyServerSpecification, identifyServiceConfiguration, identifySingletonLockType, identifyStorageGroup, identifySystemAcl, identifySystemLockObject, identifySystemUser, identifyUser, identifyValueDefault, identifyValueDomain, identifyWorldGroup, impersonateUser, impersonateUser, initializeManualTextIndexingRetainedEvents, isBootstrapModeEnabled, isDomainScopeImpliedForSearch, isInArray, log, log, lookupAcl, lookupApplicationToken, lookupAuditDomainContext, lookupAuditSpecification, lookupAutoFolderingActionSpecification, lookupBusinessObject, lookupBusinessObjectHashtable, lookupBusinessObjectList, lookupClassAcl, lookupDatatype, lookupDatatypeString, lookupDefinition, lookupDefinition, lookupDirectoryObject, lookupDocument, lookupFolder, lookupFormat, lookupFormatFromCollection, lookupGroup, lookupMedia, lookupMessageEntry, lookupObject, lookupObject, lookupObjectAttributeValue, lookupObjectId, lookupOperationActionSpecification, lookupQueue, lookupSessionByTag, lookupSystemAcl, lookupSystemLockObject, lookupTagBySessionId, lookupUser, lookupUserFromCollection, makeDefinitionReadOnly, markCurrentAuditingId, modifyClassObject, move, moveCategory, normalizeBooleanString, notifyCustomAuditHistoryHandler, objectExists, postCustomAuditEvent, postCustomAuditEvent, postCustomAuditEvent, postSystemAuditEvent, postSystemAuditEvent, preprocessDocumentSettings, preprocessPublicObjectSettings, printStackTrace, processManualTextIndexingRetainedEvents, processRawAuditEvents, purgeGlobalAuditHistory, reactivateUnknownOperationActionSpecifications, readDocumentContent, refreshDependentView, registerAllNonCustomAuditTypes, registerAuditEventType, registerAuditEventType, registerBusinessObject, registerCustomAuditType, registerCustomLockType, registerDefinition, registerLockType, registerNewSession, registerObject, registerTransaction, releaseLock, releaseManualLock, removeAcesForFreedGrantees, removeAllAttachments, removeAttachment, removeAttribute, removeClassProperty, removeCustomLockEntry, removeGroupMembers, removeNamedFreezeLock, removeProperties, removeServerFromNodeConfiguration, removeServiceFromNodeConfiguration, removeSession, removeSessionState, removeSingletonLock, removeTag, rename, replaceMediaLookupsByFormat, replaceSession, resetFolderCountInfo, restoreGlobalOperationActionSpecification, runSchemaCreator, runScript, saveGlobalOperationActionSpecification, saveSearchResultPrimaryObjects, saveSearchResults, searchAuditHistory, searchAuditHistory, searchAuditHistory, sessionExists, setAdminMode, setAdminMode, setArrayTokenDelimiter, setAuditingStartingId, setAuditSpecificationAuditHandlerSpecificationDefinition, setAuditSpecificationAuditTargetSpecificationDefinition, setAuditSpecificationAuditTypeListDefinition, setAuditTargetSpecificationDefinitionTarget, setBooleanInstanceProperty, setClassObjectCreationMode, setClassPolicyList, setClassProperty, setCreateCategoriesServerSideOption, setCurrentSession, setCurrentSession, setDateFormat, setDefaultAuditEventSortClause, setDefaultMedia, setDefaultScriptOperationsClass, setDefaultStorageGroup, setDefinitionAttribute, setDefinitionAttribute, setDefinitionBooleanAttribute, setDefinitionClassObjectAttribute, setDefinitionDateAttribute, setDefinitionDirectoryObjectArrayAttribute, setDefinitionDirectoryObjectAttribute, setDefinitionDoubleAttribute, setDefinitionIntegerAttribute, setDefinitionLongAttribute, setDefinitionNullStringAttribute, setDefinitionObjectAttribute, setDefinitionSchemaObjectArrayAttribute, setDefinitionSchemaObjectAttribute, setDefinitionStringArrayAttribute, setDefinitionStringAttribute, setDefinitionSystemObjectAttribute, setDocumentDefinitionContentObjectDefinition, setGlobalAuditTypeList, setGlobalOperationActionSpecifications, setInstallationMode, setInstallationMode, setInstanceProperty, setIntegerInstanceProperty, setLifecyclePolicyDefinitionDeleteEntriesOption, setLocale, setLongInstanceProperty, setLongSessionState, setMainSessionAsCurrentSession, setMediaLookupByFormat, setNumberFormat, setObjectProperty, setPreventSessionTimeouts, setPreventSessionTimeouts, setProperty, setPublicObjectInstanceProperty, setRepositoryParameter, setStringInstanceProperty, setStringSessionState, setSubstitutionPrefix, setSystemAdminMode, setSystemAdminMode, setSystemObjectInstanceProperty, setTimeoutPeriodOption, setTimeZone, setUserCreateOptions, setUserDefaultAcl, setUserDeleteOptions, showAggregateAuditEventColumns, showAllAutoFolderingActionSpecifications, showAllClassAcls, showAllClassDomains, showAllClassObjects, showAllCustomAuditSpecifications, showAllCustomMediaDriverSpecifications, showAllDependentViews, showAllExtendedPermissions, showAllExternalRetentionPolicies, showAllFormats, showAllLifecycleDateRuleSpecifications, showAllLifecyclePolicies, showAllLifecyclePolicyActionSpecifications, showAllMedias, showAllNodeConfigurations, showAllNodeConfigurations, showAllOperationActionSpecifications, showAllPermissionBundles, showAllPolicies, showAllPolicyLists, showAllRepositoryParameters, showAllRetentionPolicies, showAllServerConfigurations, showAllServerConfigurations, showAllServerSpecifications, showAllServiceConfigurations, showAllServiceConfigurations, showAllStorageGroups, showAllSystemAcls, showAllValueDefaults, showAllValueDomains, showApplicationToken, showApplicationTokens, showAttachments, showAttribute, showAttribute, showAuditCertificates, showAuditEventOperationTypes, showAuditSpecification, showAuditTypeList, showAuditTypesForClass, showAuditTypesForCreateOperations, showAuditTypesForFreeOperations, showAuditTypesUnderClass, showAutoFolderingActionSpecification, showCapabilities, showClassDomain, showClassDomain, showClassObject, showClassObjectAndSubNames, showClassObjectAndSubs, showCompositeGroup, showCreateClassObjectScript, showCurrentUser, showCustomAuditHistory, showCustomAuditHistory, showCustomAuditTypes, showCustomMediaDriverSpecification, showDefaultMedia, showDefaultStorageGroup, showDefineAttributeScript, showDefinition, showDefinitionObject, showDependentView, showDocument, showDocumentCharacterSet, showDocumentContentInfo, showDocumentContents, showDocumentContents, showDocumentContents, showDocumentLanguage, showDocumentsWithLifecyclePolicy, showExpandedAuditTypeList, showExtendedPermission, showFolder, showFolderCountInfo, showFormat, showGlobalAuditHistory, showGlobalAuditHistory, showGlobalAuditSpecification, showGlobalAuditTypeList, showGlobalOperationActionSpecifications, showInstanceProperty, showInstancePropertyBundle, showLibraryObject, showLibraryObject, showLifecycleDateRuleSpecification, showLifecyclePolicy, showLifecyclePolicyActionSpecification, showLifecyclePolicyEntry, showLink, showLocalizer, showLockEntry, showLockEntryInfo, showLockTypeLookupTables, showMedia, showMediaLookupByFormatMappings, showMessageEntry, showMessageList, showNamedPropertyBundle, showNodeConfiguration, showNodeConfiguration, showObjectAuditHistory, showObjectAuditHistory, showObjectAuditSpecification, showOperationActionSpecification, showParsedArrayToken, showParsedOperationString, showPermissionBundle, showPolicy, showPolicyList, showPreparedSelector, showPreparedSelector, showProperty, showPropertyBundle, showRepositoryParameter, showRetentionPolicy, showRuntimeStatistics, showSavedSearchResultPrimaryObjects, showSavedSearchResults, showServerConfiguration, showServerConfiguration, showServerSpecification, showServiceConfiguration, showServiceConfiguration, showServiceStatistics, showSessionCacheStatistics, showSessionState, showSimplePropertyTable, showSimplePropertyTableList, showStorageGroup, showUser, showValueDefault, showValueDefault, showValueDomain, showValueDomain, sleep, syncContentIndex, syncIndex, testJsonString, tokenToDirectoryObjectArray, tokenToDirectoryUserArray, tokenToDocumentArray, transactionExists, unregisterAuditEventType, unregisterCustomAuditType, update, updateAccessControlList, updateClassDomain, updateDefinitionObject, updateLibraryObject, updateLibraryObject, updateLibraryObject, updateNodeConfiguration, updateNodeConfiguration, updateServerConfiguration, updateServerConfiguration, updateServiceConfiguration, updateServiceConfiguration, updateUserPassword, updateValueDefault, updateValueDomain, verifyBusinessObjectTagNotExists, verifyDefinitionTagNotExists, verifyDefinitionWriteable, verifyObjectTagNotExists, writeConsoleOutputString, writeConsoleOutputString, writeDocumentContentToFile, zeroPad
protected Long m_UseAcl
public LinkOperations(ScriptDriver driver)
driver
- the main script driver instancepublic void useAcl() throws IfsException
IfsException
public void useAcl(String aclname) throws IfsException
IfsException
public void createAcl(String aclname) throws IfsException
IfsException
public void createAcl(String aclname, String tag) throws IfsException
IfsException
public void createSystemAcl(String aclname) throws IfsException
IfsException
public void createSystemAcl(String aclname, String tag) throws IfsException
IfsException
public void grantToUser(String aclname, String grantee, String accessList) throws IfsException
IfsException
public void grantToGroup(String aclname, String grantee, String accessList) throws IfsException
IfsException
public void grantToWorld(String aclname, String accessList) throws IfsException
IfsException
public void revokeFromUser(String aclname, String grantee, String accessList) throws IfsException
IfsException
public void revokeFromGroup(String aclname, String grantee, String accessList) throws IfsException
IfsException
public void revokeFromWorld(String aclname, String accessList) throws IfsException
IfsException
public void showUserAccess(String aclname, String username) throws IfsException
IfsException
public void freeAcl(String aclname) throws IfsException
IfsException
public void createObject(String rootPath, String name) throws IfsException
IfsException
public void createMultiplyFolderedObject(String rootPath, String name) throws IfsException
IfsException
protected void createObject(String rootPath, String name, boolean isMultiplyFoldered) throws IfsException
IfsException
public void createMultipleSubfolders(String rootPath, String namePrefix, String scount) throws IfsException
IfsException
public void createLink(String rootPath, String linkName, String objname) throws IfsException
ScriptOperations
createLink
in class ScriptOperations
rootPath
- the link taglinkName
- the tag of the parent folder in which the
new link will be createdobjname
- the link definition tagIfsException
- if the operation failspublic void createFolderLink(String rootPath, String linkName, String fname) throws IfsException
IfsException
public void updateObject(String objname, String newdesc) throws IfsException
IfsException
public void showObject(String objname) throws IfsException
ScriptOperations
showObject
in class ScriptOperations
objname
- the object tagIfsException
- if the operation failspublic void showFolder(String fname) throws IfsException
ScriptOperations
showFolder
in class ScriptOperations
fname
- the target folder tagIfsException
- if the operation failspublic void showAnyPath(String objname) throws IfsException
IfsException
public void showAnyPath(String objname, String option) throws IfsException
IfsException
public void showAnyPath(String objname, String option, String rootPath) throws IfsException
IfsException
public void showPrimaryPath(String objname) throws IfsException
IfsException
public void showAllPaths(String objname) throws IfsException
IfsException
public void showAllPaths(String objname, String option) throws IfsException
IfsException
public void showAllPaths(String objname, String option, String rootPath) throws IfsException
IfsException
public void showAcl(String acltag) throws IfsException
ScriptOperations
showAcl
in class ScriptOperations
acltag
- the target ACL tagIfsException
- if the operation failspublic void freeApplicationObject(String objname) throws IfsException
IfsException
public void freeLink(String linkname) throws IfsException
IfsException
public void freeFolder(String fname) throws IfsException
IfsException
public void createGroup(String grpname) throws IfsException
IfsException
public void createGroup(String grpname, String tag) throws IfsException
IfsException
public void addUser(String grpname, String userName) throws IfsException
IfsException
public void removeUser(String grpname, String userName) throws IfsException
IfsException
public void addGroup(String grpname, String memberName) throws IfsException
IfsException
public void removeGroup(String grpname, String memberName) throws IfsException
IfsException
public void freeGroup(String tag) throws IfsException
IfsException
public void showGroup(String tag) throws IfsException
ScriptOperations
showGroup
in class ScriptOperations
tag
- the target group tagIfsException
- if the operation failsprotected void displayFolder(Folder folder, LibrarySession sess, String prefix) throws IfsException
IfsException
protected void displayObject(PublicObject po, LibrarySession sess, String prefix) throws IfsException
IfsException
protected FolderPathOptions determineFolderPathOptions(String option)
protected void showACE(String outputprefix, AccessControlEntry ace, LibrarySession sess) throws IfsException
IfsException
protected String formatAccessLevel(LibrarySession sess, AccessLevel level) throws IfsException
IfsException
protected void showGroup(DirectoryGroup group) throws IfsException
IfsException
protected void showDirectMembers(DirectoryObject dirobj) throws IfsException
IfsException
protected void showAllMembers(DirectoryObject dirobj) throws IfsException
IfsException
protected ApplicationObject lookupApplicationObject(LibrarySession sess, String objname) throws IfsException
IfsException
protected Link lookupLink(LibrarySession sess, String linkname) throws IfsException
IfsException
protected PublicObject lookupPublicObject(LibrarySession sess, String name) throws IfsException
ScriptOperations
A RuntimeException is thrown if there is no object registered with the specified tag, or if the object registered is not a PublicObject.
lookupPublicObject
in class ScriptOperations
sess
- the sessionname
- the object tagIfsException
- if the operation failsprotected AccessControlEntryDefinition createAceDef(LibrarySession sess, DirectoryObject grantee, boolean isWorld, String accessList) throws IfsException
IfsException
Copyright © 2023. All rights reserved.