|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.sys.startstopp.skriptvew.StartStoppVerwaltung
public class StartStoppVerwaltung
Die Klasse verwaltet die einzelnen StartStopp Blöcke die durch die StartStopp Applikation verwaltet werden. Sie verfügt über Methoden zum Starten, Stoppen und Neustarten der StartStopp Blöcke. Die Klasse wird als Singleton ausgeführt.
Nested Class Summary | |
---|---|
static class |
StartStoppVerwaltung.Inner
Innere Klasse zum Sicherstellen, dass wirklich nur eine Instanz der Klasse gebildet wird |
Field Summary | |
---|---|
private java.lang.String |
m_orignalStartStoppBlockId
Verweis auf den original StartStopp Block (1. |
private StartStoppBlockVerwaltung |
m_startStoppBlockDaten
Hashmap mit den einzelnen StartStopplöcken |
private int |
m_startStoppBlockNummer
Variable zum Verwalten der StartStoppBlock Nummern. |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
private |
StartStoppVerwaltung()
Konstruktor der Klasse |
Method Summary | |
---|---|
StartStoppBlock |
addStartStoppBlock(org.jdom.Element root,
org.jdom.Element rootModifiziert)
Methode zum Anlegen eines neuen StartStopp Blocks |
java.util.List<StartStoppBlock> |
getAllStartStoppBloecke()
Methode zum Lesen aller StartStopp Blöcke |
static StartStoppVerwaltung |
getInstanz()
Methode zum Lesen der einzigen Instanz der Klasse |
java.lang.String |
getOrignalStartStoppBlockId()
|
StartStoppBlock |
getStartStoppBlock(java.lang.String startStoppBlockId)
Methode zum Auslesen eines StartStopp Blocks. |
java.lang.String |
getStartStoppBlockId()
Methode bestimmt die nächste freie StartStoppBlock Id. |
java.lang.String |
getStartStoppBlockId(int nummer)
Methode bestimmt die StartStopp Block ID eines StartStopp Blocks indem eine Nummer für den StartStopp Block übergeben wird. |
java.util.List<java.lang.String> |
getStartStoppBlockIds()
Methode zum Lesen der IDs aller der Applikation bekannten StartStopp Blöcke. |
void |
loescheStartStoppBlock(java.lang.String startStoppBlockId,
long absenderId)
Methode zum Löschen eines StartStopp Blocks |
void |
reset()
Methode löscht alle StartStopp Blöcke |
void |
setzeZustand(java.lang.String startStoppBlockId,
SkriptVewEnums.E_STATUS_STARTSTOPPBLOCK status)
Methode zum Setzen des Status des StartStopp Blocks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private StartStoppBlockVerwaltung m_startStoppBlockDaten
private int m_startStoppBlockNummer
private java.lang.String m_orignalStartStoppBlockId
Constructor Detail |
---|
private StartStoppVerwaltung()
Method Detail |
---|
public static StartStoppVerwaltung getInstanz()
public java.lang.String getStartStoppBlockId()
public java.lang.String getStartStoppBlockId(int nummer)
nummer
- Nummer die verwendet werden soll
public StartStoppBlock addStartStoppBlock(org.jdom.Element root, org.jdom.Element rootModifiziert)
root
- Verweis auf orignal Wurzelement des StartStoppBlock (JDOM)rootModifiziert
- Verweis auf modifiziertes Wurzelement des StartStoppBlock (JDOM)
(aufgelöste Makros)
public void loescheStartStoppBlock(java.lang.String startStoppBlockId, long absenderId)
startStoppBlockId
- Id des zu löschenden StartStopp BlocksabsenderId
- Absender Idpublic StartStoppBlock getStartStoppBlock(java.lang.String startStoppBlockId)
startStoppBlockId
- Id des StartStoppBlock
public java.util.List<StartStoppBlock> getAllStartStoppBloecke()
public java.util.List<java.lang.String> getStartStoppBlockIds()
public void setzeZustand(java.lang.String startStoppBlockId, SkriptVewEnums.E_STATUS_STARTSTOPPBLOCK status)
startStoppBlockId
- Id des StartStoppBlocksstatus
- Status des StartStopp Blocks
(siehe de.bsvrz.sys.startstopp.skriptvew.SkriptVewEnums)public java.lang.String getOrignalStartStoppBlockId()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |