public interface ContentContainerFactory
ContentContainer
.ContentContainer
Modifier and Type | Method and Description |
---|---|
ContentContainer |
createContainer(java.lang.String containerTypeId,
java.lang.String name,
java.lang.Object content)
Returns a new container with the supplied name and content.
|
DocumentContainer |
createDocumentContainer(java.lang.String containerTypeId,
java.lang.String name,
java.lang.Object content)
Returns a new document container with the supplied name and content.
|
ContentContainer |
createEmptyContainer(java.lang.String containerTypeId,
java.lang.String name)
Returns a new empty container with the supplied name.
|
ModelContainer |
createModelContainer(java.lang.String containerTypeId,
java.lang.String name,
java.lang.Object content,
Column[] inputFields,
Column[] modelOutputFields,
ModelType modelType)
Returns a new model container with the supplied name and content.
|
ModelContainer |
createModelContainer(java.lang.String containerTypeId,
java.lang.String name,
java.lang.Object content,
Column[] inputFields,
Column[] modelOutputFields,
ModelType modelType,
java.util.List<java.lang.String> splitFieldNames)
Returns a new model container with the supplied name and content.
|
RowSetContainer |
createRowSetContainer(java.lang.String containerTypeId,
java.lang.String name,
java.lang.Object content)
Returns a new row set container with the supplied name and content.
|
DocumentContainer createDocumentContainer(java.lang.String containerTypeId, java.lang.String name, java.lang.Object content)
containerTypeId
- the id of the container typename
- the document namecontent
- the document content as either a byte array or a stringjava.lang.IllegalArgumentException
- if the content is not a
byte array or a stringModelContainer createModelContainer(java.lang.String containerTypeId, java.lang.String name, java.lang.Object content, Column[] inputFields, Column[] modelOutputFields, ModelType modelType)
containerTypeId
- the id of the container typename
- the model namecontent
- the model content as either a byte array or a stringinputFields
- the input fieldsmodelOutputFields
- the mode output fields i.e. columns that include model output metadatamodelType
- the type of the constructed modeljava.lang.IllegalArgumentException
- if the content is not a
byte array or a stringModelContainer createModelContainer(java.lang.String containerTypeId, java.lang.String name, java.lang.Object content, Column[] inputFields, Column[] modelOutputFields, ModelType modelType, java.util.List<java.lang.String> splitFieldNames)
containerTypeId
- the id of the container typename
- the model namecontent
- the model content as either a byte array or a stringinputFields
- the input fieldsmodelOutputFields
- the mode output fields i.e. columns that include model output metadatamodelType
- the type of the constructed modelsplitFieldNames
- the names of the fields used for splitting, or null
if no splitting usedjava.lang.IllegalArgumentException
- if the content is not a
byte array or a stringRowSetContainer createRowSetContainer(java.lang.String containerTypeId, java.lang.String name, java.lang.Object content)
containerTypeId
- the id of the container typename
- the row set namecontent
- the row set content as either a byte array or a stringjava.lang.IllegalArgumentException
- if the content is not a
byte array or a stringContentContainer createEmptyContainer(java.lang.String containerTypeId, java.lang.String name)
containerTypeId
- the id of the container typename
- the container nameContentContainer createContainer(java.lang.String containerTypeId, java.lang.String name, java.lang.Object content)
containerTypeId
- the id of the container typename
- the container namecontent
- either a byte array or a stringjava.lang.IllegalArgumentException
- if the content is not a
byte array or a stringCopyright © 2014 Integral Solutions Ltd. All Rights Reserved.