public final class FormProxy extends BaseProxy implements DForm
BaseProxy.DocumentCollectionIteratorDATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES| 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.
|
String |
toString()
Returns a short description of an instance.
|
void |
unlock()
Unlocks a form.
|
checkSession, clearNotesObject, convertCalendarsToNotesDateTime, convertListToVector, convertNotesDateTimesToCalendar, convertVectorToList, createCalendar, createDateRange, createDateTime, decrementDateTimeCounter, finalize, getCountDateTime, getDSession, getFactory, getNotesObject, getParent, incrementDateTimeCounter, newException, newException, newException, newRuntimeException, newRuntimeException, newRuntimeException, recycleDateTimeList, refereceHashCode, toStringGeneric, toStringInterngetMonitor, setMonitorpublic String toString()
toString in interface DBasetoString in class ObjectObject.toString()public List getAliases()
getAliases in interface DFormDForm.getAliases()public int getFieldType(String fieldName)
getFieldType in interface DFormfieldName - field nameDForm.getFieldType(java.lang.String)public List getFields()
getFields in interface DFormDForm.getFields()public List getFormUsers()
getFormUsers in interface DFormDForm.getFormUsers()public String getHttpURL()
getHttpURL in interface DFormDForm.getHttpURL()public List getLockHolders()
getLockHolders in interface DFormDForm.getLockHolders()public String getName()
getName in interface DFormDForm.getName()public String getNotesURL()
getNotesURL in interface DFormDForm.getNotesURL()public List getReaders()
getReaders in interface DFormDForm.getReaders()public String getURL()
getURL in interface DFormDForm.getURL()public boolean isProtectReaders()
isProtectReaders in interface DFormtrue to protect $Readers, else falseDForm.isProtectReaders()public boolean isProtectUsers()
isProtectUsers in interface DFormtrue to protect $FormUsers, else
falseDForm.isProtectUsers()public boolean isSubForm()
isSubForm in interface DFormtrue if the form is a subform, else
falseDForm.isSubForm()public boolean lock()
lock in interface DFormtrue if the lock is placed, else
falseDForm.lock()public boolean lock(boolean provisionalok)
lock in interface DFormprovisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseDForm.lock(boolean)public boolean lock(String name)
lock in interface DFormname - name of the lock holder.true if the lock is placed, else
falseDForm.lock(java.lang.String)public boolean lock(String name, boolean provisionalok)
lock in interface DFormname - name of the lock holder.provisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseDForm.lock(java.lang.String, boolean)public boolean lock(List names)
lock in interface DFormnames - list of name stringstrue if the lock is placed, else
falseDForm.lock(java.util.List)public boolean lock(List names, boolean provisionalok)
lock in interface DFormnames - names of the lock holdersprovisionalok - true to permit the placement of a
provisional locktrue if the lock is placed, else
falseDForm.lock(java.util.List, boolean)public boolean lockProvisional()
lockProvisional in interface DFormtrue if the lock is placed, else
falseDForm.lockProvisional()public boolean lockProvisional(String name)
lockProvisional in interface DFormname - name of the lock holder.true if the lock is placed, else
falseDForm.lockProvisional(java.lang.String)public boolean lockProvisional(List names)
lockProvisional in interface DFormnames - names list of name stringstrue if the lock is placed, else
falseDForm.lockProvisional(java.util.List)public void remove()
remove in interface DFormDForm.remove()public void setFormUsers(List users)
setFormUsers in interface DFormusers - list of user namesDForm.setFormUsers(java.util.List)public void setProtectReaders(boolean flag)
setProtectReaders in interface DFormflag - true to protect $Readers, else
falseDForm.setProtectReaders(boolean)public void setProtectUsers(boolean flag)
setProtectUsers in interface DFormflag - true to protect $FormUsers, else
falseDForm.setProtectUsers(boolean)public void setReaders(List readers)
setReaders in interface DFormreaders - list of reader namesDForm.setReaders(java.util.List)public void unlock()
unlock in interface DFormDForm.unlock()Copyright © 2005–2020. All rights reserved.