public class CatalogFieldList extends ListPackManager
CatalogTemplateLayout.getCatalogRecordFieldList()
or the list of
category fields from CatalogTemplateLayout.getCatalogCategoryFieldList()
.Modifier and Type | Class and Description |
---|---|
static class |
CatalogFieldList.FieldListMode |
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
CatalogField |
createCatalogField(FieldDescriptor fieldDescriptor)
Adds a new field to this list for the given field descriptor.
|
CatalogField |
createCatalogField(FieldDescriptor fieldDescriptor,
boolean forceCreation) |
CatalogField |
createCatalogField(GUID uid,
int fieldType,
int valueInterpretation)
Adds a new field to this list for the given field UID, field type and field value interpretation.
|
CatalogField |
getCatalogField(java.lang.String guid)
Returns the field for the given UID.
|
java.util.List<java.lang.String> |
getCatalogFieldGUIDs()
Returns a list of all field GUIDs currently contained in this list.
|
java.util.List<CatalogField> |
getCatalogFields()
Returns a list of all fields currently contained in this list.
|
java.util.Set<GUID> |
getCatalogFieldUIDs()
Returns a set of all field GUIDs currently contained in this list.
|
CatalogFieldList.FieldListMode |
getFieldListMode() |
java.lang.String |
getTableName() |
boolean |
isTopLevelFieldList() |
void |
remove(CatalogField catalogTemplateField)
Removes the given field from this list.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public boolean isTopLevelFieldList()
public java.lang.String getTableName()
public CatalogFieldList.FieldListMode getFieldListMode()
public CatalogField createCatalogField(GUID uid, int fieldType, int valueInterpretation)
uid
- the UID of the new field to addfieldType
- the field type of the new fieldvalueInterpretation
- the value interpretation of the new fieldpublic CatalogField createCatalogField(FieldDescriptor fieldDescriptor)
fieldDescriptor
- the field descriptor specifying the new fields propertiespublic CatalogField createCatalogField(FieldDescriptor fieldDescriptor, boolean forceCreation)
public java.util.List<CatalogField> getCatalogFields()
CatalogField
instancespublic java.util.List<java.lang.String> getCatalogFieldGUIDs()
String
instancespublic java.util.Set<GUID> getCatalogFieldUIDs()
GUID
instancespublic CatalogField getCatalogField(java.lang.String guid)
guid
- the UID of the field to getpublic void remove(CatalogField catalogTemplateField)
catalogTemplateField
- the field to removewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.