public class DCInputSet extends Object
| Constructor and Description |
|---|
DCInputSet(String formName,
List<List<Map<String,String>>> pages,
Map<String,List<String>> listMap)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doField(DCInput dcf,
boolean addTitleAlternative,
boolean addPublishedBefore) |
String |
getFormName()
Return the name of the form that defines this input set
|
int |
getNumberPages()
Return the number of pages in this input set
|
DCInput[] |
getPageRows(int pageNum,
boolean addTitleAlternative,
boolean addPublishedBefore)
Get all the rows for a page from the form definition
|
boolean |
isDefinedMultTitles()
Does this set of inputs include an alternate title field?
|
boolean |
isDefinedPubBefore()
Does this set of inputs include the previously published fields?
|
boolean |
isFieldPresent(String fieldName)
Does the current input set define the named field?
Scan through every field in every page of the input set
|
boolean |
isFieldPresent(String fieldName,
String documentType)
Does the current input set define the named field?
and is valid for the specified document type
Scan through every field in every page of the input set
|
public String getFormName()
public int getNumberPages()
public DCInput[] getPageRows(int pageNum, boolean addTitleAlternative, boolean addPublishedBefore)
pageNum - desired page within setaddTitleAlternative - flag to add the additional title rowaddPublishedBefore - flag to add the additional published infopublic boolean isDefinedMultTitles()
public boolean isDefinedPubBefore()
public boolean isFieldPresent(String fieldName)
public boolean isFieldPresent(String fieldName, String documentType)
protected boolean doField(DCInput dcf, boolean addTitleAlternative, boolean addPublishedBefore)
Copyright © 2016 DuraSpace. All Rights Reserved.