|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.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 DBase
toString
in class java.lang.Object
Object.toString()
public java.util.List getAliases()
getAliases
in interface DForm
DForm.getAliases()
public int getFieldType(java.lang.String fieldName)
getFieldType
in interface DForm
fieldName
- field name
DForm.getFieldType(java.lang.String)
public java.util.List getFields()
getFields
in interface DForm
DForm.getFields()
public java.util.List getFormUsers()
getFormUsers
in interface DForm
DForm.getFormUsers()
public java.lang.String getHttpURL()
getHttpURL
in interface DForm
DForm.getHttpURL()
public java.util.List getLockHolders()
getLockHolders
in interface DForm
DForm.getLockHolders()
public java.lang.String getName()
getName
in interface DForm
DForm.getName()
public java.lang.String getNotesURL()
getNotesURL
in interface DForm
DForm.getNotesURL()
public java.util.List getReaders()
getReaders
in interface DForm
DForm.getReaders()
public java.lang.String getURL()
getURL
in interface DForm
DForm.getURL()
public boolean isProtectReaders()
isProtectReaders
in interface DForm
true
to protect $Readers, else false
DForm.isProtectReaders()
public boolean isProtectUsers()
isProtectUsers
in interface DForm
true
to protect $FormUsers, else
false
DForm.isProtectUsers()
public boolean isSubForm()
isSubForm
in interface DForm
true
if the form is a subform, else
false
DForm.isSubForm()
public boolean lock()
lock
in interface DForm
true
if the lock is placed, else
false
DForm.lock()
public boolean lock(boolean provisionalok)
lock
in interface DForm
provisionalok
- true
to permit the placement of a
provisional lock
true
if the lock is placed, else
false
DForm.lock(boolean)
public boolean lock(java.lang.String name)
lock
in interface DForm
name
- name of the lock holder.
true
if the lock is placed, else
false
DForm.lock(java.lang.String)
public boolean lock(java.lang.String name, boolean provisionalok)
lock
in interface DForm
name
- name of the lock holder.provisionalok
- true
to permit the placement of a
provisional lock
true
if the lock is placed, else
false
DForm.lock(java.lang.String, boolean)
public boolean lock(java.util.List names)
lock
in interface DForm
names
- list of name strings
true
if the lock is placed, else
false
DForm.lock(java.util.List)
public boolean lock(java.util.List names, boolean provisionalok)
lock
in interface DForm
names
- names of the lock holdersprovisionalok
- true
to permit the placement of a
provisional lock
true
if the lock is placed, else
false
DForm.lock(java.util.List, boolean)
public boolean lockProvisional()
lockProvisional
in interface DForm
true
if the lock is placed, else
false
DForm.lockProvisional()
public boolean lockProvisional(java.lang.String name)
lockProvisional
in interface DForm
name
- name of the lock holder.
true
if the lock is placed, else
false
DForm.lockProvisional(java.lang.String)
public boolean lockProvisional(java.util.List names)
lockProvisional
in interface DForm
names
- names list of name strings
true
if the lock is placed, else
false
DForm.lockProvisional(java.util.List)
public void remove()
remove
in interface DForm
DForm.remove()
public void setFormUsers(java.util.List users)
setFormUsers
in interface DForm
users
- list of user namesDForm.setFormUsers(java.util.List)
public void setProtectReaders(boolean flag)
setProtectReaders
in interface DForm
flag
- true
to protect $Readers, else
false
DForm.setProtectReaders(boolean)
public void setProtectUsers(boolean flag)
setProtectUsers
in interface DForm
flag
- true
to protect $FormUsers, else
false
DForm.setProtectUsers(boolean)
public void setReaders(java.util.List readers)
setReaders
in interface DForm
readers
- list of reader namesDForm.setReaders(java.util.List)
public void unlock()
unlock
in interface DForm
DForm.unlock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |