public class FlatFileSetXML extends RepositoryStorageXML implements FlatFileSetStorage
nickname, reposListeners, transferAgent
Constructor and Description |
---|
FlatFileSetXML(RepositoryConnectivity conn,
java.lang.String storagename) |
Modifier and Type | Method and Description |
---|---|
void |
addAllFlatFiles(java.util.Collection s)
Appends all of the FlatFileStorage nicknames in the specified
collection to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation).
|
void |
addAllFlatFiles(int index,
java.util.Collection s)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(int k,
java.lang.String storagenickname)
Inserts the specified FlatFileStorage nickname to the end of this list.
|
void |
addFlatFile(java.lang.String storagenickname)
Appends the specified FlatFileStorage nickname to the end of this list.
|
void |
clearFlatFiles() |
boolean |
containsAllFlatFiles(java.util.Collection nicknames) |
boolean |
containsFlatFile(java.lang.String nickname) |
int |
fileSetSize() |
protected java.lang.Class |
getClassForLocalName(java.lang.String name) |
java.lang.Class |
getDefaultGraphicalEditorClass() |
java.lang.Class |
getDOMStorageClass()
Returns a DOM storage variant of this storage instance.
|
java.util.Vector |
getFlatFileNames() |
java.lang.String |
getSortProtocol() |
java.lang.Class |
getStorageTransferAgentClass()
This method should be overridden by subclasses wanting to extend the transfer method.
|
int |
indexOfFlatFile(java.lang.String nickname) |
void |
removeAllFlatFiles(java.util.Collection nicknames) |
void |
removeFlatFile(int index) |
void |
removeFlatFile(java.lang.String nickname) |
void |
setSortProtocol(java.lang.String proto) |
copyStorage, getComment, getCreatedBy, getCreatedOn, getDOM, getEnabled, getNickname, getStorage, getXMLDirectory, getXMLFilename, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname, transferStorage, writeXML
addRepositoryListener, afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorageCommands, getStorageCalculationsAgentClass, removeRepositoryListener, show, transferStorageCommands
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRepositoryListener, getComment, getCreatedBy, getCreatedOn, getEnabled, getNickname, removeRepositoryListener, setComment, setCreatedBy, setCreatedOn, setEnabled, setNickname
afterCopyStorage, afterTransferStorage, beforeCopyStorage, beforeTransferStorage, copyStorage, copyStorageCommands, transferStorage, transferStorageCommands
public FlatFileSetXML(RepositoryConnectivity conn, java.lang.String storagename)
public java.lang.Class getDefaultGraphicalEditorClass()
getDefaultGraphicalEditorClass
in interface RepositoryStorage
getDefaultGraphicalEditorClass
in class RepositoryStorageXML
public java.lang.Class getStorageTransferAgentClass()
AbstractRepositoryStorage
getStorageTransferAgentClass
in class AbstractRepositoryStorage
public java.lang.Class getDOMStorageClass()
AbstractRepositoryStorage
getDOMStorageClass
in interface DOMStorable
getDOMStorageClass
in class RepositoryStorageXML
public void setSortProtocol(java.lang.String proto)
setSortProtocol
in interface FlatFileSetStorage
public java.lang.String getSortProtocol()
getSortProtocol
in interface FlatFileSetStorage
public java.util.Vector getFlatFileNames()
getFlatFileNames
in interface FlatFileSetStorage
protected java.lang.Class getClassForLocalName(java.lang.String name)
public void addFlatFile(int k, java.lang.String storagenickname)
FlatFileSetStorage
addFlatFile
in interface FlatFileSetStorage
public void addFlatFile(java.lang.String storagenickname)
addFlatFile
in interface FlatFileSetStorage
public void addAllFlatFiles(int index, java.util.Collection s)
addAllFlatFiles
in interface FlatFileSetStorage
public void addAllFlatFiles(java.util.Collection s)
addAllFlatFiles
in interface FlatFileSetStorage
public int fileSetSize()
fileSetSize
in interface FlatFileSetStorage
public void clearFlatFiles()
clearFlatFiles
in interface FlatFileSetStorage
public boolean containsFlatFile(java.lang.String nickname)
containsFlatFile
in interface FlatFileSetStorage
public boolean containsAllFlatFiles(java.util.Collection nicknames)
containsAllFlatFiles
in interface FlatFileSetStorage
public void removeFlatFile(int index)
removeFlatFile
in interface FlatFileSetStorage
public void removeFlatFile(java.lang.String nickname)
removeFlatFile
in interface FlatFileSetStorage
public void removeAllFlatFiles(java.util.Collection nicknames)
removeAllFlatFiles
in interface FlatFileSetStorage
public int indexOfFlatFile(java.lang.String nickname)
indexOfFlatFile
in interface FlatFileSetStorage
Copyright © 2011, 2013. Daniel P. Dougherty