Portlet Factory, Version 6.1.2
Linked Java object helper methods available
There are multiple Domino Data Access builder helper linked Java object methods available for use.
Note: Other existing methods are not intended to be called.
- void cleanup
- Closes connections to the Domino server.
- String createDocument(IXml documentData, String formName)
- Returns the UNID of the created document.
- Boolean deleteDocument(String unid)
- Deletes specified document in the current database, given the Universal ID of the document.
- String evaluateFormula(String formulaText, String UNID)
- Evaluates a Notes formula and returns a String of the result. The UNID argument is optional and is used only if the specified formula accesses a document. For example, you can use this method to get the Common Name format of the current user name. This can be used to automatically select a category for a view which is categorized by User. The formula for this is:
@Name([CN]; @UserName)The UNID argument is not needed in this case.- List getCategoryNames
- Returns a List of the available categories in the view.
- String getDatabaseName
- Returns Database name.
- IXml getDocumentData(String unid)
- Returns Domino Document object with the specified UNID. Obtain the UNID for any row in a view by looking at the UNID column.
- Database getDominoDatabase
- Returns the Domino Database Java object.
- Session getDominoSession
- Returns the Domino Session Java object.
- View getDominoView
- Returns the Domino View Java object.
- String getUserName()
- Retrieves the user name used for logging in to the Domino server.
- Object getViewData
- Fetches view data and stores it in the buildername_results variable.
- IXml getViewDataInternal
- (Cannot be called directly.) Can be used with the Cache Control builder to cache results across users.
- String getViewName
- Returns view name.
- Void runAgent(String agentName,String UNID)
- Invokes named agent on document defined by UNID.
- public String sendDocument
- Sends a document as an e-mail.
- public void setComputeWithFormEnabled(boolean set)
- Allows you to control whether Domino computeWithForm is called when a document is created or updated. By default it is enabled (computeWithForm called).
- void setDatabaseName(String databaseName)
- Changes the database at runtime.
Note: This can only be done if all the items used within the database (such as view and form) have the exact same name and structure as in the original database.
- public void setDocsByKeyExactMatch(boolean set)
- Specify true if the getDocumentsByKey data service is to return the results of an exact match. If you specify false, a partial match succeeds. If this method is not called, getDocumentsByKey returns the results of an exact match.
- String setItemValueSeparator(String separator)
- Changes default value separator character.
- void setItemValueSeparator(String)
- Changes separator used for multiple valued document items.
- void setViewName(String viewName)
- Changes the view name at runtime. In general, this should be used only with views that have a schema compatible with the view specified in the builder call.
- boolean updateDocument(IXml documentData, String unid)
- Updates an existing Domino document from XML data, given the document UNID.
- String getServerName
- Returns the Domino server name.
Parent topic: Domino Data Access builder
Library | Support |