public class AlarmAusloesung extends de.ipcon.db.core.AlarmAusloesungBase implements NotificationTemplateContextProviderI
ATT_Alarm, ATT_AufgetretenerFehler, ATT_AusgeloestAm, ATT_AusgeloesteTransaktionen, ATT_BT, ATT_BTId, ATT_ErzeugteBenachrichtigungsauftraege, ENT_AlarmAusloesungBLOB_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_ITERATORATT_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, ENT_BO| Constructor and Description |
|---|
AlarmAusloesung() |
| Modifier and Type | Method and Description |
|---|---|
BT |
getBT() |
BT |
getBT(BOLoaderI bol) |
java.util.Map<java.lang.String,java.lang.Object> |
getContextParameters() |
static AlarmAusloesung |
of(Transaction tx,
Alarm alarm,
java.util.Date shouldHaveTriggeredOn,
java.lang.Long boId,
java.lang.Long btId,
java.lang.Long btIsFromNodeNumber)
Factory method that creates and returns a new instance of the appropriate
AlarmAusloesung subclass
depending on the given data. |
void |
retrigger() |
void |
setBTId(java.lang.Long btId)
Normally it is forbidden or at least very strongly discouraged to overwrite a persistent setter and mess with the
data, as strange effects and errors will occur, but right here we need this to ensure "correct" data during sync,
as the BTs are instance-local and we want to reference the Id of the correct local representing BT, i.e. the one
having the Id of the original BT that was synced in as NodeBTId.
|
static AlarmAusloesung |
tempOf(BOLoaderI bol,
Benutzer user,
Alarm alarm,
java.util.Date shouldHaveTriggeredOn,
java.lang.Long boId,
java.lang.Long btId,
java.lang.Long btIsFromNodeNumber) |
addAusgeloesteTransaktion, addErzeugterBenachrichtigungsauftrag, copyFrom, copyFrom, equalPayload, getAlarm, getAufgetretenerFehler, getAufgetretenerFehlerNE, getAufgetretenerFehlerNN, getAufgetretenerFehlerNN, getAusgeloestAm, getAusgeloesteTransaktionen, getAusgeloesteTransaktionenIterator, getBTId, getBTIdNN, getBTIdNN, getErzeugteBenachrichtigungsauftraege, getErzeugteBenachrichtigungsauftraegeIterator, needAlarm, needAufgetretenerFehler, needAusgeloestAm, needBT, needBTId, needPopulatedAusgeloesteTransaktionen, needPopulatedErzeugteBenachrichtigungsauftraege, pgetAusgeloesteTransaktionenLazy, pgetErzeugteBenachrichtigungsauftraegeLazy, readExternal, removeAusgeloesteTransaktion, removeErzeugterBenachrichtigungsauftrag, setAlarm, setAufgetretenerFehler, setAusgeloestAm, setAusgeloesteTransaktionen, setBOLoader, setErzeugteBenachrichtigungsauftraege, slim, slim, writeExternal_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, afterVerifyOnServer, 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, isMandatory, 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, toString, undelete, verifyOnClient, verifyOnServer, wrapIfGroovygetCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmodgetInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10ncontains, filterDeleted, filterDeleted, filterDeleted, filterDeleted, filterDeletedAndReturnMap, filterDeletedAndReturnMap, getAttribute, getAttribute, getCrea, getEntity, getEntity, isDeleted, isSubEntityOf, isSubEntityOf, toRelationMapROcollectIds, collectIds, getCommaSeparatedIdList, toMap, toMapcollectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescriptionpublic static AlarmAusloesung of(Transaction tx, Alarm alarm, java.util.Date shouldHaveTriggeredOn, java.lang.Long boId, java.lang.Long btId, java.lang.Long btIsFromNodeNumber) throws Alarm.AlarmDefinitionException
AlarmAusloesung subclass
depending on the given data.tx - a Transaction to include the created instance inalarm - the Alarm that was triggered and for which the instance is createdshouldHaveTriggeredOn - the date when the alarm should have triggered; normally should be basically equal to
"now".boId - if the alarm triggered for a specific BO this is the id of that BO; may be nullbtId - if the alarm triggered because of a BT this is the id of that BT; may be nullbtIsFromNodeNumber - the node number of the node where the BT originated; may be null if
btId is not givenAlarmAusloesung subclass depending on the given dataAlarm.AlarmDefinitionExceptionpublic static AlarmAusloesung tempOf(BOLoaderI bol, Benutzer user, Alarm alarm, java.util.Date shouldHaveTriggeredOn, java.lang.Long boId, java.lang.Long btId, java.lang.Long btIsFromNodeNumber) throws Alarm.AlarmDefinitionException
Alarm.AlarmDefinitionExceptionpublic BT getBT()
getBT in class de.ipcon.db.core.AlarmAusloesungBasepublic void setBTId(java.lang.Long btId)
setBTId in class de.ipcon.db.core.AlarmAusloesungBasepublic java.util.Map<java.lang.String,java.lang.Object> getContextParameters()
getContextParameters in interface NotificationTemplateContextProviderIpublic void retrigger()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.