|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
base.jdbs.Backup
public class Backup
| Constructor Summary | |
|---|---|
|
Backup(org.w3c.dom.Document document)
|
protected |
Backup(java.lang.String guId,
java.lang.String name,
java.lang.String description,
java.util.Date creationDate,
java.util.Date expirationDate,
SecurityLevel securityLevel)
|
| Method Summary | |
|---|---|
void |
addAllFile(java.io.File[] file)
This method adds a set of files to the backups' collection. |
void |
addFile(java.io.File file)
This method adds a file to the backups' collection. |
java.util.Date |
getCreationDate()
|
java.lang.String |
getDescription()
|
java.util.Date |
getExpirationDate()
|
FileDescriptor[] |
getFileDescriptor()
This method returns an array of backups'collected files. |
java.lang.String |
getGuId()
|
java.lang.String |
getName()
|
SecurityLevel |
getSecurityLevel()
|
void |
removeAllFile(java.io.File[] file)
This method removes a set of files from the backups' collection. |
void |
removeFile(java.io.File file)
This method removes a file from the backup's collection. |
void |
setCreationDate(java.util.Date creationDate)
|
void |
setDescription(java.lang.String description)
|
void |
setExpirationDate(java.util.Date expirationDate)
|
void |
setName(java.lang.String name)
|
void |
setSecurityLevel(SecurityLevel securityLevel)
|
org.w3c.dom.Node |
toXml(org.w3c.dom.Document document)
|
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Backup(java.lang.String guId,
java.lang.String name,
java.lang.String description,
java.util.Date creationDate,
java.util.Date expirationDate,
SecurityLevel securityLevel)
guId - The backups' global unique identifier.name - The backups' name.description - The backups' description.creationDate - The backups' creation date.expirationDate - The backups' expiration date.securityLevel - The backups' security level.public Backup(org.w3c.dom.Document document)
| Method Detail |
|---|
public java.lang.String getGuId()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description to set.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public java.util.Date getCreationDate()
public java.util.Date getExpirationDate()
public SecurityLevel getSecurityLevel()
public void addFile(java.io.File file)
file - The file to be added to the backups'collection.public void removeFile(java.io.File file)
file - The file to be removed from the backup's collection.public void addAllFile(java.io.File[] file)
file - The file set to be added to the backups'collection.public void removeAllFile(java.io.File[] file)
file - The file set to be removed from the backups'collection.public FileDescriptor[] getFileDescriptor()
public org.w3c.dom.Node toXml(org.w3c.dom.Document document)
toXml in interface IXMLSaveablepublic void setCreationDate(java.util.Date creationDate)
creationDate - The creationDate to set.public void setExpirationDate(java.util.Date expirationDate)
expirationDate - The expirationDate to set.public void setSecurityLevel(SecurityLevel securityLevel)
securityLevel - The securityLevel to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||