it.eng.spagobi.tools.importexport.dao
Interface IAssociationFileDAO

All Known Implementing Classes:
AssociationFileDAO

public interface IAssociationFileDAO


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.
 

Method Detail

saveAssociationFile

void saveAssociationFile(AssociationFile assfile,
                         byte[] content)
Save association file.

Parameters:
assfile - the assfile
content - the content

getAssociationFiles

java.util.List getAssociationFiles()
Gets the association files.

Returns:
the association files

deleteAssociationFile

void deleteAssociationFile(AssociationFile assfile)
Delete association file.

Parameters:
assfile - the assfile

getContent

byte[] getContent(AssociationFile assfile)
Gets the content.

Parameters:
assfile - the assfile
Returns:
the content

loadFromID

AssociationFile loadFromID(java.lang.String id)
Load from id.

Parameters:
id - the id
Returns:
the association file

exists

boolean exists(java.lang.String id)
Exists.

Parameters:
id - the id
Returns:
true, if successful