public class SubContentField extends AbstractField
AbstractField.MODE
Modifier and Type | Field and Description |
---|---|
private String |
_contentLanguage |
private String[] |
_contentTypes |
private List<Map<String,Object>> |
_contentValues |
private int |
_initWorkflowActionId |
private Boolean[] |
_isNew |
private String[] |
_names |
private String |
_workflowName |
Constructor and Description |
---|
SubContentField(List<Map<String,Object>> contentValues,
String contentLanguage)
Creates a
SubContentField |
Modifier and Type | Method and Description |
---|---|
String |
getContentLanguage()
Get the content language
|
String[] |
getContentNamesOrIds()
Get the names or ids of content values
|
String[] |
getContentTypes()
Get the content types to create
|
List<Map<String,Object>> |
getContentValues()
Get the content values
|
Boolean[] |
getIsNew()
Get the 'isNew' properties
|
int |
getWorkflowActionId()
Get the workflow action id
|
String |
getWorkflowName()
Get the workflow name
|
void |
setWorkflow(String workflowName,
int initWorkflowActionId)
Set the workflow properties
|
getMode, setMode, setMode
private List<Map<String,Object>> _contentValues
private String[] _contentTypes
private String _workflowName
private int _initWorkflowActionId
private String _contentLanguage
public SubContentField(List<Map<String,Object>> contentValues, String contentLanguage)
SubContentField
contentValues
- The content valuescontentLanguage
- The contents languagespublic void setWorkflow(String workflowName, int initWorkflowActionId)
workflowName
- The workflow nameinitWorkflowActionId
- The id of initial workflow actionpublic List<Map<String,Object>> getContentValues()
public String[] getContentNamesOrIds()
public String[] getContentTypes()
public String getWorkflowName()
public int getWorkflowActionId()
public String getContentLanguage()