public interface DForm extends DBase
| Modifier and Type | Method and Description |
|---|---|
List |
getAliases()
Returns the aliases of a form.
|
List |
getFields()
Returns the names of all the fields of a form.
|
int |
getFieldType(String fieldName)
Gets the type of a field on the form.
|
List |
getFormUsers()
Returns the contents of the $FormUsers field.
|
String |
getHttpURL()
Returns the Domino URL of a form when HTTP protocols are in effect.
|
List |
getLockHolders()
Returns the names of the holders of a lock.
|
String |
getName()
Return the name of a form.
|
String |
getNotesURL()
Returns the Domino URL of a form when Notes protocols are in effect.
|
List |
getReaders()
Returns the contents of the $Readers field.
|
String |
getURL()
Returns the Domino URL for the form.
|
boolean |
isProtectReaders()
Returns if the $Readers items is protected from being overwritten by
replication.
|
boolean |
isProtectUsers()
Returns if the $FormUsers items is protected from being overwritten by
replication.
|
boolean |
isSubForm()
Indicates whether a form is a subform.
|
boolean |
lock()
Locks a form.
|
boolean |
lock(boolean provisionalok)
Locks a form.
|
boolean |
lock(List names)
Locks a form.
|
boolean |
lock(List names,
boolean provisionalok)
Locks a form.
|
boolean |
lock(String name)
Locks a form.
|
boolean |
lock(String name,
boolean provisionalok)
Locks a form.
|
boolean |
lockProvisional() |
boolean |
lockProvisional(List names)
Locks a form provisionally.
|
boolean |
lockProvisional(String name) |
void |
remove()
Permanently deletes a form from a database.
|
void |
setFormUsers(List users)
Sets the contents of the $FormUsers field.
|
void |
setProtectReaders(boolean flag)
Sets if the $Readers items is protected from being overwritten by
replication.
|
void |
setProtectUsers(boolean flag)
Sets if the $FormUsers items is protected from being overwritten by
replication.
|
void |
setReaders(List readers)
Sets the contents of the $Readers field.
|
void |
unlock()
Unlocks a form.
|
List getAliases()
List getFields()
List getFormUsers()
void setFormUsers(List users)
users - list of user namesString getName()
List getReaders()
void setReaders(List readers)
readers - list of reader namesboolean isSubForm()
true if the form is a subform, else
falseboolean isProtectReaders()
true to protect $Readers, else falsevoid setProtectReaders(boolean flag)
flag - true to protect $Readers, else
falseboolean isProtectUsers()
true to protect $FormUsers, else
falsevoid setProtectUsers(boolean flag)
flag - true to protect $FormUsers, else
falsevoid remove()
String getURL()
String getNotesURL()
String getHttpURL()
int getFieldType(String fieldName)
fieldName - field nameDItem.getType()List getLockHolders()
boolean lock()
true if the lock is placed, else
falseboolean lock(boolean provisionalok)
provisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseboolean lock(String name)
name - name of the lock holder.true if the lock is placed, else
falseboolean lock(String name, boolean provisionalok)
name - name of the lock holder.provisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseboolean lock(List names)
names - list of name stringstrue if the lock is placed, else
falseboolean lock(List names, boolean provisionalok)
names - names of the lock holdersprovisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseboolean lockProvisional()
true if the lock is placed, else
falseboolean lockProvisional(String name)
name - name of the lock holder.true if the lock is placed, else
falseboolean lockProvisional(List names)
names - names list of name stringstrue if the lock is placed, else
falsevoid unlock()
Copyright © 2005–2020. All rights reserved.