public class BOBasierterTermin extends de.ipcon.db.core.BOBasierterTerminBase implements BOMonitoringAlarmI
Alarm.AlarmDefinitionException| Modifier and Type | Field and Description |
|---|---|
static BOBasierterTerminStatusManager |
basm |
ATT_Attribut, ATT_AttributBX, ATT_NeuterminierungNachAusloesung, ATT_Script, ATT_TestBO, ATT_VerfuegbareAttribute, ATT_Vorwarnzeit, ENT_BOBasierterTerminATT_Maske, ATT_VerfuegbareWertAlsAnhang, ATT_WertAlsAnhang, ATT_WertAlsAnhangBX, ENT_BOAssociatedAlarmATT_Absender, ATT_Aktiv, ATT_AlarmAusloesungen, ATT_AnhaengeScript, ATT_AutomatischDeaktiviertAm, ATT_BeiAusloesungBenachrichtigen, ATT_BeiAusloesungBenachrichtigenAdressen, ATT_BeiAusloesungBenachrichtigenBCC, ATT_BeiAusloesungBenachrichtigenCC, ATT_BeiAusloesungMitAntwortAn, ATT_BenachrichtigungsScript, ATT_BenachrichtigungsVorlage, ATT_Benutzer, ATT_BeschraenktAufAdresstypen, ATT_Gruppen, ATT_LetzterFehler, ATT_LetzterFehlerAm, ATT_MaxAlterAusloesung, ATT_NotifyOnFailure, ATT_Prioritaet, ATT_SaveErrorHandlingScript, ATT_TestBenachrichtigungsAuftrag, ATT_Testmodus, ATT_Tid, ATT_Verantwortlicher, ATT_Versendungen, ATT_WillSignatur, ATT_WillVerschluesselung, ENT_AlarmATT_Beschreibung, ATT_KinderRefs, ATT_L10nBeschreibung, ATT_L10nName, ATT_Name, ENT_BenanntATT_AlsAntwortAnBeiAuftraegen, ATT_AlsEmpfaengerBCCBeiAuftraegen, ATT_AlsEmpfaengerBeiAuftraegen, ATT_AlsEmpfaengerCCBeiAuftraegen, ATT_AlsKontextBOBeiAuftraegen, ATT_WirdAlsAntwortAnVerwendetBeiAlarmen, ATT_WirdBenachrichtigtBCCBeiAlarm, ATT_WirdBenachrichtigtBeiAlarm, ATT_WirdBenachrichtigtCCBeiAlarm, ENT_CoreBOBLOB_KEY, CANCEL_RECALC_CALLED, D_0, D_1, D_10, D_100, D_1000, D_10000, D_5, D_MINUS_1, D_MINUS_ONE, D_ONE, D_ZERO, doExWriteLRMFunction, EMPTY_ARRAY, F_0, F_1, L_0, L10N_KEY_BO_INSTANTIATION, L10N_KEY_BO_WITH_PROTECTED_CONSTRUCTOR, NULL_AGGREGATE, NULL_ITERATORMONITORED_OBJECTS_WARN_THRESHOLDATT_Badge, ATT_Badge2, ATT_Badge3, ATT_Badge4, ATT_BLOBCreatedBy, ATT_BLOBCreatedOn, ATT_BLOBDeletedBy, ATT_BLOBDeletedOn, ATT_BLOBLastModifiedBy, ATT_BLOBLastModifiedOn, ATT_Bot, ATT_Crea, ATT_CreatedBy, ATT_CreatedModifiedText, ATT_Id, ATT_InvolvedInProcs, ATT_LastModifiedBy, ATT_Ldel, ATT_Lmod, ATT_Procs, EMPTY_ARRAY, ENT_BO| Constructor and Description |
|---|
BOBasierterTermin() |
| Modifier and Type | Method and Description |
|---|---|
AlarmBenachrichtigungsauftrag |
action_testNotificationCreationOnly(Transaction tx,
AlarmNotificationManager anm)
Action method called from the "testing" tab in the GUI.
|
BOBasierterTerminStatus |
addState(KernelDatabaseAccessorI _kda,
BO _bo)
Creates a new
BOBasierterTerminStatus for the given (monitored) BO and stores it in the database. |
BOBasierterTerminStatus |
addState(KernelDatabaseAccessorI _kda,
BO _bo,
BOAlarmStatusManager.Batch _batch) |
static BOBasierterTermin |
adjustOrCreateInstance(Transaction tx,
java.lang.Class<? extends BOBasierterTermin> clazz,
java.lang.String name,
java.lang.String descr,
BOMaske maske)
(Factory-) Method that either creates a new BOBasierterTermin-instance with the passed parameters or
returns an existing one, if a mask with the passed name already exists.
|
static BOBasierterTermin |
adjustOrCreateInstance(Transaction tx,
java.lang.Class<? extends BOBasierterTermin> clazz,
java.lang.String name,
java.lang.String descr,
BOMaske maske,
java.lang.String attribute) |
static BOBasierterTermin |
adjustOrCreateInstance(Transaction tx,
java.lang.Class<? extends BOBasierterTermin> clazz,
java.lang.String name,
java.lang.String descr,
BOMaske maske,
java.lang.String attribute,
java.lang.String script) |
java.util.Date |
calculateNewTriggerDate(BOBasierterTerminStatus _bbts)
Determines the trigger anchor time that should be used for the given
BOBasierterTerminStatus. |
boolean |
changeMayAffectSchedule(BP _bp)
Returns true if the change that is represented by the given _bp will
probably result in the schedule having to be adjusted.
|
boolean |
changeMayAffectStates(BOProcI _bpi)
Returns true if the change that is represented by the given _bp will
probably result in the states having to be adjusted.
|
boolean |
changeMayAffectStates(Transaction _tx)
Needed by verifyOnClient(); basically the same as the other method of the
same name, only not for one BP but for a (whole) Transaction.
|
boolean |
changeMayAffectTriggerAnchortimes(BOProcI bpi) |
java.lang.String |
getAnchortimeAttributeName() |
BX |
getAttributBX() |
org.apache.log4j.Logger |
getLogger() |
BOAlarmStatusManager.BOAlarmStatusIterator |
getStates()
Simply passes through to the corresponding BOAlarmStatusManager method.
|
BOAlarmStatusManager |
getStatusManager() |
static BOBasierterTerminStatusManager |
getStatusManagerStatic() |
java.util.Map<java.lang.Long,BX> |
getVerfuegbareAttribute() |
void |
init(SchemaI _schema,
Benutzer _user)
Called once by the AlarmHandler when the Alarm is first loaded from the
server on startup.
|
static void |
markStateAsDone(BOAlarmStatus _bas)
Sets the given
BOAlarmStatus as no longer active and updates it in
the database. |
static void |
markStateAsDone(BOAlarmStatus _bas,
BOAlarmStatusManager.Batch _batch) |
void |
onChange(BP _bp,
KernelDatabaseAccessorI _kda,
Benutzer _user)
Called when this Alarm has just been changed on the server.
|
void |
onChange(BP _bp,
KernelDatabaseAccessorI _kda,
Benutzer _user,
boolean _skipStatesRecalc) |
void |
onCreate(KernelDatabaseAccessorI kda,
Benutzer user)
Called when this alarm has just been created on the server.
|
void |
onDelete(BP bp,
KernelDatabaseSaverI dbm,
Benutzer user)
Called when this Alarm has just been deleted on the server.
|
void |
recalcState(BOAlarmStatus _bas,
KernelDatabaseAccessorI _kda,
BOAlarmStatusManager.Batch _batch) |
BOBasierterTerminStatus |
recalcState(BOBasierterTerminStatus state)
Determines the trigger date which should currently be set for the given
BOBasierterTerminStatus and if the state should be active or not
(Active flag) and if necessary updates the state in the database. |
BOBasierterTerminStatus |
recalcState(BOBasierterTerminStatus state,
BOAlarmStatusManager.Batch _batch) |
BOAlarmStatus |
recalcState(KernelDatabaseAccessorI kda,
BOAlarmStatus state) |
void |
recalcStates(KernelDatabaseAccessorI _kda)
Called when the memorized trigger states for the monitored BOs of an alarm
have to be initialized or may have to be changed or adjusted in some way.
|
void |
removeAllStates()
Simply passes through to the corresponding BOAlarmStatusManager method.
|
void |
setAttribut(java.lang.String _attributeName) |
void |
setAttributBX(BX _bxAttr) |
void |
setScript(java.lang.String _script) |
boolean |
trigger(KernelDatabaseSaverI kds,
BenachrichtigungsScriptAPI bsapi,
java.util.Date dateNow,
java.lang.Long idBO,
BOT bot)
Might be overwritten by subclasses; simply returns 0.
|
void |
verifyOnClient(BasicClientContextI _ctx) |
copyFrom, copyFrom, equalPayload, getAttribut, getAttributNE, getAttributNN, getAttributNN, getNeuterminierungNachAusloesung, getNeuterminierungNachAusloesungNN, getNeuterminierungNachAusloesungNN, getScript, getScriptNE, getScriptNN, getScriptNN, getTestBO, getVerfuegbareAttributeIterator, getVorwarnzeit, getVorwarnzeitNN, getVorwarnzeitNN, istNeuterminierungNachAusloesung, needAttribut, needAttributBX, needNeuterminierungNachAusloesung, needPopulatedVerfuegbareAttribute, needScript, needTestBO, needVorwarnzeit, readExternal, setBOLoader, setNeuterminierungNachAusloesung, setTestBO, setVorwarnzeit, slim, slim, writeExternalcanUseAnhaengeScript, fits, getMaskeWithChecks, getVerfuegbareWertAlsAnhang, getWertAlsAnhangBX, setWertAlsAnhang, setWertAlsAnhangBXgetMaske, getVerfuegbareWertAlsAnhangIterator, getWertAlsAnhang, getWertAlsAnhangNE, getWertAlsAnhangNN, getWertAlsAnhangNN, needMaske, needPopulatedVerfuegbareWertAlsAnhang, needWertAlsAnhang, needWertAlsAnhangBX, setMaskeaddBeiAusloesungBenachrichtigen, addBeiAusloesungBenachrichtigenBCC, addBeiAusloesungBenachrichtigenCC, addBenutzer, addGruppe, afterVerifyOnServer, getAlleBeiAusloesungBenachrichtigen, getAttachmentsScript, getBeiAusloesungBenachrichtigenAdressen, getBenutzer, getCompiledSaveErrorHandlingScript, getGruppen, getOldestAllowedTriggerDate, getOldestAllowedTriggerDate, getReceiversMatchingRelationType, getReceiversMatchingRelationTypeBCC, getReceiversMatchingRelationTypeCC, getTriggerActionScript, getVersendungen, isMandatory, removeBenutzer, removeGruppe, setAktiv, setAnhaengeScript, setBenachrichtigungsScript, setSaveErrorHandlingScript, storeLastError, storeLastError, toString, transferDataFrom, verifyOnServeraddAlarmAusloesung, addBeiAusloesungMitAntwortAn, addBeschraenktAufAdresstyp, getAbsender, getAktiv, getAktivNN, getAktivNN, getAlarmAusloesungen, getAlarmAusloesungenIterator, getAnhaengeScript, getAnhaengeScriptNE, getAnhaengeScriptNN, getAnhaengeScriptNN, getAutomatischDeaktiviertAm, getBeiAusloesungBenachrichtigen, getBeiAusloesungBenachrichtigenAdressenIterator, getBeiAusloesungBenachrichtigenBCC, getBeiAusloesungBenachrichtigenBCCIterator, getBeiAusloesungBenachrichtigenCC, getBeiAusloesungBenachrichtigenCCIterator, getBeiAusloesungBenachrichtigenIterator, getBeiAusloesungMitAntwortAn, getBeiAusloesungMitAntwortAnIterator, getBenachrichtigungsScript, getBenachrichtigungsScriptNE, getBenachrichtigungsScriptNN, getBenachrichtigungsScriptNN, getBenachrichtigungsVorlage, getBenutzerIterator, getBeschraenktAufAdresstypen, getBeschraenktAufAdresstypenIterator, getGruppenIterator, getLetzterFehler, getLetzterFehlerAm, getLetzterFehlerNE, getLetzterFehlerNN, getLetzterFehlerNN, getMaxAlterAusloesung, getMaxAlterAusloesungNN, getMaxAlterAusloesungNN, getNotifyOnFailure, getPrioritaet, getPrioritaetNN, getPrioritaetNN, getSaveErrorHandlingScript, getSaveErrorHandlingScriptNE, getSaveErrorHandlingScriptNN, getSaveErrorHandlingScriptNN, getTestBenachrichtigungsAuftrag, getTestmodus, getTestmodusNN, getTestmodusNN, getTid, getTidNE, getTidNN, getTidNN, getVerantwortlicher, getVersendungenIterator, getWillSignatur, getWillSignaturNN, getWillSignaturNN, getWillVerschluesselung, getWillVerschluesselungNN, getWillVerschluesselungNN, istAktiv, istTestmodus, needAbsender, needAktiv, needAnhaengeScript, needAutomatischDeaktiviertAm, needBenachrichtigungsScript, needBenachrichtigungsVorlage, needLetzterFehler, needLetzterFehlerAm, needMaxAlterAusloesung, needNotifyOnFailure, needPopulatedAlarmAusloesungen, needPopulatedBeiAusloesungBenachrichtigen, needPopulatedBeiAusloesungBenachrichtigenAdressen, needPopulatedBeiAusloesungBenachrichtigenBCC, needPopulatedBeiAusloesungBenachrichtigenCC, needPopulatedBeiAusloesungMitAntwortAn, needPopulatedBenutzer, needPopulatedBeschraenktAufAdresstypen, needPopulatedGruppen, needPopulatedVersendungen, needPrioritaet, needSaveErrorHandlingScript, needTestBenachrichtigungsAuftrag, needTestmodus, needTid, needVerantwortlicher, needWillSignatur, needWillVerschluesselung, pgetAlarmAusloesungenLazy, pgetBeiAusloesungBenachrichtigenBCCLazy, pgetBeiAusloesungBenachrichtigenCCLazy, pgetBeiAusloesungBenachrichtigenLazy, pgetBeiAusloesungMitAntwortAnLazy, pgetBeschraenktAufAdresstypenLazy, removeAlarmAusloesung, removeBeiAusloesungBenachrichtigen, removeBeiAusloesungBenachrichtigenBCC, removeBeiAusloesungBenachrichtigenCC, removeBeiAusloesungMitAntwortAn, removeBeschraenktAufAdresstyp, setAbsender, setAlarmAusloesungen, setAutomatischDeaktiviertAm, setBeiAusloesungBenachrichtigen, setBeiAusloesungBenachrichtigenBCC, setBeiAusloesungBenachrichtigenCC, setBeiAusloesungMitAntwortAn, setBenachrichtigungsVorlage, setBeschraenktAufAdresstypen, setLetzterFehler, setLetzterFehlerAm, setMaxAlterAusloesung, setNotifyOnFailure, setPrioritaet, setTestBenachrichtigungsAuftrag, setTestmodus, setTid, setVerantwortlicher, setWillSignatur, setWillVerschluesselungcompareTo, createTID, createTID, getL10nBeschreibung, getL10nName, getPairStorage, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsRelation, inputAsRelation, inputAsRelation, inputAsRelation, outputAsBenanntRelation, outputAsBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiRelation, outputAsMultiRelation, outputAsRelation, outputAsRelation, outputAsRelation, outputBOTName, outputIntoElement, outputIntoElement, storePreparedRelationQueryResultaddKinderRef, getBeschreibung, getBeschreibungNE, getBeschreibungNN, getBeschreibungNN, getKinderRefs, getKinderRefsIterator, getL10nBeschreibungNE, getL10nBeschreibungNN, getL10nBeschreibungNN, getL10nNameNE, getL10nNameNN, getL10nNameNN, getName, getNameNE, getNameNN, getNameNN, needBeschreibung, needL10nBeschreibung, needL10nName, needName, needPopulatedKinderRefs, pgetKinderRefsLazy, removeKinderRef, setBeschreibung, setKinderRefs, setNameaddAlsAntwortAnBeiAuftrag, addAlsEmpfaengerBCCBeiAuftrag, addAlsEmpfaengerBeiAuftrag, addAlsEmpfaengerCCBeiAuftrag, addAlsKontextBOBeiAuftrag, addWirdAlsAntwortAnVerwendetBeiAlarm, addWirdBenachrichtigtBCCBeiAlarm, addWirdBenachrichtigtBeiAlarm, addWirdBenachrichtigtCCBeiAlarm, getAlsAntwortAnBeiAuftraegen, getAlsAntwortAnBeiAuftraegenIterator, getAlsEmpfaengerBCCBeiAuftraegen, getAlsEmpfaengerBCCBeiAuftraegenIterator, getAlsEmpfaengerBeiAuftraegen, getAlsEmpfaengerBeiAuftraegenIterator, getAlsEmpfaengerCCBeiAuftraegen, getAlsEmpfaengerCCBeiAuftraegenIterator, getAlsKontextBOBeiAuftraegen, getAlsKontextBOBeiAuftraegenIterator, getWirdAlsAntwortAnVerwendetBeiAlarmen, getWirdAlsAntwortAnVerwendetBeiAlarmenIterator, getWirdBenachrichtigtBCCBeiAlarm, getWirdBenachrichtigtBCCBeiAlarmIterator, getWirdBenachrichtigtBeiAlarm, getWirdBenachrichtigtBeiAlarmIterator, getWirdBenachrichtigtCCBeiAlarm, getWirdBenachrichtigtCCBeiAlarmIterator, needPopulatedAlsAntwortAnBeiAuftraegen, needPopulatedAlsEmpfaengerBCCBeiAuftraegen, needPopulatedAlsEmpfaengerBeiAuftraegen, needPopulatedAlsEmpfaengerCCBeiAuftraegen, needPopulatedAlsKontextBOBeiAuftraegen, needPopulatedWirdAlsAntwortAnVerwendetBeiAlarmen, needPopulatedWirdBenachrichtigtBCCBeiAlarm, needPopulatedWirdBenachrichtigtBeiAlarm, needPopulatedWirdBenachrichtigtCCBeiAlarm, pgetAlsAntwortAnBeiAuftraegenLazy, pgetAlsEmpfaengerBCCBeiAuftraegenLazy, pgetAlsEmpfaengerBeiAuftraegenLazy, pgetAlsEmpfaengerCCBeiAuftraegenLazy, pgetAlsKontextBOBeiAuftraegenLazy, pgetWirdAlsAntwortAnVerwendetBeiAlarmenLazy, pgetWirdBenachrichtigtBCCBeiAlarmLazy, pgetWirdBenachrichtigtBeiAlarmLazy, pgetWirdBenachrichtigtCCBeiAlarmLazy, removeAlsAntwortAnBeiAuftrag, removeAlsEmpfaengerBCCBeiAuftrag, removeAlsEmpfaengerBeiAuftrag, removeAlsEmpfaengerCCBeiAuftrag, removeAlsKontextBOBeiAuftrag, removeWirdAlsAntwortAnVerwendetBeiAlarm, removeWirdBenachrichtigtBCCBeiAlarm, removeWirdBenachrichtigtBeiAlarm, removeWirdBenachrichtigtCCBeiAlarm, setAlsAntwortAnBeiAuftraegen, setAlsEmpfaengerBCCBeiAuftraegen, setAlsEmpfaengerBeiAuftraegen, setAlsEmpfaengerCCBeiAuftraegen, setAlsKontextBOBeiAuftraegen, setWirdAlsAntwortAnVerwendetBeiAlarmen, setWirdBenachrichtigtBCCBeiAlarm, setWirdBenachrichtigtBeiAlarm, setWirdBenachrichtigtCCBeiAlarm_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, aggregate, aggregate, aggregate, aggregate, badge, badge, beforeVerifyOnClient, beforeVerifyOnServer, bumpVersion, cacheLocally, cacheLocally, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cacheLocallyAndThrowUnwrappedUncheckedCause, cancelCheckConstraints, cancelRecalc, cancelRecalcViaLoadingTransaction, clone, commitTransaction, computeTransientPropertyIfAbsent, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, consumeAndAssureTransientPropertyExists, copyBLOBFrom, createCopy, createCopy, deepClone, deepClone, delete, describe, describe, describe, describe, describe, describe, describe, describe, describe, describe, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeId, describeNE, describeNE, describeNE, describeNE, describeNE, destub, equalPayload, equalPayload, equalPayload, equalPayload, equals, equalsBO, equalsBO, equalsRegardingAttrs, exportBLOB, exReadString, exWriteString, forgetTransientBLOBHandle, frap, getAsBOInIssueReports, getAsBOInIssueReportsIterator, getAsString, getBackendBOLoaderWithPersistenceHandler, getBadge, getBadge, getBadge2, getBadge3, getBadge4, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBAsDataInput, getBLOBAsEncodedString, getBLOBAsEncodedString, getBLOBAsInputStream, getBLOBAsUTF8EncodedString, getBLOBCreatedBy, getBLOBCreatedOn, getBLOBDeletedBy, getBLOBDeletedOn, getBLOBInfo, getBLOBLastModifiedBy, getBLOBLastModifiedOn, getBOLoader, getBot, getBOVersion, getBytes, getCache, getCache, getCache, getCache, getCache, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheNT, getCacheProvider, getCacheProvider, getClazz, getCreatedBy, getCreatedModifiedText, getDefaultScriptImportsList, getDefaultScriptImportsList, getDefaultScriptImportsList, getDescribingBOWrapper, getDescribingBOWrapper, getEventProvider, getEventProvider, getId, getInvolvedInProcs, getInvolvedInProcsIterator, getLastModifiedBy, getLazyData, getLoadingTransaction, getNullIterator, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getOrCreate, getPermissionHandler, getProcs, getProcsIterator, getRootLoaderSchema, getSchema, getSizeFast, getTransaction, getTransientProperty, getTransientProperty, getWrappedTransientProperty, hasActiveTransaction, hasBLOB, hasBLOBOnServerSide, hasBOAssignedTempId, hashCode, hasRelationObjects, hasRelationObjects, hasSessionAssignedTempId, hasTempId, hasTempIdForNewBOs, hasTransientProperty, hasTransientPropertyUnfiltered, includeAllowed, includeInTransaction, invalidateBLOBCache, isBOAssignedTempId, isCompoundChangeInProgress, isCurrentTransactionUnderAdminControl, isIgnoreModificationConstraints, isNew, isReadOnly, isServerSideAndLoadedReadOnly, isSessionAssignedTempId, isStub, isTempId, isTempIdForNewInstance, isTemporary, isVisible, isWriteable, markCompoundChangeInProgress, markDelete, markUndelete, needLoadingTransaction, needsReload, needTransactionInclusion, newInstance, newInstance, newInstance, newInstance, newInstance, newInstance, nextTempId, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBus, notifyMessageBusOfAdd, notifyMessageBusOfRemove, nullSafeCompareTo, nullSafeCompareTo, nullSafeContainsBO, nullSafeContainsBO, nullSafeEquals, nullSafeEqualsBO, nullSafeEqualsBO, ofStub, propertyMissing, propertyMissing, releaseCompoundChangeInProgress, releaseTxWriteLock, remove, removeBLOB, requireNonEmptyRelation, requireNonNullAttribute, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, requireNonNullAttributes, setAsString, setBadge, setBadge, setBadge2, setBadge3, setBadge4, setBOLoaderNoCascade, setBOLoaderNoCascade, setBot, setId, setId, setIgnoreModificationConstraints, setLazyData, setTempId, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, setTransientProperty, slim, slim, storeBLOB, storeBLOB, storeBLOB, storeBLOB, storeBLOB, stub, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, undelete, wrapIfGroovygetCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmodgetInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10nfits, getId, getMaskeWithChecks, getsDateFromAttribute, istAktiv, recalcExistingStatesfilterPermittedAddresses, getBeschraenktAufAdresstypen, getPermittedTypesAsString, permitsTypeOf, verifyUniqueMyTISMAdresstypbumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, delete, equalsBO, equalsBO, filterDeleted, filterDeleted, filterDeleted, filterDeleted, filterDeletedAndReturnMap, filterDeletedAndReturnMap, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, hasBLOB, hasTransientProperty, hasTransientPropertyUnfiltered, isDeleted, isNew, isReadOnly, isSubEntityOf, isSubEntityOf, isTemporary, isVisible, setTransientProperty, toRelationMapROcollectIds, collectIds, getCommaSeparatedIdList, getId, hasTempId, toMap, toMapcollectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescriptionpublic static BOBasierterTerminStatusManager basm
public org.apache.log4j.Logger getLogger()
getLogger in interface BOMonitoringAlarmIpublic BOAlarmStatusManager getStatusManager()
getStatusManager in interface BOMonitoringAlarmIpublic static BOBasierterTerminStatusManager getStatusManagerStatic()
public void verifyOnClient(BasicClientContextI _ctx)
verifyOnClient in interface SaveVetoIverifyOnClient in class BOAssociatedAlarmpublic void setScript(java.lang.String _script)
setScript in class de.ipcon.db.core.BOBasierterTerminBasepublic void init(SchemaI _schema, Benutzer _user) throws Alarm.AlarmDefinitionException
init in class BOAssociatedAlarmAlarm.AlarmDefinitionExceptionpublic static BOBasierterTermin adjustOrCreateInstance(Transaction tx, java.lang.Class<? extends BOBasierterTermin> clazz, java.lang.String name, java.lang.String descr, BOMaske maske) throws java.lang.InstantiationException, java.lang.IllegalAccessException
(Factory-) Method that either creates a new BOBasierterTermin-instance with the passed parameters or returns an existing one, if a mask with the passed name already exists. If a new alarm is created, it becomes active immediately.
An existing instance's maske will be replaced (if the passed maske-parameter differs from the current maske)tx - the Transactionclazz - the class of the instance to createname - the name of the alarmdescr - the description of the alarmmaske - the BOMaske that determines the observed objectsattribute - the name of the DateTime-attribute to trigger the alarmscript - the script containing the conditions to trigger the alarmjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic static BOBasierterTermin adjustOrCreateInstance(Transaction tx, java.lang.Class<? extends BOBasierterTermin> clazz, java.lang.String name, java.lang.String descr, BOMaske maske, java.lang.String attribute) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic static BOBasierterTermin adjustOrCreateInstance(Transaction tx, java.lang.Class<? extends BOBasierterTermin> clazz, java.lang.String name, java.lang.String descr, BOMaske maske, java.lang.String attribute, java.lang.String script) throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void onCreate(KernelDatabaseAccessorI kda, Benutzer user) throws Alarm.AlarmDefinitionException, java.lang.InterruptedException
Alarmpublic void onChange(BP _bp, KernelDatabaseAccessorI _kda, Benutzer _user) throws Alarm.AlarmDefinitionException, java.lang.InterruptedException
onChange in class AlarmAlarm.AlarmDefinitionExceptionjava.lang.InterruptedExceptionpublic void onChange(BP _bp, KernelDatabaseAccessorI _kda, Benutzer _user, boolean _skipStatesRecalc) throws Alarm.AlarmDefinitionException, java.lang.InterruptedException
onChange in class AlarmAlarm.AlarmDefinitionExceptionjava.lang.InterruptedExceptionpublic boolean changeMayAffectSchedule(BP _bp)
changeMayAffectSchedule in interface BOMonitoringAlarmIpublic boolean changeMayAffectStates(BOProcI _bpi)
public boolean changeMayAffectTriggerAnchortimes(BOProcI bpi)
public boolean changeMayAffectStates(Transaction _tx)
public void onDelete(BP bp, KernelDatabaseSaverI dbm, Benutzer user)
public java.lang.String getAnchortimeAttributeName()
getAnchortimeAttributeName in interface BOMonitoringAlarmIpublic void recalcStates(KernelDatabaseAccessorI _kda) throws Alarm.AlarmDefinitionException, java.lang.InterruptedException
recalcStates in interface BOMonitoringAlarmIAlarm.AlarmDefinitionExceptionjava.lang.InterruptedExceptionpublic void recalcState(BOAlarmStatus _bas, KernelDatabaseAccessorI _kda, BOAlarmStatusManager.Batch _batch) throws Alarm.AlarmDefinitionException, BOAlarmStatusManagerStorageException
recalcState in interface BOMonitoringAlarmIAlarm.AlarmDefinitionExceptionBOAlarmStatusManagerStorageExceptionpublic BOAlarmStatus recalcState(KernelDatabaseAccessorI kda, BOAlarmStatus state) throws BOAlarmStatusManagerStorageException
recalcState in interface BOMonitoringAlarmIBOAlarmStatusManagerStorageExceptionpublic BOBasierterTerminStatus recalcState(BOBasierterTerminStatus state) throws BOAlarmStatusManagerStorageException
BOBasierterTerminStatus and if the state should be active or not
(Active flag) and if necessary updates the state in the database.state if the state should be (still) active; null if notBOAlarmStatusManagerStorageExceptionpublic BOBasierterTerminStatus recalcState(BOBasierterTerminStatus state, BOAlarmStatusManager.Batch _batch) throws BOAlarmStatusManagerStorageException
public BOBasierterTerminStatus addState(KernelDatabaseAccessorI _kda, BO _bo) throws BOAlarmStatusManagerStorageException
BOBasierterTerminStatus for the given (monitored) BO and stores it in the database.addState in interface BOMonitoringAlarmI_kda - Unused in this method version, but necessary for Wiedervorlage version_bo - the BO for which to add a state_batch - a BOAlarmStatusManager.Batch to use for optimization; may be and defaults to nullBOBasierterTerminStatusBOAlarmStatusManagerStorageExceptionpublic BOBasierterTerminStatus addState(KernelDatabaseAccessorI _kda, BO _bo, BOAlarmStatusManager.Batch _batch) throws BOAlarmStatusManagerStorageException
public java.util.Date calculateNewTriggerDate(BOBasierterTerminStatus _bbts)
BOBasierterTerminStatus.
FIXME! TT 2023-11-29: The method name is misleading as it is not the actual trigger date/time but the "trigger
anchor date/time" which *might* be different._bbts - the BOBasierterTerminStatus for which the trigger anchor time should be determinedpublic BOAlarmStatusManager.BOAlarmStatusIterator getStates()
getStates in interface BOMonitoringAlarmIpublic static void markStateAsDone(BOAlarmStatus _bas) throws BOAlarmStatusManagerStorageException
BOAlarmStatus as no longer active and updates it in
the database.public static void markStateAsDone(BOAlarmStatus _bas, BOAlarmStatusManager.Batch _batch) throws BOAlarmStatusManagerStorageException
public void removeAllStates()
removeAllStates in interface BOMonitoringAlarmIpublic AlarmBenachrichtigungsauftrag action_testNotificationCreationOnly(Transaction tx, AlarmNotificationManager anm) throws Alarm.AlarmDefinitionException
Alarm.AlarmDefinitionExceptionpublic boolean trigger(KernelDatabaseSaverI kds, BenachrichtigungsScriptAPI bsapi, java.util.Date dateNow, java.lang.Long idBO, BOT bot)
public void setAttribut(java.lang.String _attributeName)
setAttribut in class de.ipcon.db.core.BOBasierterTerminBasepublic BX getAttributBX()
getAttributBX in class de.ipcon.db.core.BOBasierterTerminBasepublic void setAttributBX(BX _bxAttr)
setAttributBX in class de.ipcon.db.core.BOBasierterTerminBasepublic java.util.Map<java.lang.Long,BX> getVerfuegbareAttribute()
getVerfuegbareAttribute in class de.ipcon.db.core.BOBasierterTerminBaseCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.