it.eng.spagobi.tools.importexport.dao
Class AssociationFileDAO

java.lang.Object
  extended by it.eng.spagobi.tools.importexport.dao.AssociationFileDAO
All Implemented Interfaces:
IAssociationFileDAO

public class AssociationFileDAO
extends java.lang.Object
implements IAssociationFileDAO


Constructor Summary
AssociationFileDAO()
           
 
Method Summary
 void deleteAssociationFile(AssociationFile assfile)
          Delete association file.
 boolean exists(java.lang.String id)
          Exists.
 java.util.List getAssociationFiles()
          Gets the association files.
 byte[] getContent(AssociationFile assfile)
          Gets the content.
 AssociationFile loadFromID(java.lang.String id)
          Load from id.
 void saveAssociationFile(AssociationFile assfile, byte[] content)
          Save association file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationFileDAO

public AssociationFileDAO()
Method Detail

loadFromID

public AssociationFile loadFromID(java.lang.String id)
Description copied from interface: IAssociationFileDAO
Load from id.

Specified by:
loadFromID in interface IAssociationFileDAO
Parameters:
id - the id
Returns:
the association file

saveAssociationFile

public void saveAssociationFile(AssociationFile assfile,
                                byte[] content)
Description copied from interface: IAssociationFileDAO
Save association file.

Specified by:
saveAssociationFile in interface IAssociationFileDAO
Parameters:
assfile - the assfile
content - the content

exists

public boolean exists(java.lang.String id)
Description copied from interface: IAssociationFileDAO
Exists.

Specified by:
exists in interface IAssociationFileDAO
Parameters:
id - the id
Returns:
true, if successful

deleteAssociationFile

public void deleteAssociationFile(AssociationFile assfile)
Description copied from interface: IAssociationFileDAO
Delete association file.

Specified by:
deleteAssociationFile in interface IAssociationFileDAO
Parameters:
assfile - the assfile

getAssociationFiles

public java.util.List getAssociationFiles()
Description copied from interface: IAssociationFileDAO
Gets the association files.

Specified by:
getAssociationFiles in interface IAssociationFileDAO
Returns:
the association files

getContent

public byte[] getContent(AssociationFile assfile)
Description copied from interface: IAssociationFileDAO
Gets the content.

Specified by:
getContent in interface IAssociationFileDAO
Parameters:
assfile - the assfile
Returns:
the content