com.openindex.openestate.tool
Class ImmoToolDbSnapshot

java.lang.Object
  extended by com.openindex.openestate.tool.ImmoToolDbSnapshot

public class ImmoToolDbSnapshot
extends Object

Sicherungspunkt in der Datenbank.
$Id: ImmoToolDbSnapshot.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static String OLD
           
 
Constructor Summary
ImmoToolDbSnapshot(Date d)
           
 
Method Summary
 void createSnapshot()
           
 void createSnapshot(ImmoToolDb db)
           
 String getCollection()
           
 Date getStamp()
           
static ImmoToolDbSnapshot[] loadSnapshots()
           
static ImmoToolDbSnapshot[] loadSnapshots(org.xmldb.api.base.Collection col)
           
 boolean removeSnapshot()
           
 boolean removeSnapshot(ImmoToolDb db)
           
 void restoreSnapshot()
           
 void restoreSnapshot(ImmoToolDb db)
           
static ImmoToolDbSnapshot selectSnapshot(Component parent, ImmoToolDbSnapshot[] snapshots, String message)
           
static ImmoToolDbSnapshot selectSnapshot(Component parent, String message)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OLD

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

ImmoToolDbSnapshot

public ImmoToolDbSnapshot(Date d)
Method Detail

createSnapshot

public void createSnapshot()
                    throws ImmoToolDbException
Throws:
ImmoToolDbException

createSnapshot

public void createSnapshot(ImmoToolDb db)
                    throws ImmoToolDbException
Throws:
ImmoToolDbException

getCollection

public String getCollection()

getStamp

public Date getStamp()

loadSnapshots

public static ImmoToolDbSnapshot[] loadSnapshots()
                                          throws ImmoToolDbException
Throws:
ImmoToolDbException

loadSnapshots

public static ImmoToolDbSnapshot[] loadSnapshots(org.xmldb.api.base.Collection col)
                                          throws ImmoToolDbException
Throws:
ImmoToolDbException

removeSnapshot

public boolean removeSnapshot()
                       throws ImmoToolDbException
Throws:
ImmoToolDbException

removeSnapshot

public boolean removeSnapshot(ImmoToolDb db)
                       throws ImmoToolDbException
Throws:
ImmoToolDbException

restoreSnapshot

public void restoreSnapshot()
                     throws ImmoToolDbException
Throws:
ImmoToolDbException

restoreSnapshot

public void restoreSnapshot(ImmoToolDb db)
                     throws ImmoToolDbException
Throws:
ImmoToolDbException

selectSnapshot

public static ImmoToolDbSnapshot selectSnapshot(Component parent,
                                                String message)
                                         throws ImmoToolDbException
Throws:
ImmoToolDbException

selectSnapshot

public static ImmoToolDbSnapshot selectSnapshot(Component parent,
                                                ImmoToolDbSnapshot[] snapshots,
                                                String message)
                                         throws ImmoToolDbException
Throws:
ImmoToolDbException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 OpenEstate. All Rights Reserved.