synergynetframework.appsystem.contentsystem.contentsaver
Interface IContentSaver


public interface IContentSaver

The Interface IContentSaver.


Method Summary
 void addCommonAttribute(java.lang.String attributeName, java.lang.String attributeValue)
          Adds the common attribute.
 void addItem(java.lang.String itemID, java.util.Map<java.lang.String,java.lang.String> attributes)
          Adds the item.
 void addItems(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> items)
          Adds the items.
 void addSubSaver(IContentSaver attributeSaver)
          Adds the sub saver.
 void save()
          Save.
 void setFile(java.lang.String fileName)
          Sets the file.
 

Method Detail

addCommonAttribute

void addCommonAttribute(java.lang.String attributeName,
                        java.lang.String attributeValue)
Adds the common attribute.

Parameters:
attributeName - the attribute name
attributeValue - the attribute value

addItem

void addItem(java.lang.String itemID,
             java.util.Map<java.lang.String,java.lang.String> attributes)
Adds the item.

Parameters:
itemID - the item id
attributes - the attributes

addItems

void addItems(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> items)
Adds the items.

Parameters:
items - the items

addSubSaver

void addSubSaver(IContentSaver attributeSaver)
Adds the sub saver.

Parameters:
attributeSaver - the attribute saver

save

void save()
Save.


setFile

void setFile(java.lang.String fileName)
Sets the file.

Parameters:
fileName - the new file