|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList atg.repository.servlet.RepositoryFormList
public class RepositoryFormList
This class is used by the RepositoryFormHandler. It is returned when a property of type array, set or list is requested as a sub-property of the value property (e.g. RFH.value.someListProperty). It has additional sub-properties that give you more flexibility when editing a list.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
RepositoryFormList(RepositoryFormData pFormData,
RepositoryPropertyDescriptor pProperty,
RepositoryItem pItem)
|
Method Summary | |
---|---|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
java.lang.Object |
get(int pIndex)
|
java.lang.Object |
getDefaultElementValue(int pIndex)
|
int |
getNumNewValues()
|
RepositoryPropertyDescriptor |
getPropertyDescriptor()
|
java.lang.String[] |
getRepositoryIds()
|
boolean[] |
getSkip()
|
boolean |
getSkip(int pIndex)
|
java.lang.String |
getUpdateMode()
|
java.lang.Object |
getValue(int pIndex)
Retrieves the real value we should use for this item. |
java.lang.Object[] |
getValues()
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
void |
setNumNewValues(int pNumNewValues)
Sets the property NumNewValues. |
void |
setRepositoryIds(java.lang.String[] pRepositoryIds)
Sets the property RepositoryIds. |
void |
setSkip(boolean[] pSkip)
Sets the property Skip. |
void |
setSkip(int pIndex,
boolean pValue)
Sets a single element after resizing the array if necessary |
void |
setUpdateMode(java.lang.String pUpdateMode)
Sets the property UpdateMode. |
void |
setValues(java.lang.Object[] pValues)
Sets the property Values. |
int |
size()
|
java.lang.Object[] |
toArray(java.lang.Object[] a)
|
void |
updateItemProperties(int pIndex)
Updates the properties for the given item |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clone, ensureCapacity, indexOf, lastIndexOf, remove, remove, removeRange, set, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RepositoryFormList(RepositoryFormData pFormData, RepositoryPropertyDescriptor pProperty, RepositoryItem pItem)
Method Detail |
---|
public RepositoryPropertyDescriptor getPropertyDescriptor()
public void setRepositoryIds(java.lang.String[] pRepositoryIds)
pRepositoryIds
- new value to setpublic java.lang.String[] getRepositoryIds()
public void setSkip(boolean[] pSkip)
pSkip
- new value to setpublic boolean[] getSkip()
public boolean getSkip(int pIndex)
public void setSkip(int pIndex, boolean pValue)
public void setValues(java.lang.Object[] pValues)
pValues
- new value to setpublic java.lang.Object[] getValues()
public java.lang.Object getValue(int pIndex)
public void updateItemProperties(int pIndex) throws RepositoryException
RepositoryException
public void setNumNewValues(int pNumNewValues)
pNumNewValues
- new value to setpublic int getNumNewValues()
public void setUpdateMode(java.lang.String pUpdateMode)
pUpdateMode
- new value to setpublic java.lang.String getUpdateMode()
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.ArrayList
public java.lang.Object get(int pIndex)
get
in interface java.util.List
get
in class java.util.ArrayList
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.List
isEmpty
in class java.util.ArrayList
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.List
contains
in class java.util.ArrayList
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.List
iterator
in class java.util.AbstractList
public java.lang.Object[] toArray(java.lang.Object[] a)
toArray
in interface java.util.Collection
toArray
in interface java.util.List
toArray
in class java.util.ArrayList
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.ArrayList
public java.lang.Object getDefaultElementValue(int pIndex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |