com.croftsoft.apps.agoracast.c2p
Class AgoracastMemory

java.lang.Object
  extended by com.croftsoft.apps.agoracast.c2p.AgoracastMemory
All Implemented Interfaces:
AgoracastDatabase

public final class AgoracastMemory
extends Object
implements AgoracastDatabase

Since:
2001-08-06
Version:
2001-08-09
Author:
David Wallace Croft

Field Summary
static String SML_NODE_NAME
           
 
Constructor Summary
AgoracastMemory()
           
AgoracastMemory(Map idToDataMap)
           
 
Method Summary
 boolean add(AgoracastData agoracastData)
           
static AgoracastMemory fromSmlNode(SmlNode smlNode)
           
 AgoracastData getAgoracastData(String articleId)
           
 AgoracastData[] getAgoracastDatas()
           
 AgoracastData[] getAgoracastDatasForCategory(String category)
           
static AgoracastMemory load(String filename)
           
 boolean saveIfDirty(String filename)
           
 SmlNode toSmlNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SML_NODE_NAME

public static final String SML_NODE_NAME
See Also:
Constant Field Values
Constructor Detail

AgoracastMemory

public AgoracastMemory(Map idToDataMap)

AgoracastMemory

public AgoracastMemory()
Method Detail

load

public static AgoracastMemory load(String filename)
                            throws IOException
Throws:
IOException

fromSmlNode

public static AgoracastMemory fromSmlNode(SmlNode smlNode)

add

public boolean add(AgoracastData agoracastData)
Specified by:
add in interface AgoracastDatabase

getAgoracastData

public AgoracastData getAgoracastData(String articleId)
Specified by:
getAgoracastData in interface AgoracastDatabase

getAgoracastDatas

public AgoracastData[] getAgoracastDatas()
Specified by:
getAgoracastDatas in interface AgoracastDatabase

getAgoracastDatasForCategory

public AgoracastData[] getAgoracastDatasForCategory(String category)
Specified by:
getAgoracastDatasForCategory in interface AgoracastDatabase

saveIfDirty

public boolean saveIfDirty(String filename)
                    throws IOException
Throws:
IOException

toSmlNode

public SmlNode toSmlNode()

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)