JAVA/CORBA CLASSES
Represents a Notes database.
Syntax
public class Database extends Base
Containment
Contained by: AgentContext, DbDirectory, and Session
Can contain: ACL, Agent, DateTime, Document, DocumentCollection, Form, Outline, Replication, View
Properties
ACL through getACL
Agents through getAgents
AllDocuments through getAllDocuments
Categories through getCategories and setCategories
Created through getCreated
CurrentAccessLevel through getCurrentAccessLevel
DesignTemplateName through getDesignTemplateName
FileName through getFileName
FilePath through getFilePath
FolderReferencesEnabled through getFolderReferences and setFolderReferences
Forms through getForms
IsDelayUpdates through isDelayUpdates and setDelayUpdates
IsFTIndexed through isFTIndexed
IsMultiDbSearch through isMultiDbSearch
IsOpen through isOpen
IsPrivateAddressBook through isPrivateAddressBook
IsPublicAddressBook through isPublicAddressBook
LastFTIndexed through getLastFTIndexed
LastModified through getLastModified
Managers through getManagers
MaxSize through getMaxSize
Parent through getParent
PercentUsed through getPercentUsed
ReplicaID through getReplicaID
ReplicationInfo through getReplicationInfo
Server through getServer
Size through getSize
SizeQuota through getSizeQuota and setSizeQuota
TemplateName through getTemplateName
Title through getTitle and setTitle
Views through getViews
Methods
compact
createCopy
createDocument
createFromTemplate
createOutline
createReplica
enableFolder
FTDomainSearch
FTSearch
FTSearchRange
getAgent
getDocumentByID
getDocumentByUNID
getDocumentByURL
getForm
getOutline
getProfileDocCollection
getProfileDocument
getURL
getURLHeaderInfo
getView
grantAccess
open
queryAccess
queryAccessRoles
recycle
remove
replicate
revokeAccess
search
toString
updateFTIndex
Creation and access
There are several ways you can use the Database class to access existing databases and to create new ones.
A database must be open before you can use all the properties and methods in the corresponding Database object. In most cases, the class library automatically opens a database for you. But see isOpen for the exceptions.
Access levels
Notes throws an exception when you attempt to perform an operation for which the user does not have appropriate access. The properties and methods that you can successfully use on a Database object are determined by these factors:
FileDatabaseInfo @command in formula language
Example See Also