public class MyTISMBenachrichtigungsAuftrag extends MyTISMBenachrichtigungsAuftragBase implements NotificationTemplateContextProviderI, LimitableToMyTISMAdresstypI
ATT_Absender, ATT_AnhangBOs, ATT_AntwortAn, ATT_AntwortAuf, ATT_Antworten, ATT_Beantwortet, ATT_BeantwortetAm, ATT_BeauftragtAm, ATT_Benachrichtigungen, ATT_Benutzer, ATT_BeschraenktAufAdresstypen, ATT_Betreff, ATT_BetreffIstFest, ATT_Empfaenger, ATT_EmpfaengerAdressen, ATT_EmpfaengerBCC, ATT_Encoding, ATT_Erledigt, ATT_FehlgeschlageneVersendungenErneutVersuchenAm, ATT_Gruppen, ATT_KontextBOs, ATT_Locale, ATT_PassenderTyp, ATT_Prioritaet, ATT_Stufe, ATT_Text, ATT_TextIstFest, ATT_ThreadPosition, ATT_Typ, ATT_VersendungenErfolgreich, ATT_VersendungenMitFehler, ATT_WillSignatur, ATT_WillVerschluesselung, ENT_MyTISMBenachrichtigungsAuftrag
BLOB_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_ITERATOR
ATT_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 |
---|
MyTISMBenachrichtigungsAuftrag() |
Modifier and Type | Method and Description |
---|---|
void |
addAnhangBO(java.lang.String name,
NotificationAttachmentI attachment) |
void |
addAnhangBOs(java.util.Map<java.lang.String,? extends NotificationAttachmentI> map) |
void |
addBenachrichtigung(MyTISMBenachrichtigung ben) |
void |
addBenutzer(Benutzer ben)
Deprecated.
Use addEmpfaengerBCC() instead.
|
void |
addEmpfaenger(CoreBO bo) |
void |
addEmpfaengerBCC(CoreBO bo) |
void |
addGruppe(Gruppe ben)
Deprecated.
Use addEmpfaengerBCC() instead.
|
void |
addKontextBO(java.lang.String name,
java.lang.Object obj) |
void |
addKontextBOs(java.util.Map<java.lang.String,? extends java.lang.Object> map)
Creates
MyTISMKontextBOEintrag instances for all the values of the
given Map<String, Object> and adds them to this
MyTISMBenachrichtigungsAuftrag . |
java.util.Date |
determineBeantwortetAm() |
java.util.Map<java.lang.Long,CoreBO> |
getAlleEmpfaenger() |
java.util.Map<java.lang.Long,MyTISMBenachrichtigungsAuftrag> |
getAntworten() |
java.lang.Boolean |
getBeantwortet() |
java.util.Date |
getBeauftragtAm() |
java.util.Map<java.lang.Long,Benutzer> |
getBenutzer()
Deprecated.
Use getEmpfaengerBCC() instead.
|
java.lang.String |
getBetreff() |
java.lang.Boolean |
getBetreffIstFest() |
java.util.Map<java.lang.String,java.lang.Object> |
getContextParameters() |
java.util.Map<java.lang.Long,NotifiableI> |
getEmpfaengerAdressen()
Convenience/Debugging method that gives all the collected "final"
MyTISMAdressen to which notifications will be sent.
|
java.util.Map<java.lang.Long,NotifiableI> |
getEmpfaengerAdressen(java.util.Set withoutAdrs) |
static java.util.Map<java.lang.Long,NotifiableI> |
getEmpfaengerAdressenStatic(java.util.Collection<NotifiableI> empfaenger) |
static java.util.Map<java.lang.Long,NotifiableI> |
getEmpfaengerAdressenStatic(java.util.Collection<NotifiableI> empfaenger,
java.util.Set withoutAdrs) |
java.util.Map<java.lang.Long,NotificationReceiverI> |
getEmpfaengerBCCResolved()
Convenience method that gives all the collected "final"
NotificationReceiverI from getEmpfaengerBCC() to which notifications will be
sent.
|
java.util.Map<java.lang.Long,NotificationReceiverI> |
getEmpfaengerResolved()
Convenience method that gives all the collected "final"
NotificationReceiverI from getEmpfaenger() to which notifications will be
sent.
|
static java.util.Map<java.lang.Long,NotificationReceiverI> |
getEmpfaengerResolvedStatic(java.util.Collection<? extends NotifiableI> empfaenger) |
static java.util.Map<java.lang.Long,NotificationReceiverI> |
getEmpfaengerResolvedStatic(java.util.Collection<? extends NotifiableI> empfaenger,
java.util.Set withoutEmpfaenger) |
java.lang.String |
getEncoding() |
java.util.Date |
getFehlgeschlageneVersendungenErneutVersuchenAm()
FIXME!
|
java.util.Date |
getFehlgeschlageneVersendungenErneutVersuchenAm(java.util.Date assumeNow) |
java.util.Map<java.lang.Long,Gruppe> |
getGruppen()
Deprecated.
Use getEmpfaengerBCC() instead.
|
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients)
Deprecated.
|
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs,
L10nLocale locale) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs,
L10nLocale locale,
java.lang.Integer priority) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption,
int wantsSignature) |
static MyTISMBenachrichtigungsAuftrag |
getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag,
Transaction tx,
CoreBO sender,
java.util.Collection recipients,
java.util.Collection recipientsBCC,
java.util.Map contextObjects,
java.util.Map attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption,
int wantsSignature,
java.lang.String encoding) |
MyTISMBenachrichtigung |
getNewMyTISMBenachrichtigungInstance()
Could be overwritten by subclasses.
|
MyTISMBenachrichtigungstyp |
getPassenderTyp()
Returns the set type.
|
java.lang.Integer |
getStufe() |
int |
getStufeNN()
Null safe version of getStufe() which returns an empty string if the value of getStufe() is null.
|
java.lang.String |
getText() |
java.lang.Boolean |
getTextIstFest() |
java.lang.Integer |
getThreadPosition() |
int |
getThreadPositionNN()
Null safe version of getThreadPosition() which returns an empty string if the value of getThreadPosition() is null.
|
java.util.Map<java.lang.Long,Benachrichtigungsversendung> |
getVersendungenErfolgreich() |
java.util.Map<java.lang.Long,Benachrichtigungsversendung> |
getVersendungenMitFehler() |
boolean |
hasBenachrichtigungen() |
void |
initMyTISMBenachrichtigung(MyTISMBenachrichtigung benach)
Could be overwritten by subclasses.
|
boolean |
isBCC(NotificationReceiverI nr)
Checks if the given NotificationReceiverI should receive the notification
via BCC or not, using getEmpfaengerBCCResolved().
|
boolean |
isMandatory(AttributeI attr)
Tells if the passed
AttributeI is mandatory in the context of this BO
(for the UI and access via the schema). |
boolean |
isOutdated(int maxAgeInDays) |
boolean |
isOutdated(int maxAgeInDays,
java.util.Date d) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients)
Fills and returns the given instance of MyTISMBenachrichtigungsAuftrag.
|
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs,
L10nLocale locale) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs,
L10nLocale locale,
java.lang.Integer priority) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption,
int wantsSignature) |
static MyTISMBenachrichtigungsAuftrag |
of(MyTISMBenachrichtigungsAuftrag ba,
Transaction tx,
java.util.Collection<? extends NotifiableI> recipients,
CoreBO sender,
java.util.Collection<? extends NotifiableI> recipientsBCC,
java.util.Collection<? extends CoreBO> replyTos,
java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects,
java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs,
L10nLocale locale,
java.lang.Integer priority,
int wantsEncryption,
int wantsSignature,
java.lang.String encoding) |
void |
removeBenachrichtigung(MyTISMBenachrichtigung ben) |
void |
removeBenutzer(Benutzer ben)
Deprecated.
Use removeEmpfaengerBCC() instead.
|
void |
removeGruppe(Gruppe ben)
Deprecated.
Use removeEmpfaengerBCC() instead.
|
void |
setEncoding(java.lang.String encoding) |
boolean |
shouldBeHandled(java.lang.String msg) |
void |
verifyOnClient(BasicClientContextI ctx) |
void |
verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
addAnhangBO, addAntwortAn, addBeschraenktAufAdresstyp, addKontextBO, copyFrom, copyFrom, equalPayload, getAbsender, getAnhangBOs, getAnhangBOsIterator, getAntwortAn, getAntwortAnIterator, getAntwortAuf, getAntwortenIterator, getBeantwortetAm, getBeantwortetNN, getBeantwortetNN, getBenachrichtigungen, getBenachrichtigungenIterator, getBenutzerIterator, getBeschraenktAufAdresstypen, getBeschraenktAufAdresstypenIterator, getBetreffIstFestNN, getBetreffIstFestNN, getBetreffNE, getBetreffNN, getBetreffNN, getEmpfaenger, getEmpfaengerAdressenIterator, getEmpfaengerBCC, getEmpfaengerBCCIterator, getEmpfaengerIterator, getEncodingNE, getEncodingNN, getEncodingNN, getErledigt, getErledigtNN, getErledigtNN, getGruppenIterator, getKontextBOs, getKontextBOsIterator, getLocale, getPrioritaet, getPrioritaetNN, getPrioritaetNN, getStufeNN, getTextIstFestNN, getTextIstFestNN, getTextNE, getTextNN, getTextNN, getThreadPositionNN, getTyp, getVersendungenErfolgreichIterator, getVersendungenMitFehlerIterator, getWillSignatur, getWillSignaturNN, getWillSignaturNN, getWillVerschluesselung, getWillVerschluesselungNN, getWillVerschluesselungNN, istBeantwortet, istBetreffIstFest, istErledigt, istTextIstFest, needAbsender, needAntwortAuf, needBeantwortet, needBeantwortetAm, needBeauftragtAm, needBetreff, needBetreffIstFest, needEncoding, needErledigt, needFehlgeschlageneVersendungenErneutVersuchenAm, needLocale, needPassenderTyp, needPopulatedAnhangBOs, needPopulatedAntwortAn, needPopulatedAntworten, needPopulatedBenachrichtigungen, needPopulatedBenutzer, needPopulatedBeschraenktAufAdresstypen, needPopulatedEmpfaenger, needPopulatedEmpfaengerAdressen, needPopulatedEmpfaengerBCC, needPopulatedGruppen, needPopulatedKontextBOs, needPopulatedVersendungenErfolgreich, needPopulatedVersendungenMitFehler, needPrioritaet, needStufe, needText, needTextIstFest, needThreadPosition, needTyp, needWillSignatur, needWillVerschluesselung, pgetAnhangBOsLazy, pgetAntwortAnLazy, pgetBenachrichtigungenLazy, pgetBeschraenktAufAdresstypenLazy, pgetEmpfaengerBCCLazy, pgetEmpfaengerLazy, pgetKontextBOsLazy, readExternal, removeAnhangBO, removeAntwortAn, removeBeschraenktAufAdresstyp, removeEmpfaenger, removeEmpfaengerBCC, removeKontextBO, setAbsender, setAnhangBOs, setAntwortAn, setAntwortAuf, setBeantwortetAm, setBenachrichtigungen, setBeschraenktAufAdresstypen, setBOLoader, setEmpfaenger, setEmpfaengerBCC, setErledigt, setKontextBOs, setLocale, setPrioritaet, setTyp, setWillSignatur, setWillVerschluesselung, slim, slim, writeExternal
_set, $, $, $, $$, $$bo, $$o, $$r, $$ri, $$ri, acquireTxWriteLock, add, afterSaveOnClient, afterSaveOnServer, afterVerifyOnClient, afterVerifyOnServer, 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, filterDeleted, filterDeleted, filterDeleted, forgetTransientBLOBHandle, frap, getAsBOInIssueReports, getAsBOInIssueReportsIterator, getAsString, getBackendBOLoaderWithPersistenceHandler, getBadge, getBadge, getBadge2, getBadge3, getBadge4, getBLOB, getBLOB, getBLOB, getBLOB, getBLOB, getBLOBAsDataInput, getBLOBAsInputStream, getBLOBCreatedBy, getBLOBCreatedOn, getBLOBDeletedBy, getBLOBDeletedOn, getBLOBInfo, getBLOBLastModifiedBy, getBLOBLastModifiedOn, getBOLoader, getBot, getBOVersion, getBytes, getCache, getCache, 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, stub, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toString, undelete, wrapIfGroovy
getCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmod
getInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10n
filterPermittedAddresses, getBeschraenktAufAdresstypen, getPermittedTypesAsString, permitsTypeOf, verifyUniqueMyTISMAdresstyp
bumpVersion, cancelCheckConstraints, consumeAndAssureTransientPropertyExists, contains, equalsBO, equalsBO, getAttribute, getAttribute, getBLOB, getBLOB, getBOVersion, getClazz, getCrea, getEntity, getEntity, getRootLoaderSchema, getSchema, getTransientProperty, hasBLOB, hasTransientProperty, hasTransientPropertyUnfiltered, isDeleted, isNew, isReadOnly, isSubEntityOf, isSubEntityOf, isTemporary, isVisible, setTransientProperty, toRelationMapRO, toRelationMapRO
collectIds, collectIds, getCommaSeparatedIdList, getId, toMap, toMap
collectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescription
public void verifyOnClient(BasicClientContextI ctx)
verifyOnClient
in interface SaveVetoI
verifyOnClient
in class BO
public void verifyOnServer(java.lang.Long nodeNumber, Benutzer user, Transaction tx) throws SaveVetoException
verifyOnServer
in interface SaveVetoI
verifyOnServer
in class BO
SaveVetoException
public boolean isMandatory(AttributeI attr)
BO
AttributeI
is mandatory in the context of this BO
(for the UI and access via the schema).
Please note that the schema-defined, not BO-related mandatories are taken into account here as well,
i.e. the method will consistently return true if the attribute is marked in the schema as
unless overridden in a subclass. Subclasses may override this method to add their own rules. If no rule exists in the subclass, the decision should always be delegated to super instead of just returning false to avoid inadvertenly breaking the rules defined in super-classes or the schema. You must never change the signature of this method, as subclasses override this and a lot of code would break or need to be adjusted.
isMandatory
in interface BOI
isMandatory
in class BO
AttributeI
is mandatory in the context of this BO
public java.util.Map<java.lang.String,java.lang.Object> getContextParameters()
getContextParameters
in interface NotificationTemplateContextProviderI
public java.lang.String getBetreff()
getBetreff
in class MyTISMBenachrichtigungsAuftragBase
public java.lang.Boolean getBetreffIstFest()
getBetreffIstFest
in class MyTISMBenachrichtigungsAuftragBase
public java.lang.String getText()
getText
in class MyTISMBenachrichtigungsAuftragBase
public java.lang.Boolean getTextIstFest()
getTextIstFest
in class MyTISMBenachrichtigungsAuftragBase
public void setEncoding(java.lang.String encoding)
setEncoding
in class MyTISMBenachrichtigungsAuftragBase
public java.lang.String getEncoding()
getEncoding
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Date getBeauftragtAm()
getBeauftragtAm
in class MyTISMBenachrichtigungsAuftragBase
public MyTISMBenachrichtigungstyp getPassenderTyp()
getPassenderTyp
in class MyTISMBenachrichtigungsAuftragBase
public void addKontextBO(java.lang.String name, java.lang.Object obj)
public void addKontextBOs(java.util.Map<java.lang.String,? extends java.lang.Object> map)
MyTISMKontextBOEintrag
instances for all the values of the
given Map<String, Object>
and adds them to this
MyTISMBenachrichtigungsAuftrag
. Uses addKontextBO()
internally with the string value of the map keys as context bo name and
the map value as the respective value.map
- a Map<String, Object>
with the data to addtx
- a Transaction
in which, if not null, the values from
the map are frapped before being addedpublic void addAnhangBO(java.lang.String name, NotificationAttachmentI attachment)
public void addAnhangBOs(java.util.Map<java.lang.String,? extends NotificationAttachmentI> map)
public java.lang.Boolean getBeantwortet()
getBeantwortet
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Map<java.lang.Long,MyTISMBenachrichtigungsAuftrag> getAntworten()
getAntworten
in class MyTISMBenachrichtigungsAuftragBase
public void addBenachrichtigung(MyTISMBenachrichtigung ben)
addBenachrichtigung
in class MyTISMBenachrichtigungsAuftragBase
public void removeBenachrichtigung(MyTISMBenachrichtigung ben)
removeBenachrichtigung
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Date determineBeantwortetAm()
public boolean hasBenachrichtigungen()
public java.lang.Integer getStufe()
getStufe
in class MyTISMBenachrichtigungsAuftragBase
public int getStufeNN()
MyTISMBenachrichtigungsAuftragBase
getStufeNN
in class MyTISMBenachrichtigungsAuftragBase
MyTISMBenachrichtigungsAuftragBase.getStufeNN(int)
,
MyTISMBenachrichtigungsAuftragBase.getStufe()
public java.lang.Integer getThreadPosition()
getThreadPosition
in class MyTISMBenachrichtigungsAuftragBase
public int getThreadPositionNN()
MyTISMBenachrichtigungsAuftragBase
getThreadPositionNN
in class MyTISMBenachrichtigungsAuftragBase
MyTISMBenachrichtigungsAuftragBase.getThreadPositionNN(int)
,
MyTISMBenachrichtigungsAuftragBase.getThreadPosition()
public MyTISMBenachrichtigung getNewMyTISMBenachrichtigungInstance()
public void initMyTISMBenachrichtigung(MyTISMBenachrichtigung benach)
public java.util.Map<java.lang.Long,Benutzer> getBenutzer()
getBenutzer
in class MyTISMBenachrichtigungsAuftragBase
public void addBenutzer(Benutzer ben)
addBenutzer
in class MyTISMBenachrichtigungsAuftragBase
public void removeBenutzer(Benutzer ben)
removeBenutzer
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Map<java.lang.Long,Gruppe> getGruppen()
getGruppen
in class MyTISMBenachrichtigungsAuftragBase
public void addGruppe(Gruppe ben)
addGruppe
in class MyTISMBenachrichtigungsAuftragBase
public void removeGruppe(Gruppe ben)
removeGruppe
in class MyTISMBenachrichtigungsAuftragBase
public void addEmpfaenger(CoreBO bo)
addEmpfaenger
in class MyTISMBenachrichtigungsAuftragBase
public void addEmpfaengerBCC(CoreBO bo)
addEmpfaengerBCC
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Map<java.lang.Long,CoreBO> getAlleEmpfaenger()
public boolean isBCC(NotificationReceiverI nr)
public java.util.Map<java.lang.Long,NotificationReceiverI> getEmpfaengerResolved()
public java.util.Map<java.lang.Long,NotificationReceiverI> getEmpfaengerBCCResolved()
public static java.util.Map<java.lang.Long,NotificationReceiverI> getEmpfaengerResolvedStatic(java.util.Collection<? extends NotifiableI> empfaenger)
public static java.util.Map<java.lang.Long,NotificationReceiverI> getEmpfaengerResolvedStatic(java.util.Collection<? extends NotifiableI> empfaenger, java.util.Set withoutEmpfaenger)
public java.util.Map<java.lang.Long,NotifiableI> getEmpfaengerAdressen()
getEmpfaengerAdressen
in class MyTISMBenachrichtigungsAuftragBase
withoutAdrs
- a Set to which, when not null, will be added all
Empfaenger entries that had no MyTISMAdresse available.public java.util.Map<java.lang.Long,NotifiableI> getEmpfaengerAdressen(java.util.Set withoutAdrs)
public static java.util.Map<java.lang.Long,NotifiableI> getEmpfaengerAdressenStatic(java.util.Collection<NotifiableI> empfaenger)
public static java.util.Map<java.lang.Long,NotifiableI> getEmpfaengerAdressenStatic(java.util.Collection<NotifiableI> empfaenger, java.util.Set withoutAdrs)
public java.util.Map<java.lang.Long,Benachrichtigungsversendung> getVersendungenErfolgreich()
getVersendungenErfolgreich
in class MyTISMBenachrichtigungsAuftragBase
public java.util.Map<java.lang.Long,Benachrichtigungsversendung> getVersendungenMitFehler()
getVersendungenMitFehler
in class MyTISMBenachrichtigungsAuftragBase
public boolean shouldBeHandled(java.lang.String msg)
public boolean isOutdated(int maxAgeInDays)
maxAgeInDays
- int maximum age of this notification request, given in days. If the value is zero or negative, the request will never be outdated.d
- Date to compare against, set to the current Date by default. For usage in tests and debugging.public boolean isOutdated(int maxAgeInDays, java.util.Date d)
@Deprecated public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs, L10nLocale locale)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs, L10nLocale locale, java.lang.Integer priority)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption, int wantsSignature)
public static MyTISMBenachrichtigungsAuftrag getInstance(MyTISMBenachrichtigungsAuftrag benAuftrag, Transaction tx, CoreBO sender, java.util.Collection recipients, java.util.Collection recipientsBCC, java.util.Map contextObjects, java.util.Map attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption, int wantsSignature, java.lang.String encoding)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs, L10nLocale locale)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs, L10nLocale locale, java.lang.Integer priority)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption, int wantsSignature)
public static MyTISMBenachrichtigungsAuftrag of(MyTISMBenachrichtigungsAuftrag ba, Transaction tx, java.util.Collection<? extends NotifiableI> recipients, CoreBO sender, java.util.Collection<? extends NotifiableI> recipientsBCC, java.util.Collection<? extends CoreBO> replyTos, java.util.Map<java.lang.String,? extends java.lang.Object> contextObjects, java.util.Map<java.lang.String,? extends NotificationAttachmentI> attachmentBOs, L10nLocale locale, java.lang.Integer priority, int wantsEncryption, int wantsSignature, java.lang.String encoding)
public java.util.Date getFehlgeschlageneVersendungenErneutVersuchenAm()
MyTISMBenachrichtigungsAuftrag
should be tried again.
If Erledigt
is true or no entry in Benachrichtigungen
with
a Versendungen
which was not Erfolgreich
exists,
this will return null.
Otherwise it will return the Crea
of the oldest
Benachrichtigungsversendung
that was not successful.getFehlgeschlageneVersendungenErneutVersuchenAm
in class MyTISMBenachrichtigungsAuftragBase
assumeNow
- only for the unit tests; if null (the default) the current date and time will be used as
normally shouldpublic java.util.Date getFehlgeschlageneVersendungenErneutVersuchenAm(java.util.Date assumeNow)
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.