public class BP extends BPBase implements BOProcI
ATT_BO, ATT_BOId, ATT_BOTId, ATT_BT, ATT_Diff, ATT_Diffable, ATT_FormattedDescription, ATT_Modification, ATT_ModificationWithoutBO, ATT_NativeNewValueDescription, ATT_NewValue, ATT_NewValueAsAlphaNumeric, ATT_NewValueAsBO, ATT_NewValueAsBoolean, ATT_NewValueAsDate, ATT_OldTime, ATT_OldValue, ATT_OldValueAsAlphaNumeric, ATT_OldValueAsBO, ATT_OldValueAsBoolean, ATT_OldValueAsDate, ATT_ParmType, ATT_ProcAttr, ATT_ProcType, ATT_ValuesAreAlphaNumeric, ATT_ValuesAreBO, ATT_ValuesAreBoolean, ATT_ValuesAreDate, ENT_BP
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
FLAG_ADD, FLAG_ANY, FLAG_BLOB, FLAG_CHANGE, FLAG_DEL, FLAG_LDEL, FLAG_NEW, FLAG_REM, FLAG_SET, FLAG_ULDEL, MT_ADD, MT_BLOB, MT_DEL, MT_NEW, MT_REM, MT_SET, MT_TO_FLAG, MT_TO_TYPE, MT_TO_UNDO, TYPE_ADD, TYPE_BLOB, TYPE_DEL, TYPE_NEW, TYPE_REM, TYPE_SET
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, ENT_BO
Constructor and Description |
---|
BP() |
Modifier and Type | Method and Description |
---|---|
EntityI |
getAffectedEntity(SchemaI schema)
Returns the EntityI that is affected by this BOProcI.
|
AttributeI |
getAttribute() |
java.lang.String |
getAttributeName() |
BO |
getBO() |
BO |
getBO(BOLoaderI bol)
Returns the BO that this BP affects; if bol is given this one is used to
load the BO from the DB (if necessary), otherwise getBOLoader() is used.
|
java.lang.Class |
getBOClass() |
java.lang.Class |
getBOClass(BOLoaderI loader) |
static BP |
getCreationForBLOBOfBO(BO affectedBO)
Returns the BP that a BLOB the given affectedBO was created in or null if no BP
for the creation of a BLOB in affectedBO was found.
|
static BP |
getCreationForBLOBOfBO(BO affectedBO,
BOLoaderI bol) |
static BP |
getCreationForBO(BO affectedBO)
Returns the BP that the given affectedBO was created in or null if no BP
for the creation of affectedBO was found.
|
static BP |
getCreationForBO(BO affectedBO,
BOLoaderI bol) |
static java.util.Date |
getDate(BP bp)
Returns the user of the given BPs BT or null if no BP was passed.
|
java.lang.String |
getDiff() |
java.lang.String |
getDiff(boolean ignoreWhiteSpace) |
java.lang.String |
getDiff(boolean ignoreWhiteSpace,
int unifiedContent) |
java.lang.Boolean |
getDiffable() |
java.lang.String |
getFormattedDescription() |
java.lang.String |
getModification() |
java.lang.String |
getModification(boolean nobo) |
java.lang.String |
getModification(boolean nobo,
int maxCharsNewValue) |
java.lang.String |
getModificationWithoutBO() |
java.lang.String |
getModificationWithoutBO(int maxCharsNewValue) |
static BP |
getMostRecentBLOBChangeForBO(BO affectedBO)
Returns the most recent BP that affected the given affectedBO or null if no BP
affecting the affectedBO was found.
|
static BP |
getMostRecentBLOBChangeForBO(BO affectedBO,
BOLoaderI bol) |
static BP |
getMostRecentForBO(BO affectedBO)
Returns the most recent BP that affected the given targetBO or null if no BP
affecting the affectedBO was found.
|
static BP |
getMostRecentForBO(BO affectedBO,
BOLoaderI bol) |
java.lang.Object |
getNativeNewValue()
Returns the NewValue as unmarshalled, native value (such as Integer, String, Date or BO)
rather than the marshalled value returned by getNewValue
|
java.lang.Object |
getNativeNewValue(BOLoaderI bol) |
java.lang.String |
getNativeNewValueDescription()
For showing the new value in the GUI, use BO describe for BOs, the text of the value otherwise
|
java.lang.Object |
getNativeOldValue()
Returns the OldValue as unmarshalled, native value (such as Integer, String, Date or BO)
rather than the marshalled value returned by getOldValue
|
java.lang.Object |
getNativeOldValue(BOLoaderI bol) |
java.lang.Object |
getNativeValue(java.lang.String value) |
java.lang.Object |
getNativeValue(java.lang.String value,
boolean nullIfError) |
java.lang.Object |
getNativeValue(java.lang.String value,
boolean nullIfError,
BOLoaderI bol) |
java.lang.String |
getNewValueAsAlphaNumeric() |
BO |
getNewValueAsBO() |
java.lang.Boolean |
getNewValueAsBoolean() |
java.util.Date |
getNewValueAsDate() |
BOProcI |
getNulledOldValueInstance() |
java.lang.String |
getOldValueAsAlphaNumeric() |
BO |
getOldValueAsBO() |
java.lang.Boolean |
getOldValueAsBoolean() |
java.util.Date |
getOldValueAsDate() |
java.lang.Class |
getParmTypeClass() |
java.lang.Class |
getParmTypeClass(BOLoaderI loader) |
java.lang.String |
getProcTypeName() |
BP |
getReverseInstance() |
SchemaI |
getSchema()
Returns SchemaI of this BP, determined via its BOLoaderI or null if there is no BOLoaderI.
|
static Benutzer |
getUser(BP bp)
Returns the user of the given BPs BT or null if no BP was passed.
|
java.lang.Boolean |
getValuesAreAlphaNumeric() |
java.lang.Boolean |
getValuesAreBO() |
java.lang.Boolean |
getValuesAreBoolean() |
java.lang.Boolean |
getValuesAreDate() |
java.lang.Boolean |
getValuesAreOneOf(java.lang.Class[] these) |
void |
setBO(BO boToSet) |
boolean |
setsBooleanToFalse(java.lang.String attrName)
Returns true if this BOProcI represents a change of the value of the attribute
represented by the given attrName to false.
|
boolean |
setsBooleanToFalse(java.lang.String attrName,
boolean alsoIfAttrWasSetToNull)
Returns true if this BOProcI represents a change of the value of the attribute
represented by the given attrName to false.
|
boolean |
setsBooleanToTrue(java.lang.String attrName)
Returns true if this BOProcI represents a change of the value of the attribute
represented by the given attrName to true.
|
java.lang.String |
toString()
Nicer toString() method.
|
void |
warn(java.lang.String msg)
Logs the passed warning message in the logger of this BOProcI.
|
copyFrom, copyFrom, equalPayload, getBOId, getBOIdNN, getBOIdNN, getBOTId, getBOTIdNN, getBOTIdNN, getBT, getDiffableNN, getDiffableNN, getDiffNE, getDiffNN, getDiffNN, getFormattedDescriptionNE, getFormattedDescriptionNN, getFormattedDescriptionNN, getModificationNE, getModificationNN, getModificationNN, getModificationWithoutBONE, getModificationWithoutBONN, getModificationWithoutBONN, getNativeNewValueDescriptionNE, getNativeNewValueDescriptionNN, getNativeNewValueDescriptionNN, getNewValue, getNewValueAsAlphaNumericNE, getNewValueAsAlphaNumericNN, getNewValueAsAlphaNumericNN, getNewValueAsBooleanNN, getNewValueAsBooleanNN, getNewValueNE, getNewValueNN, getNewValueNN, getOldTime, getOldValue, getOldValueAsAlphaNumericNE, getOldValueAsAlphaNumericNN, getOldValueAsAlphaNumericNN, getOldValueAsBooleanNN, getOldValueAsBooleanNN, getOldValueNE, getOldValueNN, getOldValueNN, getParmType, getParmTypeNN, getParmTypeNN, getProcAttr, getProcAttrNE, getProcAttrNN, getProcAttrNN, getProcType, getProcTypeNN, getProcTypeNN, getValuesAreAlphaNumericNN, getValuesAreAlphaNumericNN, getValuesAreBONN, getValuesAreBONN, getValuesAreBooleanNN, getValuesAreBooleanNN, getValuesAreDateNN, getValuesAreDateNN, istDiffable, istNewValueAsBoolean, istOldValueAsBoolean, istValuesAreAlphaNumeric, istValuesAreBO, istValuesAreBoolean, istValuesAreDate, needBO, needBOId, needBOTId, needBT, needDiff, needDiffable, needFormattedDescription, needModification, needModificationWithoutBO, needNativeNewValueDescription, needNewValue, needNewValueAsAlphaNumeric, needNewValueAsBO, needNewValueAsBoolean, needNewValueAsDate, needOldTime, needOldValue, needOldValueAsAlphaNumeric, needOldValueAsBO, needOldValueAsBoolean, needOldValueAsDate, needParmType, needProcAttr, needProcType, needValuesAreAlphaNumeric, needValuesAreBO, needValuesAreBoolean, needValuesAreDate, readExternal, setBOId, setBOLoader, setBOTId, setBT, setNewValue, setOldTime, setOldValue, setParmType, setProcAttr, setProcType, 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, 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, stub, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toMap, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, toRelationMapRO, undelete, verifyOnClient, verifyOnServer, wrapIfGroovy
getCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmod
getInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10n
containsRelevant1toNChangesFor, containsRelevantChangesFor, containsRelevantNto1ChangesFor, containsRelevantNtoMChangesFor, getAffectedIds, getAttribute, getBOId, getNewValue, getOldValue, getProcTypeNN, getRelevantChangesFor, isAddition, isAnyAffectedIdKnownTo, isBLOBChange, isBLOBCreation, isBLOBDeletion, isChange, isChangeTo, isCreation, isDeletion, isDeletionFlagChange, isDependentManyRelationChange, isForbiddenChange, isForbiddenChange, isKeepNoBLOBHistory, isManyRelationChange, isManyToManyChange, isOneToManyChange, isRelationChange, isRelevantRelationalChangeFor, isRelevantRelationalChangeForTE, isRemoval, isSettingValue, isSimpleChange, isUndeletion
contains, getAttribute, getAttribute, getCrea, getEntity, getEntity, isDeleted, isSubEntityOf, isSubEntityOf
collectIds, collectIds, getCommaSeparatedIdList, toMap, toMap
collectDescribe, collectDescribe, conciseDesc, conciseDesc, conciseDesc, conciseDesc, describe, describe, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeAndConciseDesc, describeNE, describeNE, join, join, join, notEmptyDescription
public java.lang.String getProcTypeName()
getProcTypeName
in interface BOProcI
public java.lang.String getAttributeName()
getAttributeName
in interface BOProcI
public void warn(java.lang.String msg)
BOProcI
public BOProcI getNulledOldValueInstance()
getNulledOldValueInstance
in interface BOProcI
public BP getReverseInstance()
public BO getBO()
public BO getBO(BOLoaderI bol)
public java.lang.Class getBOClass()
getBOClass
in interface BOProcI
public java.lang.Class getBOClass(BOLoaderI loader)
public java.lang.Class getParmTypeClass()
getParmTypeClass
in interface BOProcI
public java.lang.Class getParmTypeClass(BOLoaderI loader)
public java.lang.String toString()
public java.lang.String getModificationWithoutBO()
getModificationWithoutBO
in class BPBase
public java.lang.String getModificationWithoutBO(int maxCharsNewValue)
public java.lang.String getModification()
getModification
in class BPBase
public java.lang.String getModification(boolean nobo)
public java.lang.String getModification(boolean nobo, int maxCharsNewValue)
public java.lang.String getFormattedDescription()
getFormattedDescription
in class BPBase
public SchemaI getSchema()
public EntityI getAffectedEntity(SchemaI schema)
BOProcI
getAffectedEntity
in interface BOProcI
public AttributeI getAttribute()
public java.lang.Object getNativeNewValue()
getNativeNewValue
in interface BOProcI
bol
- the BOLoader to load objects with in case this is a relation (will use BOLoader of this BP if omitted)public java.lang.Object getNativeNewValue(BOLoaderI bol)
public java.lang.Object getNativeOldValue()
getNativeOldValue
in interface BOProcI
bol
- the BOLoader to load objects with in case this is a relation (will use BOLoader of this BP if omitted)public java.lang.Object getNativeOldValue(BOLoaderI bol)
public java.lang.Object getNativeValue(java.lang.String value)
public java.lang.Object getNativeValue(java.lang.String value, boolean nullIfError)
public java.lang.Object getNativeValue(java.lang.String value, boolean nullIfError, BOLoaderI bol)
public java.lang.String getNativeNewValueDescription()
getNativeNewValueDescription
in class BPBase
public boolean setsBooleanToTrue(java.lang.String attrName)
BOProcI
setsBooleanToTrue
in interface BOProcI
public boolean setsBooleanToFalse(java.lang.String attrName)
BOProcI
setsBooleanToFalse
in interface BOProcI
public boolean setsBooleanToFalse(java.lang.String attrName, boolean alsoIfAttrWasSetToNull)
BOProcI
setsBooleanToFalse
in interface BOProcI
public java.lang.Boolean getValuesAreAlphaNumeric()
getValuesAreAlphaNumeric
in class BPBase
public java.lang.Boolean getValuesAreDate()
getValuesAreDate
in class BPBase
public java.lang.Boolean getValuesAreBoolean()
getValuesAreBoolean
in class BPBase
public java.lang.Boolean getValuesAreBO()
getValuesAreBO
in class BPBase
public java.lang.Boolean getValuesAreOneOf(java.lang.Class[] these)
public java.lang.String getNewValueAsAlphaNumeric()
getNewValueAsAlphaNumeric
in class BPBase
public java.lang.String getOldValueAsAlphaNumeric()
getOldValueAsAlphaNumeric
in class BPBase
public java.util.Date getNewValueAsDate()
getNewValueAsDate
in class BPBase
public java.util.Date getOldValueAsDate()
getOldValueAsDate
in class BPBase
public java.lang.Boolean getNewValueAsBoolean()
getNewValueAsBoolean
in class BPBase
public java.lang.Boolean getOldValueAsBoolean()
getOldValueAsBoolean
in class BPBase
public BO getNewValueAsBO()
getNewValueAsBO
in class BPBase
public BO getOldValueAsBO()
getOldValueAsBO
in class BPBase
public static Benutzer getUser(BP bp)
public static java.util.Date getDate(BP bp)
public static BP getMostRecentForBO(BO affectedBO)
public static BP getMostRecentBLOBChangeForBO(BO affectedBO)
public static BP getMostRecentBLOBChangeForBO(BO affectedBO, BOLoaderI bol)
public static BP getCreationForBO(BO affectedBO)
public static BP getCreationForBLOBOfBO(BO affectedBO)
public java.lang.Boolean getDiffable()
getDiffable
in class BPBase
public java.lang.String getDiff(boolean ignoreWhiteSpace)
public java.lang.String getDiff(boolean ignoreWhiteSpace, int unifiedContent)
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.