public class DefaultChainItemFactory extends FolderItemFactory
In order to apply your own chain you may override
applyChain(DataItemBaseChained)
folderhiveDEFAULT_ID_DELIMITER, itemMap| Constructor and Description |
|---|
DefaultChainItemFactory(CommonItemFactory parentFactory,
HiveCommon hive,
FolderCommon parentFolder,
String baseId,
String folderName) |
DefaultChainItemFactory(CommonItemFactory parentFactory,
HiveCommon hive,
FolderCommon parentFolder,
String baseId,
String folderName,
String idDelimiter) |
DefaultChainItemFactory(HiveCommon hive,
FolderCommon parentFolder,
String baseId,
String folderName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyChain(DataItemBaseChained item)
Apply our chain of elements
|
DataItemInputChained |
constructInput(String localId) |
WriteHandlerItem |
constructInputOutput(String localId,
WriteHandler writeHandler) |
protected WriteHandlerItem |
constructWriteHandler(String localId,
WriteHandler writeHandler) |
DefaultChainItemFactory |
createSubFolderFactory(String name)
Create a new sub factory
|
addToFolder, constructCommand, dispose, disposeAllItems, disposeItem, getFolderaddSubFactory, createCommand, createInput, createInputOutput, createOutput, generateId, getBaseId, isDisposed, removeSubFactory, setIdDelimiterpublic DefaultChainItemFactory(HiveCommon hive, FolderCommon parentFolder, String baseId, String folderName)
public DefaultChainItemFactory(CommonItemFactory parentFactory, HiveCommon hive, FolderCommon parentFolder, String baseId, String folderName, String idDelimiter)
public DefaultChainItemFactory(CommonItemFactory parentFactory, HiveCommon hive, FolderCommon parentFolder, String baseId, String folderName)
public DefaultChainItemFactory createSubFolderFactory(String name)
Sub-factories get disposed when the parent factory is disposed
createSubFolderFactory in class FolderItemFactoryname - the name of the sub-factory, this will be the folder name and
added to the item id as local partpublic DataItemInputChained constructInput(String localId)
constructInput in class FolderItemFactorypublic WriteHandlerItem constructInputOutput(String localId, WriteHandler writeHandler)
constructInputOutput in class FolderItemFactoryprotected WriteHandlerItem constructWriteHandler(String localId, WriteHandler writeHandler)
constructWriteHandler in class FolderItemFactoryprotected void applyChain(DataItemBaseChained item)
item - the item to which the chain should be applied