JAVA/CORBA CLASSES
Accessing view properties
Example
The following methods access the View properties.
getAliases
returns a vector of String values containing the aliases of the view or folder, or null if there are no aliases.
getAllEntries
returns a ViewEntryCollection object representing all the document entries in the view or folder.
getBackgroundColor
returns an int value containing a color code for the background color of the view or folder.
getColumnCount
returns an int value containing the number of columns in the view or folder.
getColumnNames
returns a vector of String values containing the names of the columns in the view or folder.
getColumns
returns a vector of ViewColumn objects representing the columns in the view or folder.
getCreated
returns a DateTime object representing the creation date and time of the view or folder.
getHeaderLines
returns an int value containing the number of lines in the header of the view or folder.
isAutoUpdate
returns true if the front-end view is updated each time a change occurs in the back-end and false if the updates occur when the program ends;
setAutoUpdate
causes updates to occur automatically or not.
isCalendar
returns true if this is a calendar view.
isCategorized
returns true if the view or folder is categorized.
isConflict
returns true if a calendar view is enabled for conflict checking.
isDefaultView
returns true if this is the default view.
isFolder
returns true if this is a folder.
isHierarchical
returns true if a view or folder shows response documents in a hierarchy.
isModified
returns true if the view is modified.
isProtectReaders
returns true if the $Readers field is protected from being overwritten during replication;
setProtectReaders
protects the $Readers field or not.
getLastModified
returns a DateTime object representing the modification date and time of the view or folder.
getName
returns a String value containing the name of the view or folder.
getParent
returns a Database object representing the database containing the view or folder.
getReaders
returns a vector of String values containing the contents of the $Readers field for the view or folder, or null;
setReaders
sets the value of the $Readers field.
getRowLines
returns an int value containing the number of lines in each row.
getSpacing
returns an int value containing a code for the spacing between rows.
getTopLevelEntryCount
returns an int value containing the number of top-level entries in a view.
getUniversalID
returns a String value containing the universal ID of the view or folder.
Example
See Also
Accessing views and folders
Glossary
Feedback on Help?
Help on Help
Open Full Help Window
Glossary
Feedback on Help?
Help on Help
Open Full Help Window