|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.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
RepositoryExceptionpublic 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.Collectionsize in interface java.util.Listsize in class java.util.ArrayListpublic java.lang.Object get(int pIndex)
get in interface java.util.Listget in class java.util.ArrayListpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.ListisEmpty in class java.util.ArrayListpublic boolean contains(java.lang.Object o)
contains in interface java.util.Collectioncontains in interface java.util.Listcontains in class java.util.ArrayListpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listiterator in class java.util.AbstractListpublic java.lang.Object[] toArray(java.lang.Object[] a)
toArray in interface java.util.CollectiontoArray in interface java.util.ListtoArray in class java.util.ArrayListpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Listclear in class java.util.ArrayListpublic java.lang.Object getDefaultElementValue(int pIndex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||