Package de.pisa.psa.rst.uti
Klasse PsaRstApiSem
java.lang.Object
de.pisa.psa.rst.uti.PsaRstApiSem
REST API: semaphores for controlling the behavior
- Seit:
- 11.08.2023
- Autor:
- weiland
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic boolean
isSemExecuteAsync
(de.pisa.psc.srv.dto.PscDto dto, int row) check if the semaphore for execute the event asynchronously is setstatic boolean
isSemIgnoreEvent
(de.pisa.psc.srv.dto.PscDto dto, int row) check if the semaphore for ignoring the current event is setstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemExecuteAsync
(de.pisa.psc.srv.dto.PscDto dto) set the semaphore to execute the event asynchronously for the data objectstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemExecuteAsync
(de.pisa.psc.srv.dto.PscDto dto, int row) set the semaphore to execute the event asynchronously for the recordstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemExecuteAsync
(de.pisa.psc.srv.glb.PscSsn ssn) set the semaphore to execute the event asynchronously for the sessionstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemIgnoreEvent
(de.pisa.psc.srv.dto.PscDto dto) set the semaphore to ignore event processing for the data objectstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemIgnoreEvent
(de.pisa.psc.srv.dto.PscDto dto, int row) set the semaphore to ignore event processing for the recordstatic de.pisa.psa.dto.PsaSemHdl.Ctl
setSemIgnoreEvent
(de.pisa.psc.srv.glb.PscSsn ssn) set the semaphore to ignore event processing for the session
-
Methodendetails
-
setSemIgnoreEvent
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemIgnoreEvent(de.pisa.psc.srv.glb.PscSsn ssn) set the semaphore to ignore event processing for the session- Parameter:
ssn
- session- Gibt zurück:
- semaphore handler
-
setSemIgnoreEvent
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemIgnoreEvent(de.pisa.psc.srv.dto.PscDto dto) set the semaphore to ignore event processing for the data object- Parameter:
dto
- data object- Gibt zurück:
- semaphore handler
-
setSemIgnoreEvent
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemIgnoreEvent(de.pisa.psc.srv.dto.PscDto dto, int row) throws de.pisa.psc.srv.glb.PscExc set the semaphore to ignore event processing for the record- Parameter:
dto
- data objectrow
- row of the record- Gibt zurück:
- semaphore handler
- Löst aus:
de.pisa.psc.srv.glb.PscExc
-
isSemIgnoreEvent
public static boolean isSemIgnoreEvent(de.pisa.psc.srv.dto.PscDto dto, int row) throws de.pisa.psc.srv.glb.PscExc check if the semaphore for ignoring the current event is set- Parameter:
dto
- data objectrow
- row- Gibt zurück:
- true if the semaphore is set
- Löst aus:
de.pisa.psc.srv.glb.PscExc
-
setSemExecuteAsync
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemExecuteAsync(de.pisa.psc.srv.glb.PscSsn ssn) set the semaphore to execute the event asynchronously for the session- Parameter:
ssn
- session- Gibt zurück:
- semaphore handler
-
setSemExecuteAsync
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemExecuteAsync(de.pisa.psc.srv.dto.PscDto dto) set the semaphore to execute the event asynchronously for the data object- Parameter:
dto
- data object- Gibt zurück:
- semaphore handler
-
setSemExecuteAsync
public static de.pisa.psa.dto.PsaSemHdl.Ctl setSemExecuteAsync(de.pisa.psc.srv.dto.PscDto dto, int row) throws de.pisa.psc.srv.glb.PscExc set the semaphore to execute the event asynchronously for the record- Parameter:
dto
- data objectrow
- row of the record- Gibt zurück:
- semaphore handler
- Löst aus:
de.pisa.psc.srv.glb.PscExc
-
isSemExecuteAsync
public static boolean isSemExecuteAsync(de.pisa.psc.srv.dto.PscDto dto, int row) throws de.pisa.psc.srv.glb.PscExc check if the semaphore for execute the event asynchronously is set- Parameter:
dto
- data objectrow
- row- Gibt zurück:
- true if the semaphore is set
- Löst aus:
de.pisa.psc.srv.glb.PscExc
-