|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.managers.update.AbstractUpdatable
public abstract class AbstractUpdatable
An abstract updatable.
Constructor Summary | |
---|---|
protected |
AbstractUpdatable(java.lang.String name,
java.lang.String key)
Construct a new AbstractUpdatable. |
Method Summary | |
---|---|
void |
addUpdateListener(UpdateListener listener)
Add an update listener to the updatable. |
java.lang.String |
getKey()
Return the internationalization key of the updtable. |
java.lang.String |
getName()
Return the name of the updatable. |
org.jtheque.utils.bean.Version |
getVersion()
Return the version of the updatable. |
void |
removeUpdateListener(UpdateListener listener)
Remove an update listener to the updatable. |
void |
setUpdated()
Set the updatable as updated. |
void |
setVersion(org.jtheque.utils.bean.Version version)
Set the version of the updatable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jtheque.core.managers.update.Updatable |
---|
getDefaultVersion, getVersionsFileURL |
Constructor Detail |
---|
protected AbstractUpdatable(java.lang.String name, java.lang.String key)
name
- The name of the updatable.key
- The internationalization key.Method Detail |
---|
public final void addUpdateListener(UpdateListener listener)
Updatable
addUpdateListener
in interface Updatable
listener
- The listener to add.public final void removeUpdateListener(UpdateListener listener)
Updatable
removeUpdateListener
in interface Updatable
listener
- The listener to remove.public final void setUpdated()
Updatable
setUpdated
in interface Updatable
public final void setVersion(org.jtheque.utils.bean.Version version)
Updatable
setVersion
in interface Updatable
version
- The version of the updatable.public final org.jtheque.utils.bean.Version getVersion()
Updatable
getVersion
in interface Updatable
public final java.lang.String getKey()
Updatable
getKey
in interface Updatable
public final java.lang.String getName()
Updatable
getName
in interface Updatable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |