|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.object.AbstractSPObject
ca.sqlpower.wabit.AbstractWabitObject
public abstract class AbstractWabitObject
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
uuid |
| Constructor Summary | |
|---|---|
AbstractWabitObject()
|
|
AbstractWabitObject(java.lang.String uuid)
The uuid string passed in must be the toString representation of the UUID for this object. |
|
| Method Summary | |
|---|---|
ca.sqlpower.object.CleanupExceptions |
cleanup()
Default cleanup method that does nothing. |
void |
commit()
|
boolean |
equals(java.lang.Object obj)
|
void |
generateNewUUID()
|
WabitObject |
getParent()
Returns the parent of this WabitObject. |
WabitSession |
getSession()
Helper method to find the session of a WabitObject. |
protected boolean |
isForegroundThread()
|
boolean |
removeChild(ca.sqlpower.object.SPObject child)
|
void |
rollback(java.lang.String message)
|
protected void |
runInBackground(java.lang.Runnable runner)
Calls the runInBackground method on the session this object is attached to if it exists. |
protected void |
runInForeground(java.lang.Runnable runner)
Calls the runInForeground method on the session this object is attached to if it exists. |
java.lang.String |
toString()
|
| Methods inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
addChild, addChildImpl, addSPListener, begin, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, getChildren, getName, getUUID, removeChildImpl, removeSPListener, setName, setParent, setUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ca.sqlpower.object.SPObject |
|---|
addChild, addSPListener, allowsChildren, begin, childPositionOffset, getChildren, getChildren, getDependencies, getName, getUUID, removeDependency, removeSPListener, setName, setParent, setUUID |
| Constructor Detail |
|---|
public AbstractWabitObject()
public AbstractWabitObject(java.lang.String uuid)
| Method Detail |
|---|
public void generateNewUUID()
generateNewUUID in interface ca.sqlpower.object.SPObjectgenerateNewUUID in class ca.sqlpower.object.AbstractSPObjectpublic WabitObject getParent()
WabitObjectWabitObject
tree.
getParent in interface ca.sqlpower.object.SPObjectgetParent in interface WabitObjectgetParent in class ca.sqlpower.object.AbstractSPObject
public final boolean removeChild(ca.sqlpower.object.SPObject child)
throws ca.sqlpower.object.ObjectDependentException
removeChild in interface ca.sqlpower.object.SPObjectremoveChild in class ca.sqlpower.object.AbstractSPObjectca.sqlpower.object.ObjectDependentExceptionpublic ca.sqlpower.object.CleanupExceptions cleanup()
cleanup in interface ca.sqlpower.object.SPObjectcleanup in class ca.sqlpower.object.AbstractSPObjectpublic WabitSession getSession()
getSession in interface ca.sqlpower.object.SPObjectgetSession in class ca.sqlpower.object.AbstractSPObjectprotected void runInBackground(java.lang.Runnable runner)
runInBackground in class ca.sqlpower.object.AbstractSPObjectSPSession.runInBackground(Runnable)protected void runInForeground(java.lang.Runnable runner)
runInForeground in class ca.sqlpower.object.AbstractSPObjectSPSession.runInBackground(Runnable)protected boolean isForegroundThread()
isForegroundThread in class ca.sqlpower.object.AbstractSPObjectpublic boolean equals(java.lang.Object obj)
equals in class ca.sqlpower.object.AbstractSPObjectpublic void commit()
commit in interface ca.sqlpower.object.SPObjectcommit in class ca.sqlpower.object.AbstractSPObjectpublic void rollback(java.lang.String message)
rollback in interface ca.sqlpower.object.SPObjectrollback in class ca.sqlpower.object.AbstractSPObjectpublic java.lang.String toString()
toString in class ca.sqlpower.object.AbstractSPObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||