public class LibrarySession extends Object implements LibrarySessionInterface, IfsEventHandler, Traceable, LibraryConstants, LogInfo
A LibrarySession (also known as a "session") object is created by calling the connect method on LibraryService. All other persistent objects (that is, objects that are stored in the CM SDK server) are created from this class.
The public methods on this class can be divided into the following categories:
create[ObjectName]
method, and take a definition object containing creation parameters.
Modifier and Type | Class and Description |
---|---|
class |
LibrarySession.ServerSideCoordinator
ServerSideCoordinator is used to coordinate bean-side and server-side
operations.
|
Modifier and Type | Field and Description |
---|---|
static long |
ACLD_DISCOVERER_ADMIN
Id of the permanent admin user.
|
protected boolean |
m_AlwaysCacheSelectedData
Indication as to whether to always cache selected data from Selectors.
|
protected int |
m_ApplicationMode
Current application mode.
|
protected Stack |
m_ApplicationModeStack
A stack of application modes, stored as Integer objects.
|
protected String |
m_ApplicationName
Name of the application provided in the original connect options.
|
protected long |
m_AttributesRsn
The resolution sequence number at which an attribute
was last added or removed.
|
protected String |
m_AuthenticatedUserName
Name of the authenticated user.
|
protected Long |
m_ClockOffset
The time offset between the mid tier clock and the DBMS clock.
|
protected ConfigurationCategoryDescriptorMap |
m_ConfigCategoryDescriptorMap
Map for ConfigurationCategory select operations.
|
protected boolean |
m_Connected
connection state; volatile so changes are immediately visible to all
threads
|
protected HashMap |
m_CopyOperationsInProgress
An item of custom state which holds the set of copy() opeartions
in progress
|
protected HashMap |
m_CreateOperationsInProgress
An item of custom state which holds the set of createXXX() opeartions
in progress
|
protected Actor |
m_CurrentActor
The effective Actor (lazily set)
|
protected ContentQuota |
m_DefaultContentQuota
the default ContentQuota object that will be used for any
new Documents
|
protected SortSpecification |
m_DefaultFolderSortSpecification
default SortSpecification for Folder select operations.
|
protected String |
m_dnSuffix
Distinguished name suffix, from the server properties.
|
protected PropertyBundle |
m_DomainPropertyBundle
The domain PropertyBundle
|
protected oracle.ifs.beans.LibrarySessionEventPoller |
m_EventPoller
The event poller.
|
protected boolean |
m_EventProcessingEnabled
Whether event processing is enabled for this LibrarySession.
|
protected DirectoryUser |
m_FeignedUser
the current impersonated user.
|
protected boolean |
m_FilterDeletedObjectsEnabled
state of the deleted object filtering.
|
protected String |
m_FolderPathDelimiter
the folder-path delimiter for the session
defaults to FolderPathResolver.FOLDER_DELIMITER
|
protected HashMap |
m_FreeOperationsInProgress
An item of custom state which holds the set of free() opeartions
in progress
|
protected DirectoryUser |
m_GuestUser
The guest user (lazily set)
|
protected Long |
m_Id
Id of the Session
|
protected Object |
m_InvokeServerSideLock
Something on which to synchronize during our DMFoo calls
and pseudo DMFoo calls.
|
protected LibraryObjectCache |
m_LibraryObjectCache
LibraryObject cache
|
protected Localizer |
m_Localizer
the Localizer for this session.
|
protected Hashtable |
m_ObjectFolderSortSpecification
object-level SortSpecifications for Folder select operations.
|
protected boolean |
m_PreventSessionTimeouts
Indication as to whether session timeouts are suppressed
|
protected PrimaryUserProfile |
m_PrimaryUserProfile
the current user's PrimaryUserProfile.
|
protected Hashtable |
m_RegisteredClassEventHandlers
Registered class event handlers (see registerEventHandler()).
|
protected Hashtable |
m_RegisteredEventHandlers
Registered event handlers (see registerEventHandler()).
|
protected Folder |
m_RootFolder
The root folder
|
protected long |
m_Sequence
The next unique sequence value for this session.
|
protected LibrarySession.ServerSideCoordinator |
m_ServerSideCoordinator
Holds server-side coordination info.
|
protected Hashtable |
m_ServiceConfigurationProperties
table of service configuration properties.
|
protected Long |
m_ServiceId
Id of the server-side Service
|
protected String |
m_ServiceName
Name of the service.
|
protected Hashtable |
m_SessionState
Custom state held on behalf of the session.
|
protected HashMap |
m_UpdateOperationsInProgress
An item of custom state which holds the set of update() opeartions
in progress
|
protected DirectoryUser |
m_User
the authenticated user.
|
static String |
STATEMENT_KEY_COLLECTION_POLICYLIST
Statement key to use for PolicyList collection.
|
static String |
STATEMENT_KEY_COLLECTION_SHAREDACL
Statement key to use for Shared ACL collection.
|
ALWAYS_CACHE_SELECTED_DATA_PROPERTY, CLEAR_SHARED_CACHES, DEFAULT_CONTENTQUOTA_PROPERTY, EXECUTIONMODE_ADMINISTRATION, EXECUTIONMODE_DISCOVERYADMINISTRATION, EXECUTIONMODE_INSTALLADMINISTRATION, EXECUTIONMODE_PREEXISTING, EXECUTIONMODE_SYSTEMADMINISTRATION, EXECUTIONMODE_USER, FOLDER_PATH_DELIMITER_PROPERTY, PREVENT_SESSION_TIMEOUTS_PROPERTY, UPGRADE_BEHAVIOR_PROPERTY
ARRAYVALUES_TABLENAME_PREFIX, AUDIT_EVENT_COLUMN_APPLICATIONCONTEXT, AUDIT_EVENT_COLUMN_APPLICATIONUSER, AUDIT_EVENT_COLUMN_AUXILIARYNUMBER, AUDIT_EVENT_COLUMN_AUXILIARYSTRING, AUDIT_EVENT_COLUMN_CREATEDATE, AUDIT_EVENT_COLUMN_CREATORID, AUDIT_EVENT_COLUMN_DOMAINID, AUDIT_EVENT_COLUMN_ID, AUDIT_EVENT_COLUMN_OPERATIONSUCCEEDED, AUDIT_EVENT_COLUMN_OPERATIONTYPE, AUDIT_EVENT_COLUMN_TARGETOBJECTID, AUDIT_SPECIFICATION_CUSTOM, AUDIT_SPECIFICATION_GLOBAL, AUDIT_SPECIFICATION_OBJECT, AUDIT_SUCCESS_MODE_FAILURE_ONLY, AUDIT_SUCCESS_MODE_NONE, AUDIT_SUCCESS_MODE_SUCCESS_ONLY, AUDIT_SUCCESS_MODE_SUCCESS_OR_FAILURE, AUDIT_TABLENAME_PREFIX, CAPABILITY_ADDITEM, CAPABILITY_ADDMEMBER, CAPABILITY_ADDRELATIONSHIP, CAPABILITY_ADDVERSION, CAPABILITY_ADDVERSIONSERIES, CAPABILITY_ADMINISTER_CATEGORY, CAPABILITY_ADMINISTER_CONFIGURATION, CAPABILITY_ADMINISTER_CONTAINER, CAPABILITY_ADMINISTER_DOMAIN, CAPABILITY_ADMINISTER_LOCK, CAPABILITY_ADMINISTER_QUOTA, CAPABILITY_ADMINISTER_RECORD, CAPABILITY_ADMINISTER_ROLE, CAPABILITY_ADMINISTER_SECURITY, CAPABILITY_ADMINISTER_USER, CAPABILITY_ADMINISTER_WORKSPACE, CAPABILITY_COPY, CAPABILITY_CREATECONTAINER, CAPABILITY_CREATEFOLDER, CAPABILITY_CREATEWORKSPACE, CAPABILITY_DELETE, CAPABILITY_DISCOVER, CAPABILITY_GET_CONTENT, CAPABILITY_GETAUDITHISTORY, CAPABILITY_GETMETADATA, CAPABILITY_GETRELATION, CAPABILITY_LOCK, CAPABILITY_MOVE, CAPABILITY_REMOVEITEM, CAPABILITY_REMOVEMEMBER, CAPABILITY_REMOVERELATIONSHIP, CAPABILITY_REMOVEVERSIONSERIES, CAPABILITY_SET_ATTR, CAPABILITY_SET_CONTENT, CAPABILITY_SETMETADATA, CAPABILITY_SETRELATION, DEFINITIONSETTINGPOLICY_STANDARD, EXCEPTION_INFO_AGGREGATE_ENTRIES, EXCEPTION_INFO_CONFLICTING_OBJECT_ID, EXCEPTION_INFO_DESCRIPTION_MAP, EXCEPTION_INFO_LIMIT, EXCEPTION_INFO_OBJECT_ID, EXCEPTION_INFO_PARAMETER_NAME, FLAG_ACTIVITYRECORD_EXISTS, FLAG_ACTOR_EXISTS, FLAG_ATTACHMENTRELATION_EXISTS, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MESSAGELIST_EXISTS, IFS_ATTRIBUTEPROPERTY_COMMONNAME, IFS_ATTRIBUTEPROPERTY_DEFINITIONSETTINGPOLICY, IFS_ATTRIBUTEPROPERTY_MULTIVALUETABLESUFFIX, IFS_ATTRIBUTEPROPERTY_STANDARDSIMPLEPROPERTYARRAY, IFS_CLASSPROPERTY_CATEGORY_ALLOWMULTIPLEINSTANCES, IFS_CLASSPROPERTY_CATEGORY_FLAGBIT, IFS_CLASSPROPERTY_COMMONNAME, IFS_CLASSPROPERTY_CONTENTSEARCHVIEWNAME, IFS_CLASSPROPERTY_DEFINITIONCLASSNAME, IFS_CLASSPROPERTY_INSTALLEDCLASS, IFS_DOMAIN_ACCESSCONTROLLIST_BYPASSNAMEUNIQUENESSCHECK, IFS_DOMAIN_ACCESSCONTROLLIST_COMPOSITEACLSUPPORTED, IFS_DOMAIN_ACLINDEX_EVENTTARGET, IFS_DOMAIN_ACTIVITY_CURRENTACTIVITYEVENTHISTORY, IFS_DOMAIN_ACTIVITY_CURRENTPERFORMEDACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_CURRENTTRACKEDACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_DEFAULTACTIVITYSPECIFICATION, IFS_DOMAIN_ACTIVITY_DELETERECORDSUPONACTIVITYRECORDFREE, IFS_DOMAIN_APPLICATION_INITIALIZERCLASSNAME, IFS_DOMAIN_AUDIT_AUDITINGENABLED, IFS_DOMAIN_AUDITING_GLOBALAUDITEVENTEXPIRATIONPERIOD, IFS_DOMAIN_AUDITING_GLOBALAUDITTYPELIST, IFS_DOMAIN_AUDITRULEEVALUATORCLASS, IFS_DOMAIN_CONFIGURATIONCATEGORYDESCRIPTORMAPCLASSNAME, IFS_DOMAIN_CONTENTVAULTENTRY_ENCRYPTIONCIPHERCOUNT, IFS_DOMAIN_CONTROLLERSTATE_SINGLETON, IFS_DOMAIN_CREDENTIALMANAGER_ANONYMOUSUSER, IFS_DOMAIN_CREDENTIALMANAGER_ANONYMOUSUSERNAME, IFS_DOMAIN_CREDENTIALMANAGER_AUTOUSERPROVISIONINGENABLED, IFS_DOMAIN_CREDENTIALMANAGER_IDM, IFS_DOMAIN_CREDENTIALMANAGER_IDM_COUNT_LIMIT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_EXTERNALLY_SUPPORTED_ATTRIBUTES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_DIRECTORY_VENDOR, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_MEMBER_ATTRIBUTES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_NAME_ATTRIBUTE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_OBJECT_CLASSES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_GROUP_SEARCHBASES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_HOST, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_PORT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_SSL_ENABLED, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_NAME_ATTRIBUTE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_OBJECT_CLASSES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_LDAP_USER_SEARCHBASES, IFS_DOMAIN_CREDENTIALMANAGER_IDM_PAGE_SIZE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_SECURITY_PROVIDER_TYPE, IFS_DOMAIN_CREDENTIALMANAGER_IDM_TIME_LIMIT, IFS_DOMAIN_CREDENTIALMANAGER_IDM_XML_FILE_PATH, IFS_DOMAIN_CREDENTIALMANAGER_IDM_XML_REALM, IFS_DOMAIN_CREDENTIALMANAGER_IDMENABLED, IFS_DOMAIN_DEFAULT_TIMEZONE_STRING, IFS_DOMAIN_DEFAULTTEMPDIRECTORY, IFS_DOMAIN_DEFAULTWINDOWSTEMPDIRECTORY, IFS_DOMAIN_DEFINITIONCLONINGREQUIRED, IFS_DOMAIN_DIRECTORYGROUP_BYPASSNAMEUNIQUENESSCHECK, IFS_DOMAIN_DIRECTORYGROUP_GROUPMEMBERSHIPCACHEMEMBERUSESARRAYINPUTS, IFS_DOMAIN_DIRECTORYGROUP_MEMBERTHRESHOLD, IFS_DOMAIN_DIRECTORYOBJECT_ANCESTORTHRESHOLD, IFS_DOMAIN_DIRECTORYOBJECT_GROUPMEMBERSHIPCACHEANCESTORUSESARRAYINPUTS, IFS_DOMAIN_DOCUMENT_DEFINITIONOBJECTEXPIRATIONPERIOD, IFS_DOMAIN_DOCUMENT_OWNERHASREADSUPPORTED, IFS_DOMAIN_EXTRACTION_DEFAULTINFORMATIONEXTRACTIONSPECIFICATION, IFS_DOMAIN_FDKCONFIGURATIONCLASS, IFS_DOMAIN_FOLDERINDEX_EVENTTARGET, IFS_DOMAIN_LIBRARYOBJECT_AUDITSPECIFICATION_GLOBALAUDITHISTORY, IFS_DOMAIN_LIBRARYOBJECT_AUDITSPECIFICATION_OBJECTAUDITHISTORY, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSPRIVATE, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSPUBLIC, IFS_DOMAIN_LIBRARYOBJECT_CLASSACCESSCONTROLLIST_CLASSRESTRICTCREATION, IFS_DOMAIN_LIBRARYOBJECT_MEDIA_DEFAULTCONTENTMEDIA, IFS_DOMAIN_LIBRARYOBJECT_MEDIA_NONCONTENTMEDIA, IFS_DOMAIN_LIBRARYOBJECT_NODECONFIGURATION_DEFAULTNODECONFIGURATION, IFS_DOMAIN_LIBRARYOBJECT_SERVICECONFIGURATION_DEFAULTSERVICECONFIGURATION, IFS_DOMAIN_LIBRARYOBJECT_STORAGEGROUP_DEFAULTSTORAGEGROUP, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PRIVATE, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PUBLIC, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMACCESSCONTROLLIST_PUBLISHED, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMLOCKOBJECT_SYSTEMHARDLOCK, IFS_DOMAIN_LIBRARYOBJECT_SYSTEMLOCKOBJECT_SYSTEMSOFTLOCK, IFS_DOMAIN_LOCALIZER_DEFAULTEXTENDEDRESOURCEBUNDLENAMES, IFS_DOMAIN_LOCKOBJECT_ENABLED, IFS_DOMAIN_LOOKUP_CLUSTERING_PROPERTIES, IFS_DOMAIN_LOOKUP_CUSTOMLOCKTYPES, IFS_DOMAIN_LOOKUP_ORACLELOCKTYPES, IFS_DOMAIN_LOOKUP_SORTOBJECTCOLLECTION, IFS_DOMAIN_OIDCREDENTIALMANAGERAGENT_SUBSCRIBERS, IFS_DOMAIN_OPERATIONACTIONSPECIFICATION_GLOBALLIST, IFS_DOMAIN_OPERATIONACTIONSPECIFICATION_TEMPORARILYDEACTIVATED, IFS_DOMAIN_PROPERTYBUNDLE_NAME, IFS_DOMAIN_PROTOCOLS_DAV_COPYMOVETHROUGHFOLDERLINKENABLED, IFS_DOMAIN_PROTOCOLS_DAV_NULLRESOURCELOCKEXPIRATIONPERIOD, IFS_DOMAIN_PROTOCOLS_DAV_USERAGENTS, IFS_DOMAIN_RANDOMACCESSOR_EXPIRATIONPERIOD, IFS_DOMAIN_SEARCH_ATTEMPTCONTEXTSEARCHREWRITE, IFS_DOMAIN_SECURITY_SYNCHRONOUSSECURITYREFRESHENABLED, IFS_DOMAIN_SHAREDSTATEFACTORY, IFS_DOMAIN_UPGRADEINPROGRESS, IFS_DOMAIN_WORKFLOW_BPEL_CREATIONENABLED, IFS_DOMAIN_WORKFLOW_BPEL_WORKLISTURL, IFS_DOMAIN_WORKFLOW_ENABLED, IFS_DOMAIN_WORKFLOW_SCHEMANAME, IFS_DOMAIN_WS_CLEARTEXTAUTHENTICATIONREQUIRESHTTPS, IFS_HANDLER_PROPERTY_BASETIMEOFDAY, IFS_HANDLER_PROPERTY_NOTIFIEDONEVENT, IFS_HANDLER_PROPERTY_TIMEFORMAT, IFS_HANDLER_PROPERTY_TIMERPERIOD, IFS_NODE_DISABLEDINHERITEDPROPERTYNAMES, IFS_NODE_DISABLEDINHERITEDSERVERNAMES, IFS_NODE_ENABLEDINHERITEDPROPERTYNAMES, IFS_NODE_ENABLEDINHERITEDSERVERNAMES, IFS_ORACLELOCKTYPE_KEY_CHECKOUT, IFS_ORACLELOCKTYPE_KEY_DAV, IFS_ORACLELOCKTYPE_KEY_FINALIZED, IFS_ORACLELOCKTYPE_KEY_FREEZE, IFS_ORACLELOCKTYPE_KEY_HASRECORD, IFS_ORACLELOCKTYPE_KEY_LIFECYCLE, IFS_ORACLELOCKTYPE_KEY_MANUAL, IFS_ORACLELOCKTYPE_KEY_NAMEDFREEZE, IFS_ORACLELOCKTYPE_KEY_RECORD, IFS_ORACLELOCKTYPE_KEY_RETENTION, IFS_ORACLELOCKTYPE_KEY_WORKFLOW, IFS_SERVICE_ACLCACHE_EMERGENCYTRIGGER, IFS_SERVICE_ACLCACHE_NORMALTRIGGER, IFS_SERVICE_ACLCACHE_PURGETARGET, IFS_SERVICE_ACLCACHE_SIZE, IFS_SERVICE_ACLCACHE_URGENTTRIGGER, IFS_SERVICE_AUDITCERTIFICATECACHE_PURGETARGET, IFS_SERVICE_AUDITINGENABLED, IFS_SERVICE_AUDITSTRINGCACHE_PURGETARGET, IFS_SERVICE_AURORASERVICE, IFS_SERVICE_CASESENSITIVEAUTHENTICATION, IFS_SERVICE_CHECKFORORPHANSESSIONSPERIOD, IFS_SERVICE_CLONEDSESSIONRETRYPERIOD, IFS_SERVICE_CONNECTIONPOOL_READONLY_MAXIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_MAXIMUMSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_READONLY_MINIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTCACHESIZETRIGGER, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTCACHETARGET, IFS_SERVICE_CONNECTIONPOOL_READONLY_STATEMENTRESETLIMIT, IFS_SERVICE_CONNECTIONPOOL_READONLY_TARGETSIZE, IFS_SERVICE_CONNECTIONPOOL_READONLY_TARGETSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MAXIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MAXIMUMSIZETIMEOUT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_MINIMUMSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTCACHESIZETRIGGER, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTCACHETARGET, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_STATEMENTRESETLIMIT, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_TARGETSIZE, IFS_SERVICE_CONNECTIONPOOL_WRITEABLE_TARGETSIZETIMEOUT, IFS_SERVICE_CONTENTBUFFERSIZE, IFS_SERVICE_CREDENTIALMANAGER, IFS_SERVICE_CREDENTIALMANAGER_CREDENTIALNAMETOKENIZER, IFS_SERVICE_CREDENTIALMANAGER_NAMES, IFS_SERVICE_DATACACHE_EMERGENCYTRIGGER, IFS_SERVICE_DATACACHE_NORMALTRIGGER, IFS_SERVICE_DATACACHE_PURGETARGET, IFS_SERVICE_DATACACHE_SIZE, IFS_SERVICE_DATACACHE_URGENTTRIGGER, IFS_SERVICE_DEFAULTCHARACTERSET, IFS_SERVICE_DEFAULTLANGUAGE, IFS_SERVICE_EVENTEXCHANGER, IFS_SERVICE_EVENTSTATEMENTRESETLIMIT, IFS_SERVICE_GROUPMEMBERSHIPCACHEANCESTORTHRESHOLD, IFS_SERVICE_GROUPMEMBERSHIPCACHEANCESTORUSESARRAYINPUTS, IFS_SERVICE_GROUPMEMBERSHIPCACHEENABLED, IFS_SERVICE_GROUPMEMBERSHIPCACHEMEMBERTHRESHOLD, IFS_SERVICE_GROUPMEMBERSHIPCACHEMEMBERUSESARRAYINPUTS, IFS_SERVICE_JDBC_DEFAULTROWPREFETCH, IFS_SERVICE_JDBC_DRIVER, IFS_SERVICE_JDBC_DRIVERTYPE, IFS_SERVICE_JDBC_TRACINGENABLED, IFS_SERVICE_LOCKTIMEOUTPERIOD, IFS_SERVICE_MAXIMUMCLONEDSESSIONS, IFS_SERVICE_MAXIMUMCONCURRENTSESSIONS, IFS_SERVICE_MAXIMUMPOOLEDCONTENTBUFFERSPERSESSION, IFS_SERVICE_ORPHANSESSIONTIMEOUTPERIOD, IFS_SERVICE_POLLFOREVENTSFROMOTHERSERVICESPERIOD, IFS_SERVICE_QUOTACHECKFREQUENCYINBYTES, IFS_SERVICE_SERVICECONFIGURATIONNAME, IFS_SERVICE_SERVICEKEEPALIVEEVENTPERIOD, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_ISMANGEDBYSERVER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_PURGETARGET, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_SIZE, IFS_SERVICE_SESSION_BEANSOBJECTCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_BEANSSESSION, IFS_SERVICE_SESSION_DATACACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_DATACACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_DATACACHE_PURGETARGET, IFS_SERVICE_SESSION_DATACACHE_SIZE, IFS_SERVICE_SESSION_DATACACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_DEFAULTSEARCHTIMEOUTPERIOD, IFS_SERVICE_SESSION_EVENTPOLLER, IFS_SERVICE_SESSION_EVENTPOLLERPERIOD, IFS_SERVICE_SESSION_FOLDERITEM_CACHING_ENABLED, IFS_SERVICE_SESSION_FOLDERPATHCACHE_ENABLED, IFS_SERVICE_SESSION_FOLDERPATHCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_FOLDERPATHCACHE_PURGETARGET, IFS_SERVICE_SESSION_FOLDERPATHCACHE_SIZE, IFS_SERVICE_SESSION_FOLDERPATHCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_EMERGENCYTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_NORMALTRIGGER, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_PURGETARGET, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_SIZE, IFS_SERVICE_SESSION_SERVEROBJECTCACHE_URGENTTRIGGER, IFS_SERVICE_SESSION_SERVERSESSION, IFS_SERVICE_SESSION_TRANSACTIONSTACKSIZE, IFS_SERVICE_SESSIONOPERATIONTIMEOUTPERIOD, IFS_SERVICE_TRACING_BEANSSESSIONTRACETYPE, IFS_SERVICE_TRACING_CHANNELCOUNT, IFS_SERVICE_TRACING_CHANNELLEVEL, IFS_SERVICE_TRACING_DEFAULTTRACELEVEL, IFS_SERVICE_TRACING_SERVERSESSIONTRACETYPE, IFS_SERVICE_TRACING_SERVICETRACETYPE, IFS_SERVICE_TRANSPORTBATCHSIZE, IFS_SERVICE_TRANSPORTEVENTSTOOTHERSERVICESPERIOD, IFS_SESSIONSTATE_APPLICATION_SESSIONID, IFS_SESSIONSTATE_AUDIT_DOMAIN_DEFAULT, IFS_SESSIONSTATE_OPERATIONS_COPYTABLE, IFS_SESSIONSTATE_OPERATIONS_FREETABLE, IFS_SESSIONSTATE_OPERATIONS_UPDATETABLE, INFORMATIONEXTRACTIONENTITYPHRASE_INDEX_PREFIX, INFORMATIONEXTRACTIONENTITYPHRASE_TABLE_PREFIX, LIBRARYOBJECT_INDEXNAME_PREFIX, LIBRARYOBJECT_TABLENAME_PREFIX, LIBRARYOBJECT_VIEWNAME_PREFIX, LOCKTYPE_CHECKOUT, LOCKTYPE_CUSTOM, LOCKTYPE_DAV, LOCKTYPE_FAMILYHASRECORD, LOCKTYPE_FINALIZED, LOCKTYPE_FREEZE, LOCKTYPE_HAS_RECORD, LOCKTYPE_LIFECYCLE, LOCKTYPE_MANUAL, LOCKTYPE_NAMEDFREEZE, LOCKTYPE_RECORD, LOCKTYPE_RETENTION, LOCKTYPE_WORKFLOW, MAPVALUES_TABLENAME_PREFIX, PERFORMEDACTIVITY_PRIVATEACTIONINDEX_PREFIX, PERFORMEDACTIVITY_PRIVATEACTIONTABLE_PREFIX, PERFORMEDACTIVITY_SEQUENCE_PREFIX, PERFORMEDACTIVITY_SUMMARYTABLE_PREFIX, PERFORMEDACTIVITY_TABLE_PREFIX, PERFORMEDACTIVITY_VIEW_PREFIX, PUBLIC_SESSIONSTATE_APPLICATION_CONTEXT, PUBLIC_SESSIONSTATE_APPLICATION_USERIDENTIFER, PUBLICOBJECT_BASESECUREVIEWNAME_PREFIX, PUBLICOBJECT_BASEVIEWNAME_PREFIX, PUBLICOBJECT_SECUREVIEWNAME_PREFIX, PUBLICOBJECT_UNDELETED_SECUREVIEWNAME_PREFIX, PUBLICOBJECT_UNDELETED_VIEWNAME_PREFIX, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_CHECKOUT, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_DAV, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_FINALIZED, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_FREEZE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_HASRECORD, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_LIFECYCLE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_MANUAL, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_NAMEDFREEZE, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_RECORD, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_RETENTION, RESOURCEKEY_IFS_ORACLELOCKTYPE_DESCRIPTION_WORKFLOW, SYSTEMLOCK_NAME_FINALIZED, SYSTEMLOCK_NAME_FREEZE, SYSTEMLOCK_NAME_HAS_RECORD, SYSTEMLOCK_NAME_LIFECYCLE, SYSTEMLOCK_NAME_RECORD, SYSTEMLOCK_NAME_RETENTION, TRACKEDACTIVITY_PRIVATEACTIONINDEX_PREFIX, TRACKEDACTIVITY_PRIVATEACTIONTABLE_PREFIX, TRACKEDACTIVITY_SEQUENCE_PREFIX, TRACKEDACTIVITY_SUMMARYTABLE_PREFIX, TRACKEDACTIVITY_TABLE_PREFIX, TRACKEDACTIVITY_VIEW_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
LibrarySession(S_LibrarySessionInterface ssess,
Credential credential,
ConnectOptions options,
String serviceName)
Construct a LibrarySession object.
|
Modifier and Type | Method and Description |
---|---|
void |
abortImplicitTransaction(Transaction transaction)
Aborts an implicit transaction.
|
void |
abortTransaction(Transaction transaction)
Aborts a transaction.
|
void |
abortTransaction(Transaction transaction,
IfsException originalException)
Aborts a transaction in response to the specified IfsException.
|
void |
applyAclIndexDeferredUpdate(AccessControlListDeferredUpdate entry,
boolean deleteAfterProcessing)
Apply an ACL index deferred update
|
void |
applyFolderIndexDeferredUpdate(FolderIndexDeferredUpdate entry)
Apply a Folder index deferred update
|
Transaction |
beginImplicitTransaction()
Starts a writeable transaction implicitly at the beginning of an
operation.
|
Transaction |
beginTransaction()
Starts a writeable transaction.
|
void |
blockBackgroundProcessing()
Blocks any background event processing.
|
protected LibraryObject |
cacheInstance(Long id,
LibraryObject obj)
Put a LibraryObject Instance in the session's object cache.
|
void |
cancel()
Cancel any server-side operation in progress for this session.
|
Hashtable |
captureSessionState()
Capture the current session state for the session.
|
void |
clearCopyContext(Long id)
Remove the context of a copy operation for the specified object.
|
void |
clearCreateContext(Long id)
Remove the context of a create operation for the specified object.
|
void |
clearFreeContext(Long id)
Remove the context of a free operation for the specified object.
|
void |
clearRaciSessionContext(RandomAccessContentInterface raci)
Deprecated.
CMSDK 10gR2: use RandomAccessor
|
void |
clearSharedCaches()
Inform service to clear its shared caches.
|
void |
clearUpdateContext(Long id)
Remove the context of an update operation for the specified object.
|
protected LibrarySession |
cloneSession()
Clone a new session based on the user of the current session.
|
void |
commit()
Makes all pending changes for all in-progress Transactions for this
LibrarySession visible to all other LibrarySessions.
|
void |
completeImplicitTransaction(Transaction transaction)
Completes an implicit transaction.
|
void |
completeTransaction(Transaction transaction)
Completes a transaction.
|
LibraryObject |
constructInstance(Long id,
Long class_id,
S_ClassObjectData classData)
construct a LibraryObject Instance
|
protected LibraryObject |
constructInstance(S_LibraryObjectData data)
construct a LibraryObject Instance
|
void |
createClonedSession()
Creates a cloned session without reserving it, which will increase the
number of pooled cloned sessions.
|
Credential |
createCredential(DirectoryUser user)
Return a credential that can be used to create a new session
for the specified user, using the current session's service.
|
Credential |
createCredential(LibraryService service,
DirectoryUser user)
Return a credential that can be used to create a new session
for the specified user.
|
Credential |
createGuestCredential()
Create a new credential based on the "guest" user.
|
LibrarySession |
createGuestSession()
Create a new session based on the "guest" user.
|
LibrarySession |
createGuestSession(ConnectOptions options)
Create a new session based on the "guest" user.
|
PublicObject |
createPublicObject(PublicObjectDefinition def)
Create a new public object.
|
void |
createRetainedEventDatabaseObjects(RetainedEvent event)
Create tables for a RetainedEvent type.
|
SchemaObject |
createSchemaObject(SchemaObjectDefinition def)
Create a new schema object.
|
LibrarySession |
createSession()
Create a new session based on the user of the current session.
|
LibrarySession |
createSession(DirectoryUser user)
Create a new session for the specified user.
|
LibrarySession |
createSession(DirectoryUser user,
ConnectOptions options)
Create a new session for the specified user.
|
SimpleObject |
createSimpleObject(SimpleObjectDefinition def)
Create a new simple object.
|
SystemObject |
createSystemObject(SystemObjectDefinition def)
Create a new system object.
|
void |
createView(ViewSpecification vsp)
Creates a database view from a View specification.
|
void |
delete(PublicObject[] items)
Deletes all the passed PublicObjects.
|
void |
deleteAclIndexDeferredUpdates(Long[] ids)
Deletes a set of Deferred ACL Resolution Entries
|
void |
deleteRepositoryParameter(String name)
Deletes the specified repository parameter.
|
void |
deleteRetainedEvent(RetainedEvent event)
delete a RetainedEvent.
|
void |
deregisterClassEventHandler(ClassObject co,
boolean includeSubclasses,
IfsEventHandler handler)
Deregisters the specified IfsEventHandler for the specified
class.
|
void |
deregisterCollection(Collection collection,
String classname)
Deregisters a collection, cancelling the event registration.
|
void |
deregisterEventHandler(LibraryObject lo,
IfsEventHandler handler)
Deregisters the specified IfsEventHandler for the specified
LibraryObject.
|
void |
deregisterServiceEventHandler(IfsEventHandler handler)
Deregisters the specified IfsEventHandler.
|
Long |
directlyDispatchAuditEvent(AuditEvent event,
Long specId)
Directly dispatch an AuditEvent to the specified Event History.
|
boolean |
disconnect()
Disconnects the session, effectively disposing the instance.
|
void |
disconnectBestEffort()
Disconnects the session, effectively disposing the instance.
|
protected void |
DMAbortTransaction(Transaction transaction)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMaddAccessControlEntry(Long id,
Long classId,
S_LibraryObjectDefinition sdef)
Invokes the identically-named remote S_LibrarySession method.
|
Long |
DMAddAttributeToClassObject(Long id,
S_LibraryObjectDefinition def)
Adds an Attribute to an existing ClassObject.
|
protected void |
DMAddFolderRelationship(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMAddManualTextIndexing(Long id,
Long classId,
ContentStreamSerializer css)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMAddMembersToDirectoryGroup(Long group_id,
Long classid,
Long[] rightObjIds,
Long[] rightObjClassids)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMAddMemberToDirectoryGroup(Long group_id,
Long classid,
Long rightObj,
Long rightObjClassid)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMAddRelationship(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMAddToFolder(Long folder_id,
Long classid,
Long rightObj,
Long rightObjClassid)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMApplyAclIndexDeferredUpdate(AccessControlListDeferredUpdate entry,
boolean deleteAfterProcessing)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMApplyFolderIndexDeferredUpdate(FolderIndexDeferredUpdate entry)
Invokes the identically-named remote S_LibrarySession method.
|
protected Transaction |
DMBeginTransaction(boolean writeable)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCalculateConsumedStorage(Long id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMCheckExistenceOfPublicObjectByPath(Long folder_id,
Long classid,
String path)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCloseFolder(Long folder_id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCloseSearch(Long id)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCloseSelector(long cursorId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCommit()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCompleteTransaction(Transaction transaction)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMConvertToPrivateACL(Long id,
Long classId,
S_LibraryObjectDefinition sdef)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMCopyLibraryObject(Long id,
Long classId,
S_LibraryObjectDefinition sdef)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMCreateDefaultPolicyPropertyBundle(Long id,
Long classId)
Deprecated.
CM SDK 10gR2: see release notes for changes to Policy framework
|
protected S_LibraryObjectData |
DMCreateDefaultPropertyBundle(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMCreateRetainedEventDatabaseObjects(RetainedEvent event)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMCreateView(ViewSpecification vsp)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDelete(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDeleteAclIndexDeferredUpdates(Long[] ids)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDeleteRepositoryParameter(String name)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDeleteRetainedEvent(RetainedEvent event)
Invokes the identically-named remote S_LibrarySession method.
|
protected oracle.sql.ORAData |
DMDequeueMessage(Long id,
Long classId,
String subscriberName)
Invokes the identically-named remote S_LibrarySession method.
|
protected oracle.sql.ORAData |
DMDequeueMessageFromExceptionQueue(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMDeregisterClassEventHandler(Long classId)
Notify server-side that previously registered event handlers for the specified
ClassObject have been de-registered.
|
void |
DMDeregisterEventHandler(Long id)
Notify server-side that previously registered event handlers for the specified
object have been de-registered.
|
protected void |
DMDeregisterServiceEventHandler(IfsEventHandler handler)
Notify server-side to de-register a Service event handler.
|
protected Long |
DMDirectlyDispatchAuditEvent(AuditEvent event,
Long specId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDisconnect()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMDisposeSearch(Long id)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMDropRetainedEventDatabaseObjects(RetainedEvent event)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMEmptyWastebasket()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMEnqueueMessage(Long id,
Long classId,
oracle.sql.ORAData message)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMEnqueueMessage(Long id,
Long classId,
oracle.sql.ORAData message,
String correlation)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMFeignUser(Long id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMfetchACEs(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMFetchPolicyListElements(Long policyListId,
Long policyListClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMFetchProperties(Long propertyBundleId,
Long propertyBundleClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMfetchRevisions(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMfetchVersionSerieses(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMFilterContent(Long contentId,
Long contentClassId,
boolean plaintext,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMFilterDeletedObjects(boolean mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMFindPublicObjectByPath(Long folder_id,
Long classid,
String path)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMFlushEvents()
Invokes the identically-named remote S_LibrarySession method.
|
boolean |
DMFolderHasSubFolders(Long folder_id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMForceReadEvents()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMFree(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMGenerateSummary(Long contentId,
Long contentClassId,
String pointOfView,
long sizeAsPercent,
long sizeAsNumParagraphs,
String summaryLevel,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMGenerateThemes(Long contentId,
Long contentClassId,
boolean fullThemes,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected AccessLevel |
DMGetAccessLevel(Long id,
Long classId,
Long userId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetAclIndexDeferredUpdates(int maxItems)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetAllAncestorsOfDirectoryObject(Long id,
Long userid)
Invokes the identically-named remote S_LibrarySession method.
|
protected String[] |
DMGetAllFolderPaths(Long id,
Long classid,
Long folderRefId,
Long folderRefClassid,
FolderPathOptions fpo,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetAllMembersOfDirectoryGroup(Long id,
Long classid,
boolean filterForDiscoverability)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMGetAncestorThreshold()
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMGetAnyFolderPath(Long id,
Long classid,
Long folderRefId,
Long folderRefClassid,
FolderPathOptions fpo,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetArrayReferencingObjects(Long attributeId,
AttributeValue referencedValue,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue |
DMGetArrayTypeAttributeValue(long objectId,
long attributeId,
Long priClassId,
int count)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetAttributesRsn()
Invokes the identically-named remote S_LibrarySession method.
|
protected AuditCertificate[] |
DMGetAuditCertificates(Long[] objectIds)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue[] |
DMGetAuditTypesForClass(String className,
boolean includeNested)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue[] |
DMGetAuditTypesForCreateOperations()
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue[] |
DMGetAuditTypesForFreeOperations()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetCategoryIds(Long id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMGetClockOffset()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetCompositeAclIds(Long id,
Long classid,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetConsumedStorage(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected RandomAccessor |
DMGetContentByRandomAccess(Long coId,
Long coClassId,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMGetContentReader(Long id,
Long classId,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMGetContentStream(Long id,
Long classId,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue[] |
DMGetCustomAuditTypes()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetDirectAncestorsOfDirectoryObject(Long id,
Long userid)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetDirectMembersOfDirectoryGroup(Long id,
Long userid,
boolean filterForDiscoverability)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetDirectoryUserData()
Invokes the identically-name remote S_LibrarySession method.
|
protected Long[] |
DMGetDiscoverabilityOfPublicObjectsIds(Long[] ids)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetEffectiveClassPolicyListElements(Long id,
Long classId,
String operation)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetEffectivePolicyListElements(Long id,
Long classId,
String operation)
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMGetEncryptedRepositoryParameter(String name)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetExpiredTimedLocks(int maxItems,
int offset)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMGetFilteredContent(Long contentId,
Long contentClassId,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetFolderIndexDeferredUpdates(int maxItems)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetFolderItemCount(Long folder_id,
Long classId,
String folderRelClassname)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetFolderItemList(Long folder_id,
Long classid,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetFolderReferences(Long publicObject_id,
Long classid,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetHighestAuditId()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetIdsForNewObjects(int length)
Invokes the identically-named remote S_LibrarySession method.
|
Date |
DMGetLastAccessDate(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetLeftwardRelationshipObjects(Long id,
Long classId,
Long relClassId,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetLeftwardRelationships(Long id,
Long classId,
Long relClassId,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetLeftwardRelationshipsCount(Long id,
Long classId,
Long relClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMgetLibraryObjectData(Long id,
Long classId,
String attributeName,
boolean selectFully)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long[] |
DMGetLinks(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetLockedForSessionObjects()
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue |
DMGetMapTypeAttributeValue(int dataType,
long objectId,
long attributeId,
int count)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMGetMemberThreshold()
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMGetNLSDatabaseParameterValue(String parameter)
Invokes the identically-named remote S_LibrarySession method.
|
protected ObjectReferenceAttributeValue |
DMGetObjectReferenceAttribute(Long id,
Long classId,
String attrName)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetOurPrimaryUserProfile()
Invokes the identically-named remote S_LibrarySession method.
|
Long |
DMGetPartitionValue(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMGetPreparedSelectorItemCount(String statementKey,
boolean distinct,
AttributeValue searchTarget,
AttributeValue[] auxSearchTargets,
String[] bypassSecAliases,
String joinCondition,
String searchDefinition,
boolean recursive,
String hint,
AttributeValue[] bindValues)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValueTable[] |
DMGetPreparedSelectorResults(String statementKey,
boolean distinct,
AttributeValue searchTarget,
AttributeValue[] auxSearchTargets,
ColumnDescriptor[] colDescs,
String[] bypassSecAliases,
String joinCondition,
String searchDefinition,
boolean recursive,
String language,
int maxItemCount,
int rowNumber,
String hint,
SortSpecification sort,
AttributeValue[] bindValues)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetPrimaryUserProfile(Long id)
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue |
DMGetProperty(Long propertyBundleId,
Long propertyBundleClassId,
String propertyName)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetPublicObjectData(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetPublicObjectsReferringToLockObject(Long id,
Long classid,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMGetRepositoryParameter(String name)
Invokes the identically-named remote S_LibrarySession method.
|
protected String[] |
DMGetRepositoryParameterNames(String prefix)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_ClassObjectData |
DMGetResolvedClassObjectData(Long id)
Invokes the identically-named remote S_LibrarySession method.
|
protected RetainedEvent[] |
DMGetRetainedEvents(RetainedEvent event,
int maxItems)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetRightwardRelationshipObjects(Long id,
Long classId,
Long relClassId,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMGetRightwardRelationships(Long id,
Long classId,
Long relClassId,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
String |
DMGetSchemaName()
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetSchemaObjectData(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMgetSearchItemCount(Long id,
Vector bindValues,
String language,
int timeout)
Invokes the identically-named remote S_LibrarySession method.
|
protected SearchSpecification |
DMGetSearchSpecification(Long srchId)
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMgetSearchSQLString(Long id)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetSelectorItemCount(String searchClass,
String searchDefinition,
boolean recursive)
Invokes the identically-named remote S_LibrarySession method.
|
protected Hashtable |
DMGetServiceConfigurationProperties()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMGetServiceId()
Invokes the identically-named remote S_LibrarySession method.
|
protected int[] |
DMGetServiceTraceLoggerLevels()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMGetSessionId()
Invokes the identically-named remote S_LibrarySession method.
|
protected int[] |
DMGetSessionTraceLoggerLevels()
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetSimpleObjectData(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectDefinition |
DMGetSLibraryObjectDefinition(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetSubfolderCount(Long folder_id,
Long classId,
String folderRelClassname)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMGetSummary(Long contentId,
Long contentClassId,
String pointOfView,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMGetSystemObjectData(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContextTheme[] |
DMGetThemes(Long contentId,
Long contentClassId,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMGetTotalFolderItemCount(Long folder_id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMGetWastebasketSelectorItemCount(String searchClass,
String searchDefinition,
boolean recursive)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMGrantAdmin(Long userid)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMHandleAuditEventDispatchRequests(ArrayList reqList,
String tableName)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMInsertRetainedEvent(RetainedEvent event)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMIntegrateIntoVersionSeries(Long sid,
Long sclassId,
Long tid,
Long tclassId)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMInvalidateTokenCredentials(Long userId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Object |
DMInvokeOperation(Long id,
Long classId,
OperationContext op)
Invokes the identically-named remote S_LibrarySession method.
|
protected Serializable |
DMInvokeServerMethod(Long id,
Long classId,
String methodName,
Serializable payload)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsAclIndexUpdateModeSynchronous()
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsArrayInputsUsedForAncestorSelection()
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsArrayInputsUsedForMemberSelection()
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsAttributeValueInValueDomain(Long id,
Long classId,
AttributeValue av)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsContentReadByUser(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsContextIndexEnabled()
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsDirectMemberOfDirectoryGroup(Long groupId,
Long groupClassId,
Long userId,
Long userClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsExecutionMode(int mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsInstanceOfClassVersionable(Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsLockObjectShared(Long id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsMemberOfDirectoryGroup(Long groupId,
Long groupClassId,
Long userId,
Long userClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsTransactionInProgress()
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMIsVersionable(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMListItems(Long folder_id,
Long classid,
String folderRelClassname,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMListPreparedSelectorItems(String statementKey,
boolean distinct,
AttributeValue searchTarget,
AttributeValue[] auxSearchTargets,
String[] bypassSecAliases,
String joinCondition,
String searchDefinition,
boolean recursive,
String language,
int maxItemCount,
int rowNumber,
String hint,
SortSpecification sort,
AttributeValue[] bindValues)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMListSelectorItems(String searchClass,
String searchDefinition,
boolean recursive,
int maxItemCount,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMListWastebasketSelectorItems(String searchClass,
String searchDefinition,
boolean recursive,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMLockRows(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected String[] |
DMLookupAuditEventOperationTypeKeys(int[] opTypes)
Invokes the identically-named remote S_LibrarySession method.
|
protected int[] |
DMLookupAuditEventOperationTypes(String[] keys)
Invokes the identically-named remote S_LibrarySession method.
|
AuditTargetCode |
DMLookupAuditTargetCode(String className)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewBranchedVersionSeries(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMNewContentStreamSerializer()
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewPublicObject(S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewRevision(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewSchemaObject(S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMNewSearch()
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMNewSearchFromObject(Long srchObjId)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewSimpleObject(S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewSystemObject(S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNewVersionSeries(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNextFolderItem(Long folder_id,
Long classid)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMNextSearchItems(Long id,
int batchCount)
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMNextSelectorBatch(long cursorId,
int batchSize)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectData |
DMNextSelectorItem(long cursorId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMOpenFolder(Long folder_id,
Long classid,
String folderRelClassname,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMOpenSearch(Long id,
Vector bindValues,
String language,
int timeout)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMOpenSelector(String searchClass,
String searchDefinition,
boolean recursive,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMOpenWastebasketSelector(String searchClass,
String searchDefinition,
boolean recursive,
SortSpecification sort)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMPersistTokenCredential(TokenCredential credential)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPopTemporaryAccessCheckMode()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPopTemporaryExecutionMode()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPostAuditEvent(AuditEvent event,
int mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPostEvent(IfsEvent event)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMProcessEvents()
Invokes the identically-named remote S_LibrarySession method.
|
protected Vector |
DMProcessEventsInBackground()
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPushTemporaryAccessCheckMode(boolean mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMPushTemporaryExecutionMode(int mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRandomAccessorClose(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRandomAccessorDispose(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMRandomAccessorGetContentObjectId(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected Long |
DMRandomAccessorGetDocumentId(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMRandomAccessorIsWriteable(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMRandomAccessorLength(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMRandomAccessorRead(S_RandomAccessorImpl ra,
long pos,
byte[] b,
int off,
int len)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRandomAccessorSetSession(S_RandomAccessorImpl ra)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRandomAccessorTruncate(S_RandomAccessorImpl ra,
long len)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRandomAccessorWrite(S_RandomAccessorImpl ra,
long pos,
byte[] b,
int off,
int len)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMReassociateLinks(Long oldId,
Long oldClassId,
Long newId,
Long newClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected boolean |
DMReauthenticate(Credential credential,
ConnectOptions options)
Invokes the identically-named remote S_LibrarySession method.
|
protected int |
DMRegisterAuditEventOperationType(String opTypeKey,
int targetCode,
String targetClass,
int opCode,
Boolean createOrFree)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMRegisterClassEventHandler(Long classId)
Notify server-side of a registered event handler for the specified
ClassObject.
|
protected int |
DMRegisterCustomAuditEventOperationCodeKey(String opCodeKey)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMRegisterEventHandler(Long id)
Notify server-side of a registered event handler for the specified
object.
|
protected void |
DMRegisterServiceEventHandler(IfsEventHandler handler)
Notify server-side of a new registered Service event handler.
|
protected int |
DMReleaseExpiredLockObject(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveAccessControlEntry(Long id,
Long classId,
Long aceId,
Long aceClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMremoveAllAccessControlEntries(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMRemoveAttributeFromClassObject(Long id,
S_LibraryObjectDefinition def)
Removes an Attribute from an existing ClassObject.
|
protected void |
DMRemoveAuditEvents(long[] eventIds,
String tableName)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveAuditEventsForTarget(Long specId,
Long targetId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveFromFolder(Long folder_id,
Long classid,
Long rightObj,
Long rightObjClassid,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveMemberFromDirectoryGroup(Long group_id,
Long classid,
Long rightObj,
Long rightObjClassid)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveMembersFromDirectoryGroup(Long group_id,
Long classid,
Long[] rightObjIds,
Long[] rightObjClassids)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveRawAuditEvents(RawAuditEvent[] rawEvents)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRemoveRelationship(Long id,
Long classId,
Long relId,
Long relClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected ContentStreamSerializer |
DMRender(Long id,
Long classId,
String rendererType,
String rendererName,
Hashtable options,
boolean reader)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMReserveNext(Long id,
Long classId,
String contentPath,
String comment)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMResolveObjects(Long[] ids,
Long[] classIds,
ObjectResolverSpecification spec)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMRollback()
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMSchemaVersionNumber()
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMSchemaVersionString()
Invokes the identically-named remote S_LibrarySession method.
|
protected AttributeValue[] |
DMSelectAggregateAuditEventColumns(Long auditSpec,
String aggFuncName,
String[] columnNames,
String[] aggColumnNames,
String filterClause,
String sortClause)
Invokes the identically-named remote S_LibrarySession method.
|
protected AuditEvent[] |
DMSelectAuditEvents(Long auditSpec,
String filterClause,
AttributeValue[] bindValues,
String sortClause,
int maxItems)
Invokes the identically-named remote S_LibrarySession method.
|
protected RawAuditEvent[] |
DMSelectRawAuditEvents(String filterClause,
int maxItems)
Invokes the identically-named remote S_LibrarySession method.
|
protected AuditFolderPath |
DMSelectSpecificAuditFolderPath(long folderPathId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSendClientVersionInformation(long versionNumber,
String versionString)
Invokes the identically-named remote S_LibrarySession method.
|
protected S_LibraryObjectDefinition |
DMSetAttributes(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetContentReadByUser(Long id,
Long classId,
boolean readState,
Long refObjId,
Long refObjClassId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetEncryptedRepositoryParameter(String name,
String value)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetExecutionMode(int mode)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetLibrarySession(LibrarySession session)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetRepositoryParameter(String name,
String value)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetSearchSpecification(Long srchId,
SearchSpecification sp)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetServiceTraceLoggerLevels(int[] levels)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMSetSessionTraceLoggerLevels(int[] levels)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMTrace(int channel,
int level,
Long serviceId,
Long sessionId,
Long id,
String classname,
String payload)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMUndelete(Long id,
Long classId,
S_LibraryObjectDefinition def)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMUnregisterAuditEventOperationType(String opTypeKey)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMUnReserve(Long id,
Long classId)
Invokes the identically-named remote S_LibrarySession method.
|
protected void |
DMupdateAccessControlEntry(Long id,
Long classId,
Long aceId,
Long aceClassId,
S_LibraryObjectDefinition sdef)
Invokes the identically-named remote S_LibrarySession method.
|
protected RandomAccessor |
DMUpdateContentByRandomAccess(Long docId,
Long docClassId,
S_LibraryObjectDefinition sdocdef,
Long expirationPeriod)
Invokes the identically-named remote S_LibrarySession method.
|
void |
DMUpdateLocalizer(Hashtable properties)
Updates the S_LibrarySession Localizer to reflect the Localizer
properties specified as name/value pairs.
|
void |
DMUpdateSessionDefaults(Hashtable properties)
Invokes the identically-named remote S_LibrarySession method.
|
protected long |
DMVersionNumber()
Invokes the identically-named remote S_LibrarySession method.
|
protected String |
DMVersionString()
Invokes the identically-named remote S_LibrarySession method.
|
void |
dropRetainedEventDatabaseObjects(RetainedEvent event)
Drop tables for a RetainedEvent type.
|
void |
emptyWastebasket()
Empty the wastebasket.
|
boolean |
equals(LibrarySession otherSession)
Compares whether two LibrarySessions are the same by comparing IDs.
|
Hashtable |
establishSessionState(Hashtable stateMap)
Establish session state for the session.
|
void |
flushEvents()
Flushes any outgoing events to the database.
|
void |
forceReadEvents()
Forces a read and processing of incoming events from
other services.
|
void |
free(LibraryObject[] items)
Free all the passed objects.
|
Vector |
getAclIndexDeferredUpdates(int maxItems)
Gets a set of Deferred ACL Resolution Entries
|
int |
getAncestorThreshold()
Gets the threshold for using a temp table to select all (recursive) ancestors
of a directory object.
|
int |
getApplicationMode()
Gets the application mode for the session.
|
String |
getApplicationName()
Gets the name of the application that created this session.
|
AttributeValue |
getArrayTypeAttributeValue(AttributeValueArray av,
long objectId,
long attributeId,
Long priClassId,
int count)
Gets a fully resolved array-type AttributeValue with non-transient
elements that is a copy of the specified array-type AttributeValue.
|
String |
getAttributeSortName(String classname,
String attributename)
return the Database object name that corresponds to
an Attribute of a specified ClassObject.
|
long |
getAttributesRsn()
Gets the resolution sequence number at which an attribute
was last added or removed.
|
AuditCertificate[] |
getAuditCertificates(Long[] objectIds)
Select AuditCertificates for the specified object IDs.
|
AttributeValue[] |
getAuditTypesForClass(String className,
boolean includeNested)
Gets the audit operation type values for a specified
class name, optionally including any types that are
applicable to a class that is considered a descendent of the
specified class.
|
AttributeValue[] |
getAuditTypesForCreateOperations()
Gets the audit operation type values that correspond to "CREATED"
operations.
|
AttributeValue[] |
getAuditTypesForFreeOperations()
Gets the audit operation type values that correspond to "FREE" operations.
|
CachePerformance |
getBeanLibraryObjectDataCachePerformance()
Gets the cache performance object for the bean LibraryObjectData cache.
|
Collection |
getClassAccessControlListCollection()
Gets a reference to the ClassAccessControlList collection.
|
Collection |
getClassDomainCollection()
Gets a reference to the ClassDomain collection.
|
ClassObject |
getClassObject(Long classid)
Gets the ClassObject for the specified class id.
|
ClassObject |
getClassObjectByName(String className)
Returns a class object given a class name, throwing an exception
if not found.
|
ClassObject |
getClassObjectByName(String className,
boolean enforce)
Returns a class object given a class name, optionally returning null
if not found.
|
Collection |
getClassObjectCollection()
Gets a reference to the ClassObject collection.
|
AttributeValue |
getClassObjectValueByName(String name)
Gets an AttributeValue representation of a CLASSOBJECT that has the
specified name.
|
Long |
getClockOffset()
Gets the clock offset, representing the number of milliseconds the
DBMS clock is ahead of this mid tier.
|
ClonedLibrarySessionInfo |
getClonedLibrarySessionInfo()
Gets the ClonedLibrarySessionInfo for this session.
|
ConfigurationCategoryDescriptor |
getConfigurationCategoryDescriptor(String className)
Gets the ConfigurationCategoryDescriptor for the specified
ConfigurationCategory class name.
|
LibraryObjectDefinition |
getCopyContext(Long id)
Get the context of a copy operation, if a copy is in progress for the
specified object.
|
LibraryObjectDefinition |
getCreateContext(Long id)
Get the context of a create operation, if a create is in progress for the
specified object.
|
Actor |
getCurrentActor()
Gets the current Actor in effect for this session.
|
Folder |
getCurrentAuditDomainContext()
Gets the current "Audit Domain" context for the session's user.
|
Date |
getCurrentDate()
Gets the current Date, with the clock offset applied.
|
Folder |
getCurrentOrDefaultAuditDomainContext()
Gets the current or default "Audit Domain" context for the session's user.
|
long |
getCurrentTimeMillis()
Gets the current time in milliseconds, with the clock offset applied.
|
AttributeValue[] |
getCustomAuditTypes()
Gets the custom audit operation type values.
|
String |
getDatabaseCharacterSet()
Returns the Iana character set of the database.
|
Media |
getDefaultContentMedia()
Get the default content Media instance.
|
ContentQuota |
getDefaultContentQuota()
Gets the session's default ContentQuota, set via setDefaultContentQuota().
|
String |
getDefaultFolderRelationshipClassname()
Deprecated.
CM SDK 10g: no replacement functionality; FolderPathRelationship
is now used as the class name
|
SortSpecification |
getDefaultFolderSortSpecification()
get the default SortSpecification
that is used by default for all Folder selection operations.
|
DirectoryObject |
getDirectoryObject(Long id)
Lookup a DirectoryObject by its id.
|
DirectoryObjectInterface |
getDirectoryObjectInterface(Long id)
Gets the DirectoryObjectInterface for the specified id.
|
DirectoryObjectInterface[] |
getDirectoryObjectInterfaces(Long[] ids)
Gets the DirectoryObjectInterfaces for the specified ids.
|
DirectoryUser |
getDirectoryUser()
Return the user associated with the current session.
|
Collection |
getDirectoryUserCollection()
Gets a reference to the DirectoryUser collection.
|
Long[] |
getDiscoverabilityOfPublicObjectsIds(Long[] ids)
Return indication as to which PublicObject objects specified (by ID) the
current user can discover.
|
PropertyBundle |
getDomainPropertyBundle()
Gets the domain PropertyBundle.
|
AttributeValue |
getDomainPropertyValue(String name)
Gets the value of a domain property, by name.
|
String |
getEncryptedRepositoryParameter(String name)
Gets the value of the specified repository parameter.
|
oracle.ifs.beans.LibrarySessionEventPoller |
getEventPoller()
Gets the event poller for this LibrarySession.
|
Collection |
getExtendedPermissionCollection()
Gets a reference to the ExtendedPermission collection.
|
Collection |
getExtendedUserProfileCollection()
Gets a reference to the ExtendedUserProfile collection.
|
Vector |
getFolderIndexDeferredUpdates(int maxItems)
Gets a set of Deferred Folder Index Updates
|
String |
getFolderPathDelimiter()
Gets the current session's folder path delimiter.
|
protected SortSpecification |
getFolderSortSpecification(PublicObject po)
get the SortSpecification for a particular object.
|
Collection |
getFormatCollection()
Gets a reference to the Format (by name) collection.
|
Collection |
getFormatExtensionCollection()
Gets a reference to the FormatExtension collection.
|
LibraryObjectDefinition |
getFreeContext(Long id)
Get the context of a free operation, if a free is in progress for the
specified object.
|
OperationActionSpecification[] |
getGlobalOperationActionSpecifications()
Gets the "global" OperationActionSpecifications.
|
DirectoryUser |
getGuestUser()
Gets the DirectoryUser who is the guest user.
|
long |
getHighestAuditId()
Get the highest Audit Id in use.
|
Long |
getId()
Gets the id of this session.
|
Long |
getIdForNewObject()
Return an Id that can be used to create a new LibraryObject.
|
Long[] |
getIdsForNewObjects(int length)
Return a set of Ids that can be used to import a set
of objects.
|
IfsConnection |
getIfsConnection()
Returns an IfsConnection for this LibrarySession.
|
LibraryObject |
getLibraryObject(Long id)
Lookup a LibraryObject by its id.
|
LibraryObject |
getLibraryObject(Long id,
Long classId)
Lookup a LibraryObject by its id and classId.
|
LibraryObject |
getLibraryObject(S_LibraryObjectData data)
getLibraryObject - lookup a LibraryObject by its data.
|
CachePerformance |
getLibraryObjectCachePerformance()
Gets the cache performance object for the LibraryObject cache.
|
S_LibraryObjectData |
getLibraryObjectData(Long id,
Long classId,
String attributeName,
boolean selectFully)
Gets the S_LibraryObjectData for the specified id and class id.
|
Localizer |
getLocalizer()
Gets the localizer used by this session.
|
Long |
getLowestCommonClassObjectIdAncestor(SimpleObjectInterface[] mos)
Gets the lowest common ClassObject ancestor for the specified array
of SimpleObjectInterface, excluding tableless ClassObjects.
|
AttributeValue |
getMapTypeAttributeValue(int dataType,
long objectId,
long attrIdVal,
int count)
Gets a fully resolved map-type AttributeValue with non-transient
elements that is a copy of the specified map-type AttributeValue.
|
Collection |
getMediaCollection()
Gets a reference to the Media collection.
|
int |
getMemberThreshold()
Gets the threshold for using a temp table to select all (recursive) members
of a group.
|
String |
getName()
Gets the name of the session.
|
long |
getNextSequence()
Gets the next unique sequence with respect to this session.
|
Media |
getNonContentMedia()
Get the non content Media instance.
|
protected SortSpecification |
getObjectFolderSortSpecification(PublicObject po)
get the SortSpecification for a particular object.
|
PublicObject[] |
getObjectsLockedForSession()
Gets the array of PublicObjects that the current session
holds session locks on.
|
Collection |
getPermissionBundleCollection()
Gets a reference to the PermissionBundle collection.
|
Collection |
getPolicyCollection()
Gets a reference to the Policy collection.
|
Collection |
getPolicyListCollection()
Gets a reference to the PolicyList collection.
|
PrimaryUserProfile |
getPrimaryUserProfile()
Return the current user's primary UserProfile.
|
PrimaryUserProfile |
getPrimaryUserProfile(DirectoryUser user)
Return the a specified user's primary UserProfile.
|
PublicObject |
getPublicObject(Long id)
Lookup a PublicObject by its id.
|
PublicObject |
getPublicObject(Long id,
Long classId)
Lookup a PublicObject by its id and classId.
|
PublicObjectInterface |
getPublicObjectInterface(Long id)
Gets the PublicObjectInterface for the specified id.
|
PublicObjectInterface[] |
getPublicObjectInterfaces(Long[] ids)
Gets the PublicObjectInterfaces for the specified ids.
|
String |
getRepositoryParameter(String name)
Gets the value of the specified repository parameter.
|
String[] |
getRepositoryParameterNames(String prefix)
Gets the repository parameter names that start with the specified prefix.
|
S_ClassObjectData |
getResolvedClassObjectData(Long id)
Gets the fully-resolved S_ClassObjectData.
|
String |
getResourceString(String key)
Gets the resource string for the specified key.
|
String |
getResourceString(String key,
Object[] params)
Gets the resource string for the specified key, and substitutes the
specified parameters into that resource string.
|
RetainedEvent[] |
getRetainedEvents(RetainedEvent event,
int maxItems)
get a set of RetainedEvents, using a specified RetainedEvent
to indicate the type of RetainedEvent desired.
|
Folder |
getRootFolder()
Return the top-most Folder in the CM SDK folder hierarchy.
|
String |
getSchemaName()
Gets the schema name in effect for the service.
|
SchemaObject |
getSchemaObject(Long id)
Lookup a SchemaObject by its id.
|
SchemaObject |
getSchemaObject(Long id,
Long classId)
Lookup a SchemaObject by its id and classId.
|
SchemaObjectInterface |
getSchemaObjectInterface(Long id)
Gets the SchemaObjectInterface for the specified id.
|
SchemaObjectInterface[] |
getSchemaObjectInterfaces(Long[] ids)
Gets the SchemaObjectInterfaces for the specified ids.
|
long |
getSchemaVersionNumber()
Returns the version number for the CM SDK schema on which this session
is connected.
|
String |
getSchemaVersionString()
Returns the version String for the CM SDK schema on which this session
is connected.
|
String |
getServerProperty(String key,
String defaultValue)
Gets the String value for the specified key in the server properties
file.
|
Object |
getServerSideLockObject()
Gets the Object used by LibrarySession to synchronize invocations
to the server-side class, mainly the invocations of the
methods defined by the S_LibrarySessionInterface.
|
long |
getServerVersionNumber()
Returns the CM SDK server-side version number, as a long value.
|
String |
getServerVersionString()
Returns the version String for the CM SDK server-side software.
|
String |
getServiceConfigurationName()
Gets the name of the ServiceConfiguration that was used to initialize
the CM SDK service to which this session is connected.
|
AttributeValue |
getServiceConfigurationProperty(String name)
Gets the specified service configuration property.
|
boolean |
getServiceConfigurationProperty(String name,
boolean defaultValue)
Gets the value of the specified service configuration property,
as a boolean.
|
int |
getServiceConfigurationProperty(String name,
int defaultValue)
Gets the value of the specified service configuration property,
as an integer.
|
String |
getServiceConfigurationProperty(String name,
String defaultValue)
Gets the value of the specified service configuration property,
as a string.
|
Long |
getServiceId()
Gets the id of this session's service.
|
String |
getServiceName()
Gets the name of the CM SDK service to which this session is connected.
|
int[] |
getServiceTraceLoggerLevels()
Gets the trace levels of the S_LibraryServiceTraceLogger.
|
protected S_LibrarySessionInterface |
getSessionContext()
Gets the server-side session context.
|
String |
getSessionIdentifier()
Gets a session identifier.
|
Object |
getSessionState(String key)
Get a session state item.
|
int[] |
getSessionTraceLoggerLevels()
Gets the trace levels of the S_LibrarySessionTraceLogger.
|
Collection |
getSharedAccessControlListCollection()
Gets a reference to the SharedAccessControlList collection.
|
protected S_LibraryObjectDataSharedStateFactory |
getSharedStateFactory()
Returns the Shared State factory in effect for the session.
|
SimpleObject |
getSimpleObject(Long id)
Lookup a SimpleObject by its id.
|
SimpleObject |
getSimpleObject(Long id,
Long classId)
Lookup a SimpleObject by its id and classId.
|
SimpleObjectInterface |
getSimpleObjectInterface(Long id,
Long classId)
Gets the SimpleObjectInterface for the specified id.
|
SimpleObjectInterface[] |
getSimpleObjectInterfaces(Long[] ids)
Gets the SimpleObjectInterfaces for the specified ids.
|
SimpleObjectInterface[] |
getSimpleObjectInterfaces(Long[] ids,
Long primaryClassId)
Gets the SimpleObjectInterfaces for the specified ids.
|
Collection |
getSystemAccessControlListCollection()
Gets a reference to the SystemAccessControlList collection.
|
DirectoryUser |
getSystemDirectoryUser()
Gets the DirectoryUser who is the permanent admin user.
|
Collection |
getSystemLockObjectCollection()
Gets a reference to the SystemLockObject collection.
|
SystemObject |
getSystemObject(Long id)
Lookup a SystemObject by its id.
|
SystemObject |
getSystemObject(Long id,
Long classId)
Lookup a SystemObject by its id and classId.
|
SystemObjectInterface |
getSystemObjectInterface(Long id)
Gets the SystemObjectInterface for the specified id.
|
SystemObjectInterface[] |
getSystemObjectInterfaces(Long[] ids)
Gets the SystemObjectInterfaces for the specified ids.
|
Object |
getSystemUserToken()
Gets the system token that can be used to efficiently clone
system sessions.
|
TraceLogger |
getTraceLogger()
Gets the trace logger used by this session.
|
LibraryObjectDefinition |
getUpdateContext(Long id)
Get the context of an update operation, if an update is in progress for the
specified object.
|
DirectoryUser |
getUser()
Return the user associated with the current session.
|
Long |
getUserId()
Gets the id of the current user.
|
String |
getUserIdentifier()
Return the identifer for the user associated with the current session.
|
Collection |
getValueDefaultCollection()
Gets a reference to the ValueDefault collection.
|
Collection |
getValueDomainCollection()
Gets a reference to the ValueDomain collection.
|
long |
getVersionNumber()
Returns the CM SDK bean-side software version number, as a long value.
|
String |
getVersionString()
Returns the version String for the CM SDK bean-side software.
|
DirectoryGroup |
getWorldDirectoryGroup()
Gets the DirectoryGroup that represents World access.
|
void |
grantAdministration(DirectoryUser user)
Grant the Administrator Mode state for the specified
Directory User.
|
void |
handleAuditEventDispatchRequests(ArrayList reqList,
String tableName)
Handle a list of AuditEvent dispatch requests.
|
void |
handleEvent(IfsEvent event)
Handles the specified event.
|
void |
impersonateUser(DirectoryUser newuser)
Assume the identity of another user.
|
protected void |
initialize()
Initializes connection with CM SDK.
|
void |
insertRetainedEvent(RetainedEvent event)
insert a RetainedEvent.
|
void |
invalidateTokenCredentials(DirectoryUser user)
Invalidates all the token credentials for the given user.
|
Serializable |
invokeServerMethod(String methodName,
Serializable payload)
Invokes a custom server-side method.
|
boolean |
isAclIndexUpdateModeSynchronous()
Check if ACL Index update mode is synchronous
|
boolean |
isAdministrationDiscoverMode()
Gets whether this LibrarySession is in discover administration mode.
|
boolean |
isAdministrationMode()
Gets whether this LibrarySession is in administration mode.
|
boolean |
isAlwaysCacheSelectedData()
Gets whether the current session always caches selected data from Selectors.
|
boolean |
isArrayInputsUsedForAncestorSelection()
Gets whether to use array inputs for selecting "all ancestors"
if size has exceeded threshhold.
|
boolean |
isArrayInputsUsedForMemberSelection()
Gets whether to use array inputs for selecting "all members"
if size has exceeded threshhold.
|
boolean |
isBusy()
Return busy state of this LibrarySession.
|
boolean |
isClonedLibrarySession()
Gets indication as to whether this session is a cloned session.
|
boolean |
isConnected()
Return connection state of this LibrarySession
|
boolean |
isDefinitionCloningRequired()
Gets whether the current session requires user-specified
instances of LibraryObjectDefinition (or one of its subclasses)
to be cloned prior to using it server-side.
|
boolean |
isDiscoverablePublicObjectId(Long id)
Return indication as to whether the PublicObject ID specified represents
an object that the current user can discover.
|
boolean |
isExecutionMode(int mode)
Checks whether current session is in at least the execution mode
specified.
|
boolean |
isFilterDeletedObjectsEnabled()
Return indication as to whether this
session has deleted object filtering enabled.
|
boolean |
isFolderItemCachingEnabled()
Gets whether the server supports folder item caching.
|
boolean |
isFullTextIndexingEnabled()
Gets whether full-text indexing is enabled.
|
boolean |
isGroupMembershipCacheEnabled()
Gets whether the GroupMembershipCache is enabled.
|
boolean |
isGuestUser()
Returns true if the session's current user is the
guest user.
|
boolean |
isImplicitTransactionInProgress()
Return indication as to whether there is an implicit transaction
in progress.
|
boolean |
isInstallationMode()
Gets whether this LibrarySession is in installation mode.
|
boolean |
isOuterOperation()
Return indication as to whether the outer most operation
(of a potentially nested operation) is currently in progress.
|
boolean |
isPreventSessionTimeouts()
Gets whether the current session prevents any session or operation
timeouts.
|
boolean |
isPublicObjectIdDiscoverable(Long id)
Return indication as to whether the PublicObject matching the specified object ID
is discoverable.
|
boolean |
isSystemAdministrationMode()
Gets whether this LibrarySession is in system administration mode.
|
boolean |
isSystemDirectoryUser()
Returns true if the session's current user is the
permanent admin user.
|
boolean |
isTraced(int channel,
int level)
Gets whether tracing is enabled for the specified channel and level.
|
boolean |
isTransactionInProgress()
Gets whether this LibrarySession is in a transaction, explicit
or implicit.
|
boolean |
isUpgradeInProgress()
See if the session behaves as though an upgrade is in progress.
|
String |
lookupAuditEventOperationTypeKey(int opType)
Looks up an audit event operation type key by its numeric value,
returning the string key or null if the numeric code is not registered.
|
String[] |
lookupAuditEventOperationTypeKeys(int[] opTypes)
Looks up audit event operation type keys by their numeric values,
returning the string keys.
|
int[] |
lookupAuditEventOperationTypes(String[] opTypeKeys)
Looks up audit event operation types by their string key,
returning the corresponding numeric equivalents.
|
AuditTargetCode |
lookupAuditTargetCode(String className)
Looks up an audit target code structure from the specified Class name or
other registered alias for the desired type.
|
String |
lookupInverseInstanceLabel(String classname,
String label)
Gets the name of an uniquely-named instance by its
label.
|
ContentStreamSerializer |
newContentStreamSerializer()
Return the Content stream serializer.
|
void |
popApplicationMode()
Resets any temporary application mode back to the previous temporary
application mode setting.
|
void |
popTemporaryAccessCheckMode()
Resets any temporary access check mode back to the previous temporary
access check mode.
|
void |
popTemporaryExecutionMode()
Resets any temporary execution state back to the previous temporary
execution mode.
|
protected void |
postAdminModeChange()
Post intra-session admin mode change.
|
void |
postAuditEvent(AuditEvent event)
Create a new audit event.
|
void |
postAuditEvent(AuditEvent event,
int mode)
Create a new audit event.
|
void |
postAuditEvent(LibraryObject target,
AuditEvent event)
Create a new audit event.
|
void |
postAuditEvent(LibraryObject target,
AuditEvent event,
int mode)
Create a new audit event.
|
void |
postCustomAuditEvent(AuditEvent event)
Create a new custom audit event.
|
void |
postCustomAuditEvent(LibraryObject target,
AuditEvent event)
Create a new custom audit event.
|
protected void |
postDefaultFolderOptionChange()
Post intra-session change to default Folder options, such as
default sort order or FolderRelationship class.
|
protected void |
postEvent(IfsEvent event)
Post the specified event.
|
void |
processEvent(IfsEvent event)
Processes the specified event.
|
void |
processEvents()
Polls the server for any events queued for transport
to this LibrarySession and immediately processes them.
|
protected void |
processEventsInBackground()
Polls the server for any events queued for transport
to this LibrarySession and immediately processes them.
|
void |
pushApplicationMode(int mode)
Establishes a new temporary Application mode for the session.
|
void |
pushTemporaryAccessCheckMode(boolean mode)
Establishes a temporary access check mode for the session.
|
void |
pushTemporaryExecutionMode(int mode)
Establishes a temporary execution mode for the session.
|
Object |
putSessionState(String key,
Object value)
Add a session state item.
|
boolean |
reauthenticate(Credential credential,
ConnectOptions options)
Reauthenticates the DIRECTORYUSER for which this LibrarySession
was originally created (as opposed to the DIRECTORYUSER specified
by a subsequent call to
impersonateUser ). |
protected void |
recacheObject(LibraryObject obj)
Re-cache the specified object.
|
void |
reestablishRaciSessionContext(RandomAccessContentInterface raci)
Deprecated.
CMSDK 10gR2: use RandomAccessor
|
int |
registerAuditEventOperationType(String opTypeKey,
int targetCode,
String targetClass,
int opCode,
Boolean createOrFree)
Register a new audit event operation type.
|
void |
registerClassEventHandler(ClassObject co,
boolean includeSubclasses,
IfsEventHandler handler)
Registers the specified IfsEventHandler to receive events for
all objects in the specified class.
|
void |
registerCollection(Collection collection,
String classname)
Registers a collection so that it can be automatically reset
by handleEvent as needed when new LibraryObjects are created,
updated, or freed.
|
int |
registerCustomAuditEventOperationCodeKey(String opCodeKey)
Register a new custom operation code key.
|
void |
registerCustomAuditEventOperationType(String opTypeKey,
String opCodeKey,
int targetCode,
String targetClass)
Register a new custom audit event operation type.
|
void |
registerEventHandler(LibraryObject lo,
IfsEventHandler handler)
Registers the specified IfsEventHandler to receive events for the
specified LibraryObject.
|
void |
registerServiceEventHandler(IfsEventHandler handler)
Registers the specified IfsEventHandler to receive events for
all committed events processed by the current service.
|
void |
removeAuditEvents(long[] eventIds,
String tableName)
Free audit events.
|
void |
removeAuditEventsForTarget(Long specId,
Long targetId)
Free audit events from a specific Audit history, by target ID.
|
void |
removeRawAuditEvents(RawAuditEvent[] rawEvents)
Free raw audit events.
|
Object |
removeSessionState(String key)
Remove a session state item.
|
LibrarySession |
reserveClonedSession()
Reserves a cloned session.
|
void |
resolveObjects(LibraryObject[] objs,
ObjectResolverSpecification spec)
Force resolution of a set of LibraryObjects
|
void |
resumeBackgroundProcessing()
Resumes any background event processing.
|
void |
rollback()
Discards all pending changes for all in-progress Transactions for this
LibrarySession.
|
AttributeValue[] |
selectAggregateAuditEventColumns(Long auditSpec,
String aggFuncName,
String[] columnNames,
String[] innerColNames,
String filterClause,
String sortClause)
Returns the list of distinct values of the specified AuditEvent columns,
along with an optional aggregate function.
|
AuditEvent[] |
selectAuditEvents(Long auditSpec,
String filterClause,
AttributeValue[] bindValues,
String sortClause,
int maxItems)
Select audit events.
|
AuditEvent[] |
selectAuditEvents(Long auditSpec,
String filterClause,
String sortClause,
int maxItems)
Select audit events.
|
RawAuditEvent[] |
selectRawAuditEvents(String filterClause,
int maxItems)
Select raw audit events.
|
AuditFolderPath |
selectSpecificAuditFolderPath(long folderPathId)
Select the specific AuditFolderPath for a given primary key.
|
void |
setAdministrationMode(boolean mode)
Set the administrator mode state for this session.
|
void |
setAlwaysCacheSelectedData(boolean value)
Sets whether the current session always caches selected data
from Selectors.
|
void |
setApplicationName(String name)
Sets the name of the application that is using this session.
|
void |
setCopyContext(Long id,
LibraryObjectDefinition def)
Set the context of a copy operation for the specified object.
|
void |
setCreateContext(Long id,
LibraryObjectDefinition def)
Set the context of a create operation for the specified object.
|
void |
setCurrentActor(Actor actor)
Sets the current Actor in effect for this session.
|
void |
setCurrentAuditDomainContext(Folder domain)
Sets the current "Audit Domain" context.
|
void |
setDefaultContentQuota(ContentQuota quota)
Sets the session's default ContentQuota.
|
void |
setDefaultFolderRelationshipClassName(String classname)
Deprecated.
CM SDK 10g: no replacement functionality; FolderPathRelationship
is now used as the class name
|
void |
setDefaultFolderSortSpecification(SortSpecification sort)
Sets the default SortSpecification
that is used by default for all Folder selection operations.
|
void |
setDefinitionCloningRequired(boolean option)
Sets whether the current session requires user-specified
instances of LibraryObjectDefinition (or one of its subclasses)
to be cloned prior to using it server-side.
|
void |
setEncryptedRepositoryParameter(String name,
String value)
Sets the value of the specified repository parameter.
|
void |
setExecutionMode(int mode)
Set the execution mode for this LibrarySession.
|
void |
setFilterDeletedObjectsEnabled(boolean mode)
Set deleted object filtering state for this session.
|
void |
setFolderPathDelimiter(String delim)
Sets the current session's Folder path delimiter.
|
void |
setFreeContext(Long id,
LibraryObjectDefinition def)
Set the context of a free operation for the specified object.
|
void |
setInstallationMode(boolean mode)
Set the Installation Mode state for this LibrarySession.
|
protected void |
setObjectFolderSortSpecification(PublicObject po,
SortSpecification sort)
Sets an object-level SortSpecification
that is to be used for all Folder selection operations for
a particular object.
|
void |
setPreventSessionTimeouts(boolean value)
Sets whether the current session should prevent any session or operation
timeouts.
|
void |
setRepositoryParameter(String name,
String value)
Sets the value of the specified repository parameter.
|
void |
setServiceTraceLoggerLevels(int[] levels)
Sets the trace levels of the S_LibraryServiceTraceLogger.
|
void |
setSessionTraceLoggerLevels(int[] levels)
Sets the trace levels of the S_LibrarySessionTraceLogger.
|
void |
setSystemAdministrationMode(boolean mode)
Set the System admin Mode state for this LibrarySession.
|
void |
setUpdateContext(Long id,
LibraryObjectDefinition def)
Set the context of an update operation for the specified object.
|
void |
setUpgradeInProgress(boolean value)
Sets indication of whether the session behaves as though an upgrade
is in progress.
|
void |
trace(int channel,
int level,
String payload)
Issues a trace request to the trace logger.
|
void |
undelete(PublicObject[] items)
Undeletes all the passed PublicObjects.
|
void |
unlockForSession(PublicObject[] items)
Release session locks on a set of PublicObjects.
|
void |
unregisterAuditEventOperationType(String opTypeKey)
Unregister an audit event operation type.
|
void |
unregisterCustomAuditEventOperationType(String opTypeKey)
Unregister a custom audit event operation type.
|
void |
unreserveClonedSession(LibrarySession sess)
Unreserves a cloned session.
|
void |
verifyAdministrationMode()
Verify that the effective execution mode for the session is
at least administration mode.
|
void |
verifyExecutionMode(int mode)
Verify that the effective execution mode for the session is
at least the mode specified.
|
protected void |
verifyInstallationMode()
Verify that the effective execution mode for the session is
at least installation mode.
|
public static final long ACLD_DISCOVERER_ADMIN
public static final String STATEMENT_KEY_COLLECTION_POLICYLIST
public static final String STATEMENT_KEY_COLLECTION_SHAREDACL
protected DirectoryUser m_User
protected DirectoryUser m_FeignedUser
protected PrimaryUserProfile m_PrimaryUserProfile
protected PropertyBundle m_DomainPropertyBundle
protected DirectoryUser m_GuestUser
protected Actor m_CurrentActor
protected Folder m_RootFolder
protected volatile boolean m_Connected
protected Long m_Id
protected long m_AttributesRsn
protected long m_Sequence
protected Long m_ServiceId
protected Long m_ClockOffset
protected String m_AuthenticatedUserName
protected String m_ServiceName
protected String m_ApplicationName
protected String m_dnSuffix
protected Hashtable m_ServiceConfigurationProperties
protected boolean m_FilterDeletedObjectsEnabled
protected SortSpecification m_DefaultFolderSortSpecification
protected Hashtable m_ObjectFolderSortSpecification
protected ConfigurationCategoryDescriptorMap m_ConfigCategoryDescriptorMap
protected boolean m_PreventSessionTimeouts
protected boolean m_AlwaysCacheSelectedData
protected boolean m_EventProcessingEnabled
protected Object m_InvokeServerSideLock
protected LibrarySession.ServerSideCoordinator m_ServerSideCoordinator
protected oracle.ifs.beans.LibrarySessionEventPoller m_EventPoller
protected Hashtable m_RegisteredEventHandlers
protected Hashtable m_RegisteredClassEventHandlers
protected LibraryObjectCache m_LibraryObjectCache
protected Localizer m_Localizer
protected String m_FolderPathDelimiter
protected ContentQuota m_DefaultContentQuota
protected Hashtable m_SessionState
protected HashMap m_CreateOperationsInProgress
protected HashMap m_FreeOperationsInProgress
protected HashMap m_UpdateOperationsInProgress
protected HashMap m_CopyOperationsInProgress
protected Stack m_ApplicationModeStack
protected int m_ApplicationMode
protected LibrarySession(S_LibrarySessionInterface ssess, Credential credential, ConnectOptions options, String serviceName) throws IfsException
ssess
- the S_LibrarySessioncredential
- the user's credentialsoptions
- connect optionsserviceName
- the LibraryServiceNameIfsException
- if operation fails.protected void initialize() throws IfsException
IfsException
- if operation fails.public String getServiceName() throws IfsException
IfsException
- if the operation failspublic String getServiceConfigurationName() throws IfsException
IfsException
- if the operation failspublic long getAttributesRsn()
IfsException
- if the operation failspublic long getNextSequence()
Used to generate unique values within the context of a single session.
IfsException
- if the operation failspublic final Localizer getLocalizer() throws IfsException
getLocalizer
in interface LibrarySessionInterface
IfsException
- if the operation failspublic Long getId() throws IfsException
IfsException
- if the operation failspublic boolean equals(LibrarySession otherSession)
public String getSessionIdentifier()
getSessionIdentifier
in interface LogInfo
public String getApplicationName() throws IfsException
The application name is specified by the ConnectOptions passed
to LibraryService.connect
. The value is not used
internally; it is purely informational.
IfsException
- if the operation failspublic void setApplicationName(String name) throws IfsException
name
- the application name.IfsException
- if the operation failspublic Long getServiceId() throws IfsException
IfsException
- if the operation failsprotected S_LibrarySessionInterface getSessionContext()
IfsException
- if the operation failspublic boolean isFullTextIndexingEnabled() throws IfsException
IfsException
- if the operation failspublic boolean isGroupMembershipCacheEnabled() throws IfsException
IfsException
- if the operation failspublic int getMemberThreshold() throws IfsException
IfsException
- if the operation failspublic int getAncestorThreshold() throws IfsException
IfsException
- if the operation failspublic boolean isArrayInputsUsedForMemberSelection() throws IfsException
IfsException
- if the operation failspublic boolean isArrayInputsUsedForAncestorSelection() throws IfsException
IfsException
- if the operation failspublic final TraceLogger getTraceLogger() throws IfsException
getTraceLogger
in interface Traceable
IfsException
- if the operation failspublic final void setSessionTraceLoggerLevels(int[] levels) throws IfsException
levels
- an array of levels. The array index
corresponds to the channel number.IfsException
- public final int[] getSessionTraceLoggerLevels() throws IfsException
IfsException
- if the operation failspublic final void setServiceTraceLoggerLevels(int[] levels) throws IfsException
levels
- an array of levels. The array index
corresponds to the channel number.IfsException
- (IFS-11204) if the size of
the array does not equal the number of channelsIfsException
- (IFS-11200) if a level is invalidIfsException
- (IFS-FIXME) if not in administration modepublic final int[] getServiceTraceLoggerLevels() throws IfsException
IfsException
- if the operation failspublic final CachePerformance getLibraryObjectCachePerformance()
public final CachePerformance getBeanLibraryObjectDataCachePerformance()
public void disconnectBestEffort()
IfsException
- if operation fails.public boolean disconnect() throws IfsException
IfsException
- if operation fails.public LibrarySession createSession(DirectoryUser user) throws IfsException
Current session must be in admin mode if the user specified is not the current user or the "guest" user.
user
- the user for which to make a new sessionIfsException
- if the operation failspublic LibrarySession createSession(DirectoryUser user, ConnectOptions options) throws IfsException
Current session must be in admin mode if the user specified is not the current user or the "guest" user.
user
- the user for which to make a new sessionoptions
- the connection optionsIfsException
- if the operation failspublic Credential createCredential(LibraryService service, DirectoryUser user) throws IfsException
Current session must be in admin mode if the user specified is not the current user or the "guest" user.
service
- the current session's serviceuser
- the user for which to make a new sessionIfsException
- if the operation failspublic Credential createCredential(DirectoryUser user) throws IfsException
Current session must be in admin mode if the user specified is not the current user or the "guest" user.
user
- the user for which to make a new sessionIfsException
- if the operation failspublic LibrarySession createSession() throws IfsException
IfsException
- if the operation failspublic LibrarySession createGuestSession() throws IfsException
IfsException
- if the operation failspublic LibrarySession createGuestSession(ConnectOptions options) throws IfsException
options
- the connection optionsIfsException
- if the operation failspublic Credential createGuestCredential() throws IfsException
IfsException
- if the operation failspublic Object getSystemUserToken() throws IfsException
IfsException
- if the operation failsprotected LibrarySession cloneSession() throws IfsException
IfsException
- if the operation failspublic LibrarySession reserveClonedSession() throws IfsException
IfsException
- if the operation failspublic void unreserveClonedSession(LibrarySession sess)
sess
- the previously reserved cloned session to unreservepublic void createClonedSession() throws IfsException
IfsException
- if the operation failspublic boolean isClonedLibrarySession()
public ClonedLibrarySessionInfo getClonedLibrarySessionInfo()
Returns null if this is not a cloned session.
public DirectoryUser getUser() throws IfsException
IfsException
- if operation fails.public Long getUserId() throws IfsException
IfsException
- if the operation failspublic String getUserIdentifier()
getUserIdentifier
in interface LogInfo
public DirectoryUser getDirectoryUser() throws IfsException
IfsException
- if operation fails.public PrimaryUserProfile getPrimaryUserProfile() throws IfsException
IfsException
- if operation fails.public Actor getCurrentActor() throws IfsException
Normally, this is the Actor designation of the currently connected user,
or feigned user if a user impersonation is in effect.
Additionally, a system or application element can establish a different
Actor for a session, via setCurrentActor
.
IfsException
- if operation fails.public void setCurrentActor(Actor actor) throws IfsException
This will override any previous setting for the current Actor, either implicit or explicit. If a null value is specified, the current Actor will revert back to the Actor designation of the DirectoryUser in effect for this session.
actor
- the current Actor to be in effect for this sessionIfsException
- if operation fails.public PrimaryUserProfile getPrimaryUserProfile(DirectoryUser user) throws IfsException
user
- the specified user.IfsException
- if operation fails.public final String getVersionString() throws IfsException
This value is potentially different from the other two version Strings for the server-side software and the CM SDK schema.
IfsException
public final long getVersionNumber() throws IfsException
This value is potentially different from the other two version Strings for the server-side software and the CM SDK schema.
IfsException
public long getServerVersionNumber() throws IfsException
This value is potentially different from the other two version Strings for the bean-side software and the CM SDK schema.
IfsException
- if operation fails.public String getServerVersionString() throws IfsException
This value is potentially different from the other two version Strings for the bean-side software and the CM SDK schema.
IfsException
- if operation fails.public String getSchemaVersionString() throws IfsException
This value is potentially different from the other two version Strings for the bean-side software and the server-side software.
IfsException
- (IFS-20001) if the operation failspublic long getSchemaVersionNumber() throws IfsException
This value is potentially different from the other two version Strings for the bean-side software and the server-side software.
IfsException
- (IFS-20001) if the operation failspublic String getDatabaseCharacterSet() throws IfsException
IfsException
- if the operation failspublic void emptyWastebasket() throws IfsException
IfsException
- if operation fails.public boolean isFilterDeletedObjectsEnabled()
setFilterDeletedObjectsEnabled(false)
.public void setFilterDeletedObjectsEnabled(boolean mode) throws IfsException
mode
- new state of FilterDeletedObjectsEnabled.IfsException
- if operation fails.public String getDefaultFolderRelationshipClassname() throws IfsException
IfsException
- if operation fails.public void setDefaultFolderRelationshipClassName(String classname) throws IfsException
classname
- name of the default Relationship
class to be used in
Folder selection operations.IfsException
- if operation fails.public SortSpecification getDefaultFolderSortSpecification() throws IfsException
IfsException
- if operation fails.protected SortSpecification getObjectFolderSortSpecification(PublicObject po) throws IfsException
IfsException
- if operation fails.protected SortSpecification getFolderSortSpecification(PublicObject po) throws IfsException
IfsException
- if operation fails.public void setDefaultFolderSortSpecification(SortSpecification sort) throws IfsException
sort
- default SortSpecification used for Folder
select operations.IfsException
- if operation fails.protected void setObjectFolderSortSpecification(PublicObject po, SortSpecification sort) throws IfsException
po
- object for which the SortSpecification appliessort
- SortSpecification to be used for Folder
select operations.IfsException
- if operation fails.public void setFolderPathDelimiter(String delim) throws IfsException
delim
- the delimiterIfsException
- if delim is illeagalpublic String getFolderPathDelimiter() throws IfsException
IfsException
- if the operation failspublic ConfigurationCategoryDescriptor getConfigurationCategoryDescriptor(String className) throws IfsException
className
- the ConfigurationCategory class name.IfsException
- if the operation failspublic void setPreventSessionTimeouts(boolean value) throws IfsException
value
- true indicates that session timeouts are disabled;
false indicates that session timeouts are enabledIfsException
- if delim is illeagalpublic boolean isPreventSessionTimeouts() throws IfsException
IfsException
- if the operation failspublic OperationActionSpecification[] getGlobalOperationActionSpecifications() throws IfsException
IfsException
- if operation failspublic boolean isFolderItemCachingEnabled() throws IfsException
IfsException
- if the operation failspublic boolean isDefinitionCloningRequired() throws IfsException
IfsException
- if the operation failspublic void setDefinitionCloningRequired(boolean option) throws IfsException
option
- true indicates that definition cloning is required;
false indicates that definition cloning is requiredIfsException
- if the operation failspublic void setDefaultContentQuota(ContentQuota quota) throws IfsException
quota
- the quota object to use by defaultIfsException
- if the current user cannot use the specified quotapublic ContentQuota getDefaultContentQuota() throws IfsException
IfsException
- if the operation failspublic void setUpgradeInProgress(boolean value) throws IfsException
Overrides the default behavior as indicated by a domain property. See
isUpgradeInProgress
for a description of the semantics
of the session with this indication set to true.
value
- true if session behaves as though an upgrade
is in progressIfsException
public boolean isUpgradeInProgress() throws IfsException
Indicates the default setting (stored as a domain property) if not explicitly set on the session.
When this behavior is set to true, operations performed on behalf of that session differ from those occuring on normal sessions in the following ways:
IfsException
- if operation failspublic void clearSharedCaches() throws IfsException
IfsException
- if operation failspublic void setAlwaysCacheSelectedData(boolean value) throws IfsException
value
- true if session should always cache selected data;
false otherwiseIfsException
- if the operation failspublic boolean isAlwaysCacheSelectedData() throws IfsException
IfsException
- if the operation failspublic boolean isExecutionMode(int mode) throws IfsException
mode
- the execution mode being checkedIfsException
- if the operation failspublic void setExecutionMode(int mode) throws IfsException
mode
- new execution modeIfsException
- if operation fails.public void pushTemporaryExecutionMode(int mode)
The caller must guarantee that popTemporaryExecutionMode
is called to clear this temporary execution mode once it is
no longer needed, typically in try/finally blocks.
If the specified mode is less than the regular mode of the session, any previous temporary execution mode is cancelled.
mode
- new temporary execution modepublic void popTemporaryExecutionMode()
public boolean isAdministrationDiscoverMode() throws IfsException
IfsException
- if the operation failspublic boolean isAdministrationMode()
IfsException
- if the operation failspublic boolean isSystemAdministrationMode() throws IfsException
IfsException
- if the operation failspublic boolean isInstallationMode() throws IfsException
IfsException
- if the operation failspublic void setAdministrationMode(boolean mode) throws IfsException
This list describes what a user in administration mode can do.
1. Create, update, free any SchemaObject. Updates include any mutation such as adding an Attribute to a ClassObject.
2. Directly create, update, or free any SystemObject; ordinary sessions can perform some of these operations on some subclasses of SystemObject provided that they are executed in the context of some other PublicObject (e.g. adding a Relationship to a PublicObject)
3. Create, free, update any DirectoryUser object
4. Create, free, or modify any SystemAccessControlList
5. Create, free, or modify any ClassAccessControlList
6. Create, free, or modify any ContentQuota
7. Free a PublicObject that has an ExtendedPreFreePolicy of ExtendedPreFreePolicyRequireAdmin or ExtendedPreFreePolicyIgnoreOwnership (e.g. to free your own home folder)
8. Impersonate another user
9. Change the password of another user
10. Delete users from the "credential manager" store
11. Bypass "required attribute" check in creating or updating any CMSDK object.
12. Embed SQL syntax referencing CMSDK tables/views in any Selector or Search
13. Unreserve any PublicObject checked out by another user
14. Use any defined ContentQuota
15. Declare to use no ContentQuota even if one is assigned to that user
16. Set the ContentQuota attribute on DirectoryGroup
17. Set the ContentQuota attribute on PrimaryUserProfile
18. Bypass the name.owner uniqueness policy for DirectoryGroup and AccessControlList
19. Directly get or set the content from a ContentObject without providing a Document context
20. Force re-creation of CMSDK views
21. Promote a Folder in the Folder index
22. Move content from LOB to BFILE
mode
- new state of administrator mode;
true to enable administration modeIfsException
- if operation fails.public void setSystemAdministrationMode(boolean mode) throws IfsException
mode
- new state of Installation modeIfsException
- if operation fails.public void setInstallationMode(boolean mode) throws IfsException
mode
- new state of Installation modeIfsException
- if operation fails.public void pushTemporaryAccessCheckMode(boolean mode)
The caller must guarantee that popTemporaryAccessCheckMode
is called to clear this temporary access check mode once it is
no longer needed, typically in try/finally blocks.
mode
- new temporary access check mode; false indicates that
access checks are disabled; true indicates that
they are enabled (the normal mode for the session)public void popTemporaryAccessCheckMode()
public void pushApplicationMode(int mode)
The caller must guarantee that popApplicationMode
is called to clear this temporary application mode once it is
no longer needed, typically in try/finally blocks.
The mode specified will be logically ORed with the previous mode to establish the new mode. It is up to the application to manage the semantics of the varous mode settings.
mode
- new application mode settings; current mode
will be the previous mode logically ORed with
this setting.public void popApplicationMode()
public final int getApplicationMode()
Normally this returns 0, but can be overridden temporarily
via pushApplicationMode
IfsException
- if the operation failspublic boolean reauthenticate(Credential credential, ConnectOptions options) throws IfsException
impersonateUser
).
This does not create a new session or change the existing session in any way. It simply determines the whether the supplied credential is a valid credential for the previously authenticated DIRECTORYUSER.
credential
- the credential to authenticate; this must
be a credential for the authenticated user
of this LibrarySessionoptions
- the ConnectOptions supplied by the usercredential
is a valid
credentialIfsException
- (IFS-10162) if the operation fails (other
than the supplied credential simply being invalid)public void invalidateTokenCredentials(DirectoryUser user) throws IfsException
user
- user whose all token credentials need to be
invalidatedIfsException
- if the operation failspublic void impersonateUser(DirectoryUser newuser) throws IfsException
newuser
- new User to impersonate, or null to
cancel a previous impersonation.IfsException
- if operation fails.public String getName() throws IfsException
IfsException
- if the operation fails.public Folder getRootFolder() throws IfsException
IfsException
- if operation fails.public Media getDefaultContentMedia() throws IfsException
IfsException
- if operation fails.public Media getNonContentMedia() throws IfsException
IfsException
- if operation fails.public String lookupInverseInstanceLabel(String classname, String label) throws IfsException
classname
- The class name of the requested instancelabel
- The labelIfsException
- if operation fails.public ContentStreamSerializer newContentStreamSerializer() throws IfsException
IfsException
- if operation fails.public final Collection getClassObjectCollection() throws IfsException
getClassObjectCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getClassDomainCollection() throws IfsException
getClassDomainCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getValueDefaultCollection() throws IfsException
getValueDefaultCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getValueDomainCollection() throws IfsException
getValueDomainCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getExtendedUserProfileCollection() throws IfsException
getExtendedUserProfileCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getFormatCollection() throws IfsException
getFormatCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getFormatExtensionCollection() throws IfsException
Unlike the FormatCollection, this collection is organizaed by EXTENSION, not NAME.
getFormatExtensionCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getMediaCollection() throws IfsException
getMediaCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getSharedAccessControlListCollection() throws IfsException
IfsException
- if the operation failspublic final Collection getSystemAccessControlListCollection() throws IfsException
getSystemAccessControlListCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getClassAccessControlListCollection() throws IfsException
getClassAccessControlListCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getSystemLockObjectCollection() throws IfsException
IfsException
- if the operation failspublic final Collection getDirectoryUserCollection() throws IfsException
getDirectoryUserCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getExtendedPermissionCollection() throws IfsException
getExtendedPermissionCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getPermissionBundleCollection() throws IfsException
getPermissionBundleCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getPolicyCollection() throws IfsException
getPolicyCollection
in interface LibrarySessionInterface
IfsException
- if the operation failspublic final Collection getPolicyListCollection() throws IfsException
IfsException
- if the operation failspublic final AttributeValue getDomainPropertyValue(String name) throws IfsException
name
- the property nameIfsException
- if the operation failspublic final PropertyBundle getDomainPropertyBundle() throws IfsException
IfsException
- if the operation failspublic Object putSessionState(String key, Object value) throws IfsException
This behaves like a Hashtable, replacing any state that exists for the specified key and returning the state that was previously defined for that key.
key
- the identifer that uniquely identifies an item
of session statevalue
- the value for the stateIfsException
- if operation fails.public Object getSessionState(String key) throws IfsException
key
- the identifer that uniquely identifies an item
of session stateIfsException
- if operation fails.public Object removeSessionState(String key) throws IfsException
This behaves like a Hashtable, returning any state that was previously defined for that key.
key
- the identifer that uniquely identifies an item
of session stateIfsException
- if operation fails.public Hashtable establishSessionState(Hashtable stateMap)
The map specified should be the equivalent to the map obtained by
captureSessionState
. It is used in cases where an application
is pooling sessions for various purposes on behalf of a single user, and
the sessions have varying session state.
stateMap
- the session state mappublic Hashtable captureSessionState()
This is used in cases where an application needs to hold the session state so that it can be established on a different session in the future, useful when the the application is pooling sessions for various purposes on behalf of a single user, and the sessions have varying session state.
protected S_LibraryObjectDataSharedStateFactory getSharedStateFactory()
public PublicObject createPublicObject(PublicObjectDefinition def) throws IfsException
def
- the definition for the new PublicObjectIfsException
- if operation fails.public SchemaObject createSchemaObject(SchemaObjectDefinition def) throws IfsException
def
- the definition for the new SchemaObjectIfsException
- if operation fails.public SystemObject createSystemObject(SystemObjectDefinition def) throws IfsException
def
- the definition for the new SystemObjectIfsException
- if operation fails.public SimpleObject createSimpleObject(SimpleObjectDefinition def) throws IfsException
def
- the definition for the new SimpleObjectIfsException
- if operation fails.public Long[] getIdsForNewObjects(int length) throws IfsException
length
- The number of Ids desired.IfsException
- if operation fails.public Long getIdForNewObject() throws IfsException
IfsException
- if operation fails.public String getSchemaName() throws IfsException
IfsException
- if the operation failspublic Long getClockOffset() throws IfsException
IfsException
- if the operation failspublic long getCurrentTimeMillis() throws IfsException
Will return the value from System.currentTimeMillis
with an offset applied equal to the number of milliseconds the DBMS clock
is ahead of the mid tier.
IfsException
- if the operation failspublic Date getCurrentDate() throws IfsException
Will return a Date value constructed from
System.currentTimeMillis
with an offset applied equal to
the number of milliseconds the DBMS clock is ahead of the mid tier.
IfsException
- if the operation failspublic Folder getCurrentAuditDomainContext() throws IfsException
Delegates to the current user, so that applications can override within the Tie class for DirectoryUser.
IfsException
- if the operation failspublic Folder getCurrentOrDefaultAuditDomainContext() throws IfsException
Delegates to the current user, so that applications can override within the Tie class for DirectoryUser.
IfsException
- if the operation failspublic void setCurrentAuditDomainContext(Folder domain) throws IfsException
domain
- the new current Domain; if null, the
default domain will be used by this session
as the current domainIfsException
- if the operation failspublic void postAuditEvent(AuditEvent event) throws IfsException
Post the event using AuditEvent.POST_NORMALLY
mode.
event
- the event to postIfsException
- if the operation failspublic void postAuditEvent(LibraryObject target, AuditEvent event) throws IfsException
Post the event using AuditEvent.POST_NORMALLY
mode.
target
- the target of the eventevent
- the event to postIfsException
- if the operation failspublic void postAuditEvent(AuditEvent event, int mode) throws IfsException
event
- the event to postmode
- the success/fail mode for the postIfsException
- if the operation failspublic void postAuditEvent(LibraryObject target, AuditEvent event, int mode) throws IfsException
event
- the event to posttarget
- the target of the eventmode
- the success/fail mode for the postIfsException
- if the operation failspublic void postCustomAuditEvent(AuditEvent event) throws IfsException
Delegates to postAuditEvent
after verifying that the
type being posted is a custom type
event
- the event to postIfsException
- if the operation failspublic void postCustomAuditEvent(LibraryObject target, AuditEvent event) throws IfsException
Delegates to postAuditEvent
after verifying that the
type being posted is a custom type
target
- the target of the eventevent
- the event to postIfsException
- if the operation failspublic RawAuditEvent[] selectRawAuditEvents(String filterClause, int maxItems) throws IfsException
Should only be performed as part of event dispatching.
filterClause
- the filter criteria (where clause);
use null for standard (efficient) event processingmaxItems
- max number of items to selectIfsException
- if the operation failspublic void removeRawAuditEvents(RawAuditEvent[] rawEvents) throws IfsException
rawEvents
- the raw events to be freed.IfsException
- if the operation failspublic void handleAuditEventDispatchRequests(ArrayList reqList, String tableName) throws IfsException
reqList
- a list of AuditEventDispatchRequesttableName
- the table name where the events are to be storedIfsException
- if the operation failspublic Long directlyDispatchAuditEvent(AuditEvent event, Long specId) throws IfsException
event
- the event to postspecId
- the AuditSpecification (event history) IDIfsException
- if the operation failspublic AuditEvent[] selectAuditEvents(Long auditSpec, String filterClause, String sortClause, int maxItems) throws IfsException
The filter clause is the where clause (exclusing the "where" prefix) that is used in selecting against the audit table. The sort clause is the order by clause (excluding the "order by" prefix) used in the query against the audit table.
auditSpec
- the audit history ID to searchfilterClause
- the filter criteria (where clause)sortClause
- the sort criteria (order by clause)maxItems
- max number of items to selectIfsException
- if the operation failspublic AuditEvent[] selectAuditEvents(Long auditSpec, String filterClause, AttributeValue[] bindValues, String sortClause, int maxItems) throws IfsException
The filter clause is the where clause (exclusing the "where" prefix) that is used in selecting against the audit table. The sort clause is the order by clause (excluding the "order by" prefix) used in the query against the audit table.
auditSpec
- the audit history ID to searchfilterClause
- the filter criteria (where clause)bindValues
- the bind values to include with the filter clausesortClause
- the sort criteria (order by clause)maxItems
- max number of items to selectIfsException
- if the operation failspublic AttributeValue[] selectAggregateAuditEventColumns(Long auditSpec, String aggFuncName, String[] columnNames, String[] innerColNames, String filterClause, String sortClause) throws IfsException
auditSpec
- the audit history ID to searchaggFuncName
- the SQL aggregate function (can be null)columnNames
- the audit table column names to selectinnerColNames
- the audit table column names to use in the
inner select; if null, no inner select is usedfilterClause
- the filter criteria (where clause)sortClause
- the sort criteria (order by clause)IfsException
- if the operation failspublic void removeAuditEvents(long[] eventIds, String tableName) throws IfsException
eventIds
- event IDs to be freed.tableName
- event table nameIfsException
- if the operation failspublic void removeAuditEventsForTarget(Long specId, Long targetId) throws IfsException
specId
- the audit history identifiertargetId
- the target IDIfsException
- if the operation failspublic AuditFolderPath selectSpecificAuditFolderPath(long folderPathId) throws IfsException
folderPathId
- the folder path ID of interestIfsException
- if the operation failspublic int registerAuditEventOperationType(String opTypeKey, int targetCode, String targetClass, int opCode, Boolean createOrFree) throws IfsException
Occurs during schema creation, upgrade, and when registering new custom event types. Is coded so that services can be running, as they correctly invalidate their type map caches.
opTypeKey
- operation type keytargetCode
- code for the target object typetargetClass
- class name for the target object typeopCode
- code for the type of operationcreateOrFree
- indication as to whther the operation is
a Create (true) or Free (false) operation;
should be null if neitherIfsException
- if the operation failspublic void unregisterAuditEventOperationType(String opTypeKey) throws IfsException
Only occurs during upgrade, but is coded so that services can be running, as they correctly invalidate their type map caches.
opTypeKey
- operation type keyIfsException
- if the operation failspublic int[] lookupAuditEventOperationTypes(String[] opTypeKeys) throws IfsException
opTypeKeys
- operation type keysIfsException
- if the operation failspublic String[] lookupAuditEventOperationTypeKeys(int[] opTypes) throws IfsException
opTypes
- numeric operation typesIfsException
- if the operation failspublic String lookupAuditEventOperationTypeKey(int opType) throws IfsException
opType
- numeric operation typeIfsException
- if the operation failspublic AuditTargetCode lookupAuditTargetCode(String className) throws IfsException
className
- class name associated with a registered
audit target typeIfsException
- if the operation failspublic AttributeValue[] getAuditTypesForClass(String className, boolean includeNested) throws IfsException
The AttributeValues returned use the operation type key as the name, and the numeric operation type as the value.
className
- the class name of interest, force to upper case
(e.g. FOLDER)includeNested
- whether or not to include operations for classes
that are descendents of the specified classIfsException
- if the operation failspublic AttributeValue[] getAuditTypesForCreateOperations() throws IfsException
Used to indicate when an object has been created simply by inspecting event types.
IfsException
- if the operation failspublic AttributeValue[] getAuditTypesForFreeOperations() throws IfsException
Used to indicate when an object has been freed simply by inspecting event types.
IfsException
- if the operation failspublic AttributeValue[] getCustomAuditTypes() throws IfsException
IfsException
- if the operation failspublic int registerCustomAuditEventOperationCodeKey(String opCodeKey) throws IfsException
If the key is already registered, this simply returns the numeric value of the previous registration.
opCodeKey
- operation code key; e.g. "FAXED"IfsException
- if the operation failspublic void registerCustomAuditEventOperationType(String opTypeKey, String opCodeKey, int targetCode, String targetClass) throws IfsException
Slightly different signature than the one that registers non-custom types, as the operation code suffix must be registered in a separate step. This method is inherently idempotent - it will return successfully if the operation type is already registered.
The caller must ensure that the targetCode and targetClass are consistent (the mapping is done by AuditEventTypeRegistrations).
opTypeKey
- the operation key (e.g. "DOCUMENT__FAXED")opCodeKey
- operation code key (e.g. "FAXED")targetCode
- code for the target object typetargetClass
- class name for target object type (e.g. "DOCUMENT")IfsException
- if the operation failspublic void unregisterCustomAuditEventOperationType(String opTypeKey) throws IfsException
Slightly different semantics than the one that unregisters non-custom types. This method is inherently idempotent - it will return successfully even if the operation type is not registered.
opTypeKey
- the operation key (e.g. "DOCUMENT__FAXED")IfsException
- if the operation failspublic long getHighestAuditId() throws IfsException
Currently approximates this by selecting the next ID by selecting from the audit sequence, and subtracting 1.
IfsException
- if the operation failspublic AuditCertificate[] getAuditCertificates(Long[] objectIds) throws IfsException
objectIds
- object IDsIfsException
- if the operation failspublic final boolean isTraced(int channel, int level) throws IfsException
isTraced
in interface Traceable
channel
- the channel numberlevel
- the levelIfsException
- (IFS-11201) if the channel is invalidpublic final void trace(int channel, int level, String payload)
public AttributeValue getServiceConfigurationProperty(String name) throws IfsException
name
- the property nameIfsException
- (IFS-20004) if the operation failspublic String getServiceConfigurationProperty(String name, String defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic boolean getServiceConfigurationProperty(String name, boolean defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic int getServiceConfigurationProperty(String name, int defaultValue) throws IfsException
name
- the property namedefaultValue
- the default valueIfsException
- (IFS-20004) if the operation failspublic String[] getRepositoryParameterNames(String prefix) throws IfsException
prefix
- the prefix with which repository parameter names
must start to be returned; if null or zero-length,
all repository parameter names are returnedIfsException
- if the operation failspublic String getRepositoryParameter(String name) throws IfsException
name
- the parameter nameIfsException
- if the operation failspublic void setRepositoryParameter(String name, String value) throws IfsException
name
- the parameter namevalue
- the parameter valueIfsException
- if the operation failspublic void deleteRepositoryParameter(String name) throws IfsException
name
- the parameter nameIfsException
- if the operation failspublic String getEncryptedRepositoryParameter(String name) throws IfsException
The specified repository parameter's value is stored encrypted.
name
- the parameter nameIfsException
- if the operation failspublic void setEncryptedRepositoryParameter(String name, String value) throws IfsException
The specified repository parameter's value is stored encrypted.
name
- the parameter namevalue
- the parameter value, up to 127 charactersIfsException
- if the operation failsprotected final void postAdminModeChange() throws IfsException
IfsException
- if the operation failsprotected final void postDefaultFolderOptionChange() throws IfsException
IfsException
- if the operation failsprotected final void postEvent(IfsEvent event) throws IfsException
event
- the eventIfsException
- if the operation failspublic final oracle.ifs.beans.LibrarySessionEventPoller getEventPoller() throws IfsException
IfsException
- if the operation failspublic final void processEvents() throws IfsException
IfsException
- if the operation failspublic final void flushEvents() throws IfsException
IfsException
- if the operation failspublic final void forceReadEvents() throws IfsException
IfsException
- if the operation failsprotected final void processEventsInBackground() throws IfsException
Unlike processEvents
, which is part of the
published API and only invoked from user applications,
this method is invoked only by the EventPoller. As such,
it uses different locking semantics.
IfsException
- if the operation failspublic final void blockBackgroundProcessing()
Necessary whenever IfsConnections are used in bean-side code.
The caller must ensure that resumeBackgroundProcessing
is called in a finally block to resume background processing.
public final void resumeBackgroundProcessing()
Must allows be called after a call to
blockBackgroundProcessing
.
public final void processEvent(IfsEvent event) throws IfsException
event
- the eventIfsException
- if the operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent
in interface IfsEventHandler
event
- the eventIfsException
- if the operation failspublic final void registerEventHandler(LibraryObject lo, IfsEventHandler handler) throws IfsException
This method allows any object implementing the IfsEventHandler interface to receive notification of events for any LibraryObject. This could be used, for example, to automatically refresh a window displaying the items in a Folder whenever the Folder's contents change.
lo
- the LibraryObject of interesthandler
- the IfsEventHandlerIfsException
- (IFS-11000) if the operation failspublic final void deregisterEventHandler(LibraryObject lo, IfsEventHandler handler) throws IfsException
lo
- the LibraryObject. If null, all LibraryObjects
previously registered for the IfsEventHandler
using registerEventHandler
are
deregistered.handler
- the IfsEventHandler. If null, all
IfsEventHandlers previously registered
for the LibraryObject using
registerEventHandler
are deregistered.IfsException
- (IFS-11001) if the operation failspublic final void registerClassEventHandler(ClassObject co, boolean includeSubclasses, IfsEventHandler handler) throws IfsException
This method allows any object implementing the IfsEventHandler interface to receive notification of events for any LibraryObject. This could be used, for example, to automatically refresh a window displaying the items in a Folder whenever the Folder's contents change.
co
- the ClassObject of interestincludeSubclasses
- whether to include current subclasses
of co
; if a new subclass is
subsequently created, it must be explicitly
registered for IfsEventHandler to receive
events on LibraryObjects of that new classhandler
- the IfsEventHandlerIfsException
- (IFS-11000) if the operation failspublic final void deregisterClassEventHandler(ClassObject co, boolean includeSubclasses, IfsEventHandler handler) throws IfsException
co
- the ClassObject. If null, all ClassObjects
previously registered for the IfsEventHandler
using registerClassEventHandler
are
deregistered.includeSubclasses
- whether to include current subclasses
of co
handler
- the IfsEventHandler. If null, all
IfsEventHandlers previously registered
for the ClassObject using
registerClassEventHandler
are
deregistered.IfsException
- (IFS-11001) if the operation failspublic final void registerServiceEventHandler(IfsEventHandler handler) throws IfsException
This method allows any object implementing the IfsEventHandler interface to receive notification of all committed events processed by the S_LibraryService.
handler
- the IfsEventHandlerIfsException
- 11000: if the operation failspublic final void deregisterServiceEventHandler(IfsEventHandler handler) throws IfsException
handler
- the IfsEventHandler. If null, all
IfsEventHandlers previously registered
are deregistered.IfsException
- (IFS-11001) if the operation failspublic boolean isConnected()
public final boolean isBusy() throws IfsException
IfsException
- if the operation failspublic final boolean isOuterOperation() throws IfsException
IfsException
- if the operation failspublic final void setCreateContext(Long id, LibraryObjectDefinition def) throws IfsException
id
- the object IDdef
- the create operation contextIfsException
- if the operation failspublic final LibraryObjectDefinition getCreateContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void clearCreateContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void setFreeContext(Long id, LibraryObjectDefinition def) throws IfsException
id
- the object IDdef
- the free operation contextIfsException
- if the operation failspublic final LibraryObjectDefinition getFreeContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void clearFreeContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void setUpdateContext(Long id, LibraryObjectDefinition def) throws IfsException
id
- the object IDdef
- the update operation contextIfsException
- if the operation failspublic final LibraryObjectDefinition getUpdateContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void clearUpdateContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void setCopyContext(Long id, LibraryObjectDefinition def) throws IfsException
id
- the object IDdef
- the copy operation contextIfsException
- if the operation failspublic final LibraryObjectDefinition getCopyContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final void clearCopyContext(Long id) throws IfsException
id
- the object IDIfsException
- if the operation failspublic final Transaction beginImplicitTransaction() throws IfsException
completeImplicitTransaction
or
abortImplicitTransaction
.
The token is null if an implicit transaction
is already started.IfsException
- (IFS-10651) if the operation failspublic final void completeImplicitTransaction(Transaction transaction) throws IfsException
transaction
- the transaction to completeIfsException
- (IFS-10652) if the operation failspublic final void abortImplicitTransaction(Transaction transaction)
transaction
- the transaction to abortpublic final boolean isImplicitTransactionInProgress() throws IfsException
IfsException
- if the operation failspublic final boolean isTransactionInProgress() throws IfsException
IfsException
- if the operation failspublic final void cancel() throws IfsException
IfsException
- if the operation failspublic String getResourceString(String key) throws IfsException
The method looks-up the key in each extended resource bundle. If no extended resource bundle contains the key, the default resource bundle (LibraryResources) is used.
key
- the resource bundle keyIfsException
- IFS-12001 if the operation failspublic ClassObject getClassObject(Long classid) throws IfsException
classid
- the class idIfsException
- if the operation failspublic String getResourceString(String key, Object[] params) throws IfsException
The method looks-up the key using getResourceString(key)
.
Next, java.text.MessageFormat
is used to substitute the
parameters specified by params
into the key's value. If
a string element of params
is delimited by brackets, i.e.
"{param}
", then that element is replaced with the
value returned by getResourceString("param")
before
being passed to MessageFormat
.
key
- the resource bundle keyparams
- an array of Objects to be substituted into
the resource bundle message using using
java.text.MessageFormat
IfsException
- IFS-12006 if the operation failspublic final ClassObject getClassObjectByName(String className) throws IfsException
This uses the ClassObjectCollection and is simply a convenience method.
className
- the name of a classIfsException
- if the operation failspublic final ClassObject getClassObjectByName(String className, boolean enforce) throws IfsException
This uses the ClassObjectCollection and is simply a convenience method.
className
- the name of a classenforce
- if true, throw an exception if not found;
if false, return null if not foundIfsException
- if the operation failspublic AttributeValue getClassObjectValueByName(String name) throws IfsException
getClassObjectValueByName
in interface LibrarySessionInterface
IfsException
- if the operation failspublic String getAttributeSortName(String classname, String attributename) throws IfsException
This is part of the LibrarySessionInterface definition.
getAttributeSortName
in interface LibrarySessionInterface
classname
- the name of the ClassObjectattributename
- the name of the AttributeIfsException
- if the operation failspublic DirectoryObject getDirectoryObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public LibraryObject getLibraryObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public LibraryObject getLibraryObject(Long id, Long classId) throws IfsException
id
- ID for the objectclassId
- class ID for the objectIfsException
- if operation fails.protected void recacheObject(LibraryObject obj) throws IfsException
obj
- the objectIfsException
- if the operation failspublic SchemaObject getSchemaObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public SchemaObject getSchemaObject(Long id, Long classId) throws IfsException
The classId can be specified as null if it is not known.
id
- ID for the objectclassId
- class ID for the objectIfsException
- if operation fails.public SystemObject getSystemObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public SystemObject getSystemObject(Long id, Long classId) throws IfsException
The classId can be specified as null if it is not known.
id
- ID for the objectclassId
- class ID for the objectIfsException
- if operation fails.public SimpleObject getSimpleObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public SimpleObject getSimpleObject(Long id, Long classId) throws IfsException
The classId can be specified as null if it is not known.
id
- ID for the objectclassId
- class ID for the objectIfsException
- if operation fails.public PublicObject getPublicObject(Long id) throws IfsException
id
- identifier for the objectIfsException
- if operation fails.public PublicObject getPublicObject(Long id, Long classId) throws IfsException
The classId can be specified as null if it is not known.
id
- ID for the objectclassId
- class ID for the objectIfsException
- if operation fails.public Long[] getDiscoverabilityOfPublicObjectsIds(Long[] ids) throws IfsException
The array specified contains the set of PublicObject IDs that are to be checked. A corresponding array is returned, which will be a clone of the one specified, with null values replaced for the IDs that correspond to objects the user cannot discover.
ids
- array of PublicObject IDsIfsException
- if the operation failspublic boolean isDiscoverablePublicObjectId(Long id) throws IfsException
id
- the PublicObject ID to checkIfsException
- if the operation failspublic boolean isPublicObjectIdDiscoverable(Long id) throws IfsException
Returns true if and only if the user is able to discover a PublicObject with the ID specified.
id
- PublicObject IDIfsException
- if the operation failspublic DirectoryObjectInterface getDirectoryObjectInterface(Long id) throws IfsException
getDirectoryObjectInterface
in interface LibrarySessionInterface
id
- the id of interestIfsException
- if the operation failspublic DirectoryObjectInterface[] getDirectoryObjectInterfaces(Long[] ids) throws IfsException
getDirectoryObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestIfsException
- if the operation failspublic PublicObjectInterface getPublicObjectInterface(Long id) throws IfsException
getPublicObjectInterface
in interface LibrarySessionInterface
id
- the id of interestIfsException
- if the operation failspublic PublicObjectInterface[] getPublicObjectInterfaces(Long[] ids) throws IfsException
getPublicObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestIfsException
- if the operation failspublic SchemaObjectInterface getSchemaObjectInterface(Long id) throws IfsException
getSchemaObjectInterface
in interface LibrarySessionInterface
id
- the id of interestIfsException
- if the operation failspublic SchemaObjectInterface[] getSchemaObjectInterfaces(Long[] ids) throws IfsException
getSchemaObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestIfsException
- if the operation failspublic SystemObjectInterface getSystemObjectInterface(Long id) throws IfsException
getSystemObjectInterface
in interface LibrarySessionInterface
id
- the id of interestIfsException
- if the operation failspublic SystemObjectInterface[] getSystemObjectInterfaces(Long[] ids) throws IfsException
getSystemObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestIfsException
- if the operation failspublic SimpleObjectInterface getSimpleObjectInterface(Long id, Long classId) throws IfsException
getSimpleObjectInterface
in interface LibrarySessionInterface
id
- the id of interestclassId
- the classId of interestIfsException
- if the operation failspublic SimpleObjectInterface[] getSimpleObjectInterfaces(Long[] ids) throws IfsException
getSimpleObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestIfsException
- if the operation failspublic SimpleObjectInterface[] getSimpleObjectInterfaces(Long[] ids, Long primaryClassId) throws IfsException
getSimpleObjectInterfaces
in interface LibrarySessionInterface
ids
- the ids of interestprimaryClassId
- the primary class IDIfsException
- if the operation failspublic Long getLowestCommonClassObjectIdAncestor(SimpleObjectInterface[] mos) throws IfsException
The class ID returned is null if all objects in the specified array are null. The class ID returned is zero if there is no common ancestor for the specified objects (at least one of which is non-null) that is non-tableless.
This is part of the LibrarySessionInterface.
getLowestCommonClassObjectIdAncestor
in interface LibrarySessionInterface
mos
- the SimpleObjectsIfsException
- if the operation failspublic LibraryObject getLibraryObject(S_LibraryObjectData data) throws IfsException
data
- a data objectIfsException
- if operation fails.protected LibraryObject constructInstance(S_LibraryObjectData data) throws IfsException
data
- data for the objectIfsException
- if operation fails.public LibraryObject constructInstance(Long id, Long class_id, S_ClassObjectData classData) throws IfsException
id
- id for the objectclass_id
- Class id for the objectclassData
- Class data for the object's classIfsException
- if operation fails.protected LibraryObject cacheInstance(Long id, LibraryObject obj) throws IfsException
This is done as part of normal construction, and is also done when after an object's creation is complete, if constructed prior to createPublicObject() etal.
id
- id for the objectobj
- the objectIfsException
- if operation fails.public S_LibraryObjectData getLibraryObjectData(Long id, Long classId, String attributeName, boolean selectFully) throws IfsException
id
- the id of interestclassId
- the if of the classattributeName
- if non-null, the returned data will be
selected at least as deeply as this attributeselectFully
- if true, the returned data will be fully
selected (i.e. as deep as possible)IfsException
- if the operation failspublic Object getServerSideLockObject()
IfsException
- if the operation failspublic S_ClassObjectData getResolvedClassObjectData(Long id) throws IfsException
id
- the idIfsException
- if the operation failspublic void delete(PublicObject[] items) throws IfsException
items
- the PublicObjects to be deleted.IfsException
- if operation fails.public void undelete(PublicObject[] items) throws IfsException
items
- the PublicObjects to be undeleted.IfsException
- if operation fails.public void free(LibraryObject[] items) throws IfsException
items
- the objects to be freed.IfsException
- if operation fails.public PublicObject[] getObjectsLockedForSession() throws IfsException
IfsException
- if operation fails.public void unlockForSession(PublicObject[] items) throws IfsException
The objects are unlocked in a single transaction; any failure will rollback the entire operation.
items
- the PublicObjects to be unlocked.IfsException
- if operation fails.public DirectoryGroup getWorldDirectoryGroup() throws IfsException
IfsException
- if operation fails.public DirectoryUser getSystemDirectoryUser() throws IfsException
IfsException
- if operation fails.public boolean isSystemDirectoryUser() throws IfsException
IfsException
- if operation fails.public boolean isGuestUser() throws IfsException
IfsException
- if operation fails.public DirectoryUser getGuestUser() throws IfsException
IfsException
- if operation fails.public AttributeValue getArrayTypeAttributeValue(AttributeValueArray av, long objectId, long attributeId, Long priClassId, int count) throws IfsException
For internal use only. Do not use this method.
The invoker of this method sucks the elements from the returned object, plugs them into the corresponding cached AttributeValue, and then discards the returned object.
getArrayTypeAttributeValue
in interface LibrarySessionInterface
av
- the AttributeValue of interestobjectId
- The LibraryObject ID.attributeId
- The Attribute id.priClassId
- The primary Class IDcount
- the number of elements in the AttributeValueIfsException
- if the operation failspublic AttributeValue getMapTypeAttributeValue(int dataType, long objectId, long attrIdVal, int count) throws IfsException
For internal use only. Do not use this method.
The invoker of this method sucks the elements from the returned object, plugs them into the corresponding cached AttributeValue, and then discards the returned object.
getMapTypeAttributeValue
in interface LibrarySessionInterface
dataType
- the AttributeValue's data typeobjectId
- the ID of the LibraryObject for which
this AttributeValue represents the value
of one of its AttributesattrIdVal
- the ID value of the Attributecount
- the number of elements in the AttributeValueIfsException
- if the operation failspublic void grantAdministration(DirectoryUser user) throws IfsException
user
- the user to receive the admin grantIfsException
- if operation fails.public void registerCollection(Collection collection, String classname) throws IfsException
collection
- the collection itselfclassname
- the classname corresponding to the ClassObject
name specified at collection constructionIfsException
- if the operation failspublic void deregisterCollection(Collection collection, String classname) throws IfsException
collection
- the collection itselfclassname
- the classname corresponding to the ClassObject
name specified at collection constructionIfsException
- if the operation failspublic void verifyExecutionMode(int mode) throws IfsException
Throw an exception otherwise.
IfsException
- if not in at least the mode specifiedpublic void verifyAdministrationMode() throws IfsException
IfsException
- (IFS-21051) if not in administration modeprotected void verifyInstallationMode() throws IfsException
IfsException
- (IFS-21051) if not in installation modepublic final Transaction beginTransaction() throws IfsException
completeTransaction
or
abortTransaction
IfsException
- (IFS-21000) if not connected;
(IFS-10651) if the operation failspublic final void completeTransaction(Transaction transaction) throws IfsException
transaction
- the transaction to completeIfsException
- (IFS-21000) if not connected;
(IFS-10652) if the operation failspublic final void abortTransaction(Transaction transaction) throws IfsException
transaction
- the transaction to abortIfsException
- (IFS-21000) if not connected;
(IFS-10653) if the operation failspublic final void abortTransaction(Transaction transaction, IfsException originalException) throws IfsException
If an exception in thrown in aborting the transaction,
originalException
will be nested within IFS-10653.
transaction
- the transaction to abortoriginalException
- the IfsException that caused this
transaction to be abortedIfsException
- (IFS-10653) if the operation failspublic final void commit() throws IfsException
After this method is invoked, attempting to abort any of the in-progress Transactions for this LibrarySession will throw an exception.
IfsException
- (IFS-21000) if not connected;
(IFS-10654) if the operation failspublic final void rollback() throws IfsException
After this method is invoked, attempting to complete any of the in-progress Transactions for this LibrarySession will throw an exception.
IfsException
- (IFS-21000) if not connected;
(IFS-10655) if the operation failspublic IfsConnection getIfsConnection() throws IfsException
A writeable transaction must be in progress; if not, an IfsException (IFS-10665) is thrown.
IfsException
- if the operation failspublic Serializable invokeServerMethod(String methodName, Serializable payload) throws IfsException
methodName
- the method name.payload
- the method argumentIfsException
- if operation fails.public void createView(ViewSpecification vsp) throws IfsException
vsp
- the view specificationIfsException
- if operation failspublic Vector getFolderIndexDeferredUpdates(int maxItems) throws IfsException
maxItems
- the maximum number of entries to returnIfsException
- if the operation failspublic void applyFolderIndexDeferredUpdate(FolderIndexDeferredUpdate entry) throws IfsException
entry
- the entry to applyIfsException
- if the operation failspublic boolean isAclIndexUpdateModeSynchronous() throws IfsException
IfsException
- if the operation failspublic Vector getAclIndexDeferredUpdates(int maxItems) throws IfsException
maxItems
- the maximum number of entries to returnIfsException
- if the operation failspublic void applyAclIndexDeferredUpdate(AccessControlListDeferredUpdate entry, boolean deleteAfterProcessing) throws IfsException
entry
- the entry to applydeleteAfterProcessing
- whether to delete after processingIfsException
- if the operation failspublic void deleteAclIndexDeferredUpdates(Long[] ids) throws IfsException
ids
- the set of AccessControlListDeferredUpdate
IDs to deleteIfsException
- if the operation failspublic void resolveObjects(LibraryObject[] objs, ObjectResolverSpecification spec) throws IfsException
objs
- the set of objects to resolvespec
- the resolution specificationIfsException
- if the operation failspublic void createRetainedEventDatabaseObjects(RetainedEvent event) throws IfsException
event
- RetainedEvent that describes the typeIfsException
- if the operation failspublic void dropRetainedEventDatabaseObjects(RetainedEvent event) throws IfsException
event
- RetainedEvent that describes the typeIfsException
- if the operation failspublic void insertRetainedEvent(RetainedEvent event) throws IfsException
event
- RetainedEvent to insertIfsException
- if the operation failspublic void deleteRetainedEvent(RetainedEvent event) throws IfsException
event
- RetainedEvent to deleteIfsException
- if the operation failspublic RetainedEvent[] getRetainedEvents(RetainedEvent event, int maxItems) throws IfsException
event
- Type of RetainedEvent desiredmaxItems
- max number of items desiredIfsException
- if the operation failsprotected void DMSetLibrarySession(LibrarySession session) throws IfsException
IfsException
- if the operation failsprotected Long DMGetSessionId() throws IfsException
IfsException
- if the operation failsprotected Long DMGetServiceId() throws IfsException
IfsException
- if the operation failspublic String DMGetSchemaName() throws IfsException
IfsException
- if the operation failsprotected Long DMGetClockOffset() throws IfsException
IfsException
- if the operation failsprotected Hashtable DMGetServiceConfigurationProperties() throws IfsException
IfsException
- if the operation failsprotected String[] DMGetRepositoryParameterNames(String prefix) throws IfsException
IfsException
- if the operation failsprotected String DMGetRepositoryParameter(String name) throws IfsException
IfsException
- if the operation failsprotected void DMSetRepositoryParameter(String name, String value) throws IfsException
IfsException
- if the operation failsprotected void DMDeleteRepositoryParameter(String name) throws IfsException
IfsException
- if the operation failsprotected String DMGetEncryptedRepositoryParameter(String name) throws IfsException
IfsException
- if the operation failsprotected void DMSetEncryptedRepositoryParameter(String name, String value) throws IfsException
IfsException
- if the operation failspublic final void DMUpdateSessionDefaults(Hashtable properties) throws IfsException
IfsException
- if the operation failspublic final void DMUpdateLocalizer(Hashtable properties) throws IfsException
properties
- the Localizer propertiesIfsException
- if the operation failspublic void DMRegisterEventHandler(Long id) throws IfsException
id
- the object ID that has a registered handlerIfsException
- if the operation failspublic void DMDeregisterEventHandler(Long id) throws IfsException
id
- the object ID that no longer has any registered handlersIfsException
- if the operation failspublic void DMRegisterClassEventHandler(Long classId) throws IfsException
classId
- the Class ID that has a registered handlerIfsException
- if the operation failspublic void DMDeregisterClassEventHandler(Long classId) throws IfsException
classId
- the Class ID that no longer has any registered handlersIfsException
- if the operation failsprotected void DMRegisterServiceEventHandler(IfsEventHandler handler) throws IfsException
handler
- the handler to registerIfsException
- if the operation failsprotected void DMDeregisterServiceEventHandler(IfsEventHandler handler) throws IfsException
handler
- the handler to de-registerIfsException
- if the operation failsprotected void DMTrace(int channel, int level, Long serviceId, Long sessionId, Long id, String classname, String payload) throws IfsException
IfsException
- if the operation failsprotected void DMSetSessionTraceLoggerLevels(int[] levels) throws IfsException
IfsException
- if the operation failsprotected int[] DMGetSessionTraceLoggerLevels() throws IfsException
IfsException
- if the operation failsprotected void DMSetServiceTraceLoggerLevels(int[] levels) throws IfsException
IfsException
- if the operation failsprotected int[] DMGetServiceTraceLoggerLevels() throws IfsException
IfsException
- if the operation failsprotected void DMPostEvent(IfsEvent event) throws IfsException
IfsException
- if the operation failsprotected void DMProcessEvents() throws IfsException
IfsException
- if the operation failsprotected void DMFlushEvents() throws IfsException
IfsException
- if the operation failsprotected void DMForceReadEvents() throws IfsException
IfsException
- if the operation failsprotected Vector DMProcessEventsInBackground() throws IfsException
IfsException
- if the operation failsprotected void DMDisconnect() throws IfsException
IfsException
- if the operation failsprotected long DMVersionNumber() throws IfsException
IfsException
- if the operation failsprotected String DMVersionString() throws IfsException
IfsException
- if the operation failsprotected long DMSchemaVersionNumber() throws IfsException
IfsException
- if the operation failsprotected String DMSchemaVersionString() throws IfsException
IfsException
- if the operation failsprotected Vector DMListWastebasketSelectorItems(String searchClass, String searchDefinition, boolean recursive, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected long DMGetWastebasketSelectorItemCount(String searchClass, String searchDefinition, boolean recursive) throws IfsException
IfsException
- if the operation failsprotected long DMOpenWastebasketSelector(String searchClass, String searchDefinition, boolean recursive, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected void DMPostAuditEvent(AuditEvent event, int mode) throws IfsException
IfsException
- if the operation failsprotected Long DMDirectlyDispatchAuditEvent(AuditEvent event, Long specId) throws IfsException
IfsException
- if the operation failsprotected RawAuditEvent[] DMSelectRawAuditEvents(String filterClause, int maxItems) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveRawAuditEvents(RawAuditEvent[] rawEvents) throws IfsException
IfsException
- if the operation failsprotected void DMHandleAuditEventDispatchRequests(ArrayList reqList, String tableName) throws IfsException
IfsException
- if the operation failsprotected AuditEvent[] DMSelectAuditEvents(Long auditSpec, String filterClause, AttributeValue[] bindValues, String sortClause, int maxItems) throws IfsException
IfsException
- if the operation failsprotected AttributeValue[] DMSelectAggregateAuditEventColumns(Long auditSpec, String aggFuncName, String[] columnNames, String[] aggColumnNames, String filterClause, String sortClause) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveAuditEvents(long[] eventIds, String tableName) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveAuditEventsForTarget(Long specId, Long targetId) throws IfsException
IfsException
- if the operation failsprotected AuditFolderPath DMSelectSpecificAuditFolderPath(long folderPathId) throws IfsException
IfsException
- if the operation failsprotected int DMRegisterAuditEventOperationType(String opTypeKey, int targetCode, String targetClass, int opCode, Boolean createOrFree) throws IfsException
IfsException
- if the operation failsprotected void DMUnregisterAuditEventOperationType(String opTypeKey) throws IfsException
IfsException
- if the operation failsprotected int[] DMLookupAuditEventOperationTypes(String[] keys) throws IfsException
IfsException
- if the operation failsprotected String[] DMLookupAuditEventOperationTypeKeys(int[] opTypes) throws IfsException
IfsException
- if the operation failspublic AuditTargetCode DMLookupAuditTargetCode(String className) throws IfsException
IfsException
- if the operation failsprotected AttributeValue[] DMGetAuditTypesForClass(String className, boolean includeNested) throws IfsException
IfsException
- if the operation failsprotected AttributeValue[] DMGetAuditTypesForCreateOperations() throws IfsException
IfsException
- if the operation failsprotected AttributeValue[] DMGetAuditTypesForFreeOperations() throws IfsException
IfsException
- if the operation failsprotected AttributeValue[] DMGetCustomAuditTypes() throws IfsException
IfsException
- if the operation failsprotected int DMRegisterCustomAuditEventOperationCodeKey(String opCodeKey) throws IfsException
IfsException
- if the operation failsprotected long DMGetHighestAuditId() throws IfsException
IfsException
- if the operation failsprotected AuditCertificate[] DMGetAuditCertificates(Long[] objectIds) throws IfsException
IfsException
- if the operation failsprotected void DMEmptyWastebasket() throws IfsException
IfsException
- if the operation failsprotected void DMFilterDeletedObjects(boolean mode) throws IfsException
IfsException
- if the operation failsprotected void DMSetExecutionMode(int mode) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsExecutionMode(int mode) throws IfsException
IfsException
- if the operation failsprotected void DMPushTemporaryExecutionMode(int mode)
protected void DMPopTemporaryExecutionMode()
protected void DMPushTemporaryAccessCheckMode(boolean mode)
protected void DMPopTemporaryAccessCheckMode()
protected void DMSendClientVersionInformation(long versionNumber, String versionString) throws IfsException
IfsException
- if the operation failsprotected void DMFeignUser(Long id, Long classid) throws IfsException
IfsException
- if the operation failspublic void DMPersistTokenCredential(TokenCredential credential) throws IfsException
IfsException
- if the operation failspublic void DMInvalidateTokenCredentials(Long userId) throws IfsException
IfsException
- if the operation failsprotected boolean DMReauthenticate(Credential credential, ConnectOptions options) throws IfsException
IfsException
- if the operation failsprotected void DMGrantAdmin(Long userid) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetPrimaryUserProfile(Long id) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetDirectoryUserData() throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetOurPrimaryUserProfile() throws IfsException
IfsException
- if the operation failsprotected void DMCalculateConsumedStorage(Long id, Long classid) throws IfsException
IfsException
- if the operation failsprotected AttributeValue DMGetArrayTypeAttributeValue(long objectId, long attributeId, Long priClassId, int count) throws IfsException
IfsException
- if the operation failsprotected AttributeValue DMGetMapTypeAttributeValue(int dataType, long objectId, long attributeId, int count) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetArrayReferencingObjects(Long attributeId, AttributeValue referencedValue, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected S_ClassObjectData DMGetResolvedClassObjectData(Long id) throws IfsException
IfsException
- if the operation failsprotected long DMGetAttributesRsn() throws IfsException
IfsException
- if the operation failsprotected void DMAddMemberToDirectoryGroup(Long group_id, Long classid, Long rightObj, Long rightObjClassid) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveMemberFromDirectoryGroup(Long group_id, Long classid, Long rightObj, Long rightObjClassid) throws IfsException
IfsException
- if the operation failsprotected void DMAddMembersToDirectoryGroup(Long group_id, Long classid, Long[] rightObjIds, Long[] rightObjClassids) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveMembersFromDirectoryGroup(Long group_id, Long classid, Long[] rightObjIds, Long[] rightObjClassids) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetAllMembersOfDirectoryGroup(Long id, Long classid, boolean filterForDiscoverability) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetDirectMembersOfDirectoryGroup(Long id, Long userid, boolean filterForDiscoverability) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsDirectMemberOfDirectoryGroup(Long groupId, Long groupClassId, Long userId, Long userClassId) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsMemberOfDirectoryGroup(Long groupId, Long groupClassId, Long userId, Long userClassId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetCategoryIds(Long id, Long classid) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetAllAncestorsOfDirectoryObject(Long id, Long userid) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetDirectAncestorsOfDirectoryObject(Long id, Long userid) throws IfsException
IfsException
- if the operation failsprotected int DMGetMemberThreshold() throws IfsException
IfsException
- if the operation failsprotected int DMGetAncestorThreshold() throws IfsException
IfsException
- if the operation failsprotected boolean DMIsArrayInputsUsedForMemberSelection() throws IfsException
IfsException
- if the operation failsprotected boolean DMIsArrayInputsUsedForAncestorSelection() throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetCompositeAclIds(Long id, Long classid, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetPublicObjectsReferringToLockObject(Long id, Long classid, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsLockObjectShared(Long id, Long classid) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetLockedForSessionObjects() throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMCopyLibraryObject(Long id, Long classId, S_LibraryObjectDefinition sdef) throws IfsException
IfsException
- if the operation failsprotected ObjectReferenceAttributeValue DMGetObjectReferenceAttribute(Long id, Long classId, String attrName) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMConvertToPrivateACL(Long id, Long classId, S_LibraryObjectDefinition sdef) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewPublicObject(S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewSystemObject(S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewSimpleObject(S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewSchemaObject(S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectDefinition DMSetAttributes(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMLockRows(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected Serializable DMInvokeServerMethod(Long id, Long classId, String methodName, Serializable payload) throws IfsException
IfsException
- if the operation failsprotected Object DMInvokeOperation(Long id, Long classId, OperationContext op) throws IfsException
IfsException
- if the operation failsprotected void DMDelete(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMUndelete(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMFree(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failspublic Long DMAddAttributeToClassObject(Long id, S_LibraryObjectDefinition def) throws IfsException
id
- the ClassObject iddef
- the Attribute definitionIfsException
- (IFS-30820) if the operation failspublic void DMRemoveAttributeFromClassObject(Long id, S_LibraryObjectDefinition def) throws IfsException
id
- the Attribute iddef
- a definition that influences how the attribute is
removed, or null for default behaviorIfsException
- (IFS-30821) if the operation failsprotected Long[] DMfetchACEs(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMaddAccessControlEntry(Long id, Long classId, S_LibraryObjectDefinition sdef) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveAccessControlEntry(Long id, Long classId, Long aceId, Long aceClassId) throws IfsException
IfsException
- if the operation failsprotected void DMupdateAccessControlEntry(Long id, Long classId, Long aceId, Long aceClassId, S_LibraryObjectDefinition sdef) throws IfsException
IfsException
- if the operation failsprotected void DMremoveAllAccessControlEntries(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected AccessLevel DMGetAccessLevel(Long id, Long classId, Long userId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetDiscoverabilityOfPublicObjectsIds(Long[] ids) throws IfsException
IfsException
- if the operation failsprotected void DMApplyFolderIndexDeferredUpdate(FolderIndexDeferredUpdate entry) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetFolderIndexDeferredUpdates(int maxItems) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsAclIndexUpdateModeSynchronous() throws IfsException
IfsException
- if the operation failsprotected void DMApplyAclIndexDeferredUpdate(AccessControlListDeferredUpdate entry, boolean deleteAfterProcessing) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetAclIndexDeferredUpdates(int maxItems) throws IfsException
IfsException
- if the operation failsprotected void DMDeleteAclIndexDeferredUpdates(Long[] ids) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetExpiredTimedLocks(int maxItems, int offset) throws IfsException
IfsException
- if the operation failsprotected int DMReleaseExpiredLockObject(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected void DMResolveObjects(Long[] ids, Long[] classIds, ObjectResolverSpecification spec) throws IfsException
IfsException
- if the operation failsprotected Vector DMFetchProperties(Long propertyBundleId, Long propertyBundleClassId) throws IfsException
IfsException
- if the operation failsprotected AttributeValue DMGetProperty(Long propertyBundleId, Long propertyBundleClassId, String propertyName) throws IfsException
IfsException
- if the operation failsprotected Vector DMFetchPolicyListElements(Long policyListId, Long policyListClassId) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetEffectiveClassPolicyListElements(Long id, Long classId, String operation) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetEffectivePolicyListElements(Long id, Long classId, String operation) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetFolderReferences(Long publicObject_id, Long classid, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMListItems(Long folder_id, Long classid, String folderRelClassname, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected void DMAddToFolder(Long folder_id, Long classid, Long rightObj, Long rightObjClassid) throws IfsException
IfsException
- if the operation failsprotected void DMAddFolderRelationship(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveFromFolder(Long folder_id, Long classid, Long rightObj, Long rightObjClassid, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMFindPublicObjectByPath(Long folder_id, Long classid, String path) throws IfsException
IfsException
- if the operation failsprotected boolean DMCheckExistenceOfPublicObjectByPath(Long folder_id, Long classid, String path) throws IfsException
IfsException
- if the operation failsprotected String DMGetAnyFolderPath(Long id, Long classid, Long folderRefId, Long folderRefClassid, FolderPathOptions fpo, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected String[] DMGetAllFolderPaths(Long id, Long classid, Long folderRefId, Long folderRefClassid, FolderPathOptions fpo, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected long DMGetFolderItemCount(Long folder_id, Long classId, String folderRelClassname) throws IfsException
IfsException
- if the operation failspublic boolean DMFolderHasSubFolders(Long folder_id, Long classId) throws IfsException
IfsException
- if the operation failsprotected long DMGetSubfolderCount(Long folder_id, Long classId, String folderRelClassname) throws IfsException
IfsException
- if the operation failsprotected void DMOpenFolder(Long folder_id, Long classid, String folderRelClassname, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNextFolderItem(Long folder_id, Long classid) throws IfsException
IfsException
- if the operation failsprotected void DMCloseFolder(Long folder_id, Long classid) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetFolderItemList(Long folder_id, Long classid, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected int DMGetTotalFolderItemCount(Long folder_id, Long classid) throws IfsException
IfsException
- if the operation failsprotected Vector DMListSelectorItems(String searchClass, String searchDefinition, boolean recursive, int maxItemCount, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMListPreparedSelectorItems(String statementKey, boolean distinct, AttributeValue searchTarget, AttributeValue[] auxSearchTargets, String[] bypassSecAliases, String joinCondition, String searchDefinition, boolean recursive, String language, int maxItemCount, int rowNumber, String hint, SortSpecification sort, AttributeValue[] bindValues) throws IfsException
IfsException
- if the operation failsprotected AttributeValueTable[] DMGetPreparedSelectorResults(String statementKey, boolean distinct, AttributeValue searchTarget, AttributeValue[] auxSearchTargets, ColumnDescriptor[] colDescs, String[] bypassSecAliases, String joinCondition, String searchDefinition, boolean recursive, String language, int maxItemCount, int rowNumber, String hint, SortSpecification sort, AttributeValue[] bindValues) throws IfsException
IfsException
- if the operation failsprotected int DMGetPreparedSelectorItemCount(String statementKey, boolean distinct, AttributeValue searchTarget, AttributeValue[] auxSearchTargets, String[] bypassSecAliases, String joinCondition, String searchDefinition, boolean recursive, String hint, AttributeValue[] bindValues) throws IfsException
IfsException
- if the operation failsprotected long DMGetSelectorItemCount(String searchClass, String searchDefinition, boolean recursive) throws IfsException
IfsException
- if the operation failsprotected long DMOpenSelector(String searchClass, String searchDefinition, boolean recursive, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNextSelectorItem(long cursorId) throws IfsException
IfsException
- if the operation failsprotected Vector DMNextSelectorBatch(long cursorId, int batchSize) throws IfsException
IfsException
- if the operation failsprotected void DMCloseSelector(long cursorId) throws IfsException
IfsException
- if the operation failsprotected Long DMNewSearch() throws IfsException
IfsException
- if the operation failsprotected Long DMNewSearchFromObject(Long srchObjId) throws IfsException
IfsException
- if the operation failsprotected SearchSpecification DMGetSearchSpecification(Long srchId) throws IfsException
IfsException
- if the operation failsprotected void DMSetSearchSpecification(Long srchId, SearchSpecification sp) throws IfsException
IfsException
- if the operation failsprotected void DMOpenSearch(Long id, Vector bindValues, String language, int timeout) throws IfsException
IfsException
- if the operation failsprotected int DMgetSearchItemCount(Long id, Vector bindValues, String language, int timeout) throws IfsException
IfsException
- if the operation failsprotected String DMgetSearchSQLString(Long id) throws IfsException
IfsException
- if the operation failsprotected Vector DMNextSearchItems(Long id, int batchCount) throws IfsException
IfsException
- if the operation failsprotected void DMCloseSearch(Long id) throws IfsException
IfsException
- if the operation failsprotected void DMDisposeSearch(Long id) throws IfsException
IfsException
- if the operation failsprotected void DMCreateView(ViewSpecification vsp) throws IfsException
IfsException
- if the operation failspublic Long DMGetPartitionValue(Long id, Long classId) throws IfsException
IfsException
- if the operation failspublic Date DMGetLastAccessDate(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMGetContentStream(Long id, Long classId, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMGetContentReader(Long id, Long classId, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failspublic void clearRaciSessionContext(RandomAccessContentInterface raci) throws IfsException
IfsException
- if the operation failspublic void reestablishRaciSessionContext(RandomAccessContentInterface raci) throws IfsException
IfsException
- if the operation failsprotected RandomAccessor DMGetContentByRandomAccess(Long coId, Long coClassId, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected RandomAccessor DMUpdateContentByRandomAccess(Long docId, Long docClassId, S_LibraryObjectDefinition sdocdef, Long expirationPeriod) throws IfsException
IfsException
- if the operation failsprotected Long DMRandomAccessorGetDocumentId(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected Long DMRandomAccessorGetContentObjectId(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected void DMRandomAccessorSetSession(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected int DMRandomAccessorRead(S_RandomAccessorImpl ra, long pos, byte[] b, int off, int len) throws IfsException
IfsException
- if the operation failsprotected boolean DMRandomAccessorIsWriteable(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected void DMRandomAccessorWrite(S_RandomAccessorImpl ra, long pos, byte[] b, int off, int len) throws IfsException
IfsException
- if the operation failsprotected void DMRandomAccessorTruncate(S_RandomAccessorImpl ra, long len) throws IfsException
IfsException
- if the operation failsprotected long DMRandomAccessorLength(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected void DMRandomAccessorDispose(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected void DMRandomAccessorClose(S_RandomAccessorImpl ra) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMNewContentStreamSerializer() throws IfsException
IfsException
- if the operation failsprotected boolean DMIsContentReadByUser(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsContextIndexEnabled() throws IfsException
IfsException
- if the operation failsprotected void DMSetContentReadByUser(Long id, Long classId, boolean readState, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMRender(Long id, Long classId, String rendererType, String rendererName, Hashtable options, boolean reader) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsVersionable(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsInstanceOfClassVersionable(Long classId) throws IfsException
IfsException
- if the operation failsprotected void DMUnReserve(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewRevision(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMReserveNext(Long id, Long classId, String contentPath, String comment) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewVersionSeries(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMNewBranchedVersionSeries(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMIntegrateIntoVersionSeries(Long sid, Long sclassId, Long tid, Long tclassId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMfetchRevisions(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMfetchVersionSerieses(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetLinks(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected void DMReassociateLinks(Long oldId, Long oldClassId, Long newId, Long newClassId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMAddRelationship(Long id, Long classId, S_LibraryObjectDefinition def) throws IfsException
IfsException
- if the operation failsprotected void DMRemoveRelationship(Long id, Long classId, Long relId, Long relClassId) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetRightwardRelationshipObjects(Long id, Long classId, Long relClassId, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetLeftwardRelationshipObjects(Long id, Long classId, Long relClassId, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetRightwardRelationships(Long id, Long classId, Long relClassId, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected Vector DMGetLeftwardRelationships(Long id, Long classId, Long relClassId, SortSpecification sort) throws IfsException
IfsException
- if the operation failsprotected long DMGetLeftwardRelationshipsCount(Long id, Long classId, Long relClassId) throws IfsException
IfsException
- if the operation failsprotected Transaction DMBeginTransaction(boolean writeable) throws IfsException
IfsException
- if the operation failsprotected void DMCompleteTransaction(Transaction transaction) throws IfsException
IfsException
- if the operation failsprotected void DMAbortTransaction(Transaction transaction) throws IfsException
IfsException
- if the operation failsprotected void DMCommit() throws IfsException
IfsException
- if the operation failsprotected void DMRollback() throws IfsException
IfsException
- if the operation failsprotected boolean DMIsTransactionInProgress() throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMgetLibraryObjectData(Long id, Long classId, String attributeName, boolean selectFully) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetPublicObjectData(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetSystemObjectData(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetSimpleObjectData(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMGetSchemaObjectData(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected void DMGenerateThemes(Long contentId, Long contentClassId, boolean fullThemes, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected void DMAddManualTextIndexing(Long id, Long classId, ContentStreamSerializer css) throws IfsException
IfsException
- if the operation failsprotected void DMEnqueueMessage(Long id, Long classId, oracle.sql.ORAData message) throws IfsException
id
- id of the QueueclassId
- classId of the Queuemessage
- message to be enqueuedIfsException
- if the operation failsprotected void DMEnqueueMessage(Long id, Long classId, oracle.sql.ORAData message, String correlation) throws IfsException
id
- id of the QueueclassId
- classId of the Queuemessage
- message to be enqueuedcorrelation
- correlation for the messageIfsException
- if the operation failsprotected long DMGetConsumedStorage(Long id, Long classId) throws IfsException
id
- id of the objectclassId
- classId of the objectIfsException
- if the operation failsprotected oracle.sql.ORAData DMDequeueMessage(Long id, Long classId, String subscriberName) throws IfsException
id
- id of the QueueclassId
- classId of the QueuesubscriberName
- name of the subscriber dequeueing the messageIfsException
- if the operation failsprotected oracle.sql.ORAData DMDequeueMessageFromExceptionQueue(Long id, Long classId) throws IfsException
id
- id of the QueueclassId
- classId of the QueueIfsException
- if the operation failsprotected ContextTheme[] DMGetThemes(Long contentId, Long contentClassId, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected void DMGenerateSummary(Long contentId, Long contentClassId, String pointOfView, long sizeAsPercent, long sizeAsNumParagraphs, String summaryLevel, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMGetSummary(Long contentId, Long contentClassId, String pointOfView, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected void DMFilterContent(Long contentId, Long contentClassId, boolean plaintext, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectDefinition DMGetSLibraryObjectDefinition(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected Long[] DMGetIdsForNewObjects(int length) throws IfsException
IfsException
- if the operation failsprotected ContentStreamSerializer DMGetFilteredContent(Long contentId, Long contentClassId, Long refObjId, Long refObjClassId) throws IfsException
IfsException
- if the operation failsprotected String DMGetNLSDatabaseParameterValue(String parameter) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMCreateDefaultPropertyBundle(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected S_LibraryObjectData DMCreateDefaultPolicyPropertyBundle(Long id, Long classId) throws IfsException
IfsException
- if the operation failsprotected boolean DMIsAttributeValueInValueDomain(Long id, Long classId, AttributeValue av) throws IfsException
IfsException
- if the operation failspublic void DMCreateRetainedEventDatabaseObjects(RetainedEvent event) throws IfsException
IfsException
- if the operation failspublic void DMDropRetainedEventDatabaseObjects(RetainedEvent event) throws IfsException
IfsException
- if the operation failspublic void DMInsertRetainedEvent(RetainedEvent event) throws IfsException
IfsException
- if the operation failsprotected void DMDeleteRetainedEvent(RetainedEvent event) throws IfsException
IfsException
- if the operation failsprotected RetainedEvent[] DMGetRetainedEvents(RetainedEvent event, int maxItems) throws IfsException
IfsException
- if the operation failspublic final String getServerProperty(String key, String defaultValue) throws IfsException
key
- the keydefaultValue
- the default value if the key is invalidIfsException
- if an error occursCopyright © 2023. All rights reserved.