|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.monitor.AbstractMonitorEnabled
de.bea.domingo.proxy.BaseProxy
de.bea.domingo.proxy.FormProxy
public final class FormProxy
A notes Form.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.bea.domingo.proxy.BaseProxy |
|---|
BaseProxy.DocumentCollectionIterator |
| Field Summary |
|---|
| Fields inherited from class de.bea.domingo.proxy.BaseProxy |
|---|
DATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES |
| Method Summary | |
|---|---|
java.util.List |
getAliases()
Returns the aliases of a form. |
java.util.List |
getFields()
Returns the names of all the fields of a form. |
int |
getFieldType(java.lang.String fieldName)
Gets the type of a field on the form. |
java.util.List |
getFormUsers()
Returns the contents of the $FormUsers field. |
java.lang.String |
getHttpURL()
Returns the Domino URL of a form when HTTP protocols are in effect. |
(package private) static FormProxy |
getInstance(NotesProxyFactory theFactory,
DDatabase database,
lotus.domino.Form form,
DNotesMonitor monitor)
Returns a form object. |
java.util.List |
getLockHolders()
Returns the names of the holders of a lock. |
java.lang.String |
getName()
Return the name of a form. |
java.lang.String |
getNotesURL()
Returns the Domino URL of a form when Notes protocols are in effect. |
java.util.List |
getReaders()
Returns the contents of the $Readers field. |
java.lang.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(java.util.List names)
Locks a form. |
boolean |
lock(java.util.List names,
boolean provisionalok)
Locks a form. |
boolean |
lock(java.lang.String name)
Locks a form. |
boolean |
lock(java.lang.String name,
boolean provisionalok)
Locks a form. |
boolean |
lockProvisional()
|
boolean |
lockProvisional(java.util.List names)
Locks a form provisionally. |
boolean |
lockProvisional(java.lang.String name)
|
void |
remove()
Permanently deletes a form from a database. |
void |
setFormUsers(java.util.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(java.util.List readers)
Sets the contents of the $Readers field. |
java.lang.String |
toString()
Returns a short description of an instance. |
void |
unlock()
Unlocks a form. |
| Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled |
|---|
getMonitor, setMonitor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.bea.domingo.DBase |
|---|
equals, hashCode |
| Method Detail |
|---|
static FormProxy getInstance(NotesProxyFactory theFactory,
DDatabase database,
lotus.domino.Form form,
DNotesMonitor monitor)
theFactory - the controlling factorydatabase - Notes databaseform - the notes form objectmonitor - the monitor
public java.lang.String toString()
toString in interface DBasetoString in class java.lang.ObjectObject.toString()public java.util.List getAliases()
getAliases in interface DFormDForm.getAliases()public int getFieldType(java.lang.String fieldName)
getFieldType in interface DFormfieldName - field name
DForm.getFieldType(java.lang.String)public java.util.List getFields()
getFields in interface DFormDForm.getFields()public java.util.List getFormUsers()
getFormUsers in interface DFormDForm.getFormUsers()public java.lang.String getHttpURL()
getHttpURL in interface DFormDForm.getHttpURL()public java.util.List getLockHolders()
getLockHolders in interface DFormDForm.getLockHolders()public java.lang.String getName()
getName in interface DFormDForm.getName()public java.lang.String getNotesURL()
getNotesURL in interface DFormDForm.getNotesURL()public java.util.List getReaders()
getReaders in interface DFormDForm.getReaders()public java.lang.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 lock
true if the lock is placed, else
falseDForm.lock(boolean)public boolean lock(java.lang.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(java.lang.String name,
boolean provisionalok)
lock in interface DFormname - name of the lock holder.provisionalok - true to permit the placement of a
provisional lock
true if the lock is placed, else
falseDForm.lock(java.lang.String, boolean)public boolean lock(java.util.List names)
lock in interface DFormnames - list of name strings
true if the lock is placed, else
falseDForm.lock(java.util.List)
public boolean lock(java.util.List names,
boolean provisionalok)
lock in interface DFormnames - names of the lock holdersprovisionalok - true to permit the placement of a
provisional lock
true 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(java.lang.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(java.util.List names)
lockProvisional in interface DFormnames - names list of name strings
true if the lock is placed, else
falseDForm.lockProvisional(java.util.List)public void remove()
remove in interface DFormDForm.remove()public void setFormUsers(java.util.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(java.util.List readers)
setReaders in interface DFormreaders - list of reader namesDForm.setReaders(java.util.List)public void unlock()
unlock in interface DFormDForm.unlock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||