public class Struktur
extends de.ipcon.db.core.StrukturBase
| Modifier and Type | Class and Description |
|---|---|
static class |
Struktur.ClientPrioComparator |
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowAutomatikModification |
static Struktur.ClientPrioComparator |
clientPrioComparator |
static Struktur[] |
EMPTY_ARRAY |
ATT_Aliase, ATT_AlleAliase, ATT_AsStrukturInIssueReports, ATT_Codebausteine, ATT_Dateiname, ATT_Elter, ATT_ElterFilter, ATT_ElterPfad, ATT_Farbe, ATT_IstAutomatik, ATT_Lesezugriffe, ATT_Position, ATT_ResolvedName, ATT_SichtbarFuerGruppen, ATT_SichtbarFuerGruppenHatEintraege, ATT_Sichtbarkeitsskript, ATT_Tid, ENT_StrukturATT_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, 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 |
|---|
Struktur() |
| Modifier and Type | Method and Description |
|---|---|
void |
action_autoSetDateiname() |
void |
action_autoSetTID() |
boolean |
action_export_legacy(BasicClientContextI ctx) |
boolean |
action_import_legacy(BasicClientContextI ctx) |
void |
adaptForCaching() |
void |
afterVerifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
boolean |
cancelCheckConstraints()
This method is used to determine if certain constraint-checks may be skipped.
|
void |
checkFSExportPrerequisites() |
java.util.List |
collectChildren() |
java.util.List |
collectChildren(java.lang.Class<? extends Struktur> _clazz) |
java.util.List |
collectChildren(java.lang.Class<? extends Struktur> _clazz,
boolean _includeAliases) |
java.util.List |
collectChildren(java.lang.Class<? extends Struktur> _clazz,
boolean _includeAliases,
boolean _includeDeleted) |
electric.xml.Document |
cookParameter(CodebausteinStorageI _cbs)
Replace l10n variables and make an
electric.xml.Element out of the _parms string. |
electric.xml.Document |
cookParameter(CodebausteinStorageI _cbs,
java.lang.Object[] _l10nPaths) |
electric.xml.Document |
cookParameter(CodebausteinStorageI _cbs,
java.lang.Object[] _l10nPaths,
java.lang.String _parms) |
BO |
createCopy()
Creates a copy of this
BO. |
BO |
createCopy(Transaction tx) |
java.lang.String |
createFilename() |
static java.lang.String |
createFilename(java.lang.String _ep,
java.lang.String _rn) |
java.lang.String |
createTID() |
void |
delete()
Recursively marks this and any BOIs in dependent many-relations as (soft) deleted.
|
static void |
deleteOrphanedStrukturElemente(Transaction _tx,
java.lang.Class<? extends Struktur> _clazz,
java.lang.String _liveIDs)
Deletes orphaned Struktur instances.
|
void |
exportTo(FilesystemObject fso) |
void |
exportToImpl(FilesystemObject fso,
EntityI ent,
electric.xml.Element root) |
java.util.Map<java.lang.Long,Alias> |
getAlleAliase()
Returns map contains all aliases pointing to THIS.
|
java.util.Map<java.lang.Long,Alias> |
getAlleAliase(java.util.HashMap<java.lang.Long,Alias> rechash) |
java.util.Map<java.lang.Long,IssueReport> |
getAsStrukturInIssueReports() |
static Benannt |
getBenanntByElterPfad(java.lang.String _elterPfad,
Transaction _tx) |
static Benannt |
getBenanntByElterPfad(java.lang.String _elterPfad,
Transaction _tx,
boolean _allowAutomatikParent) |
SolsticeCacheElement |
getCacheElement() |
java.util.Map<java.lang.Long,Codebaustein> |
getCodebausteine() |
AbstractScript |
getCompiledSichtbarkeitsskript() |
electric.xml.Document |
getCookedParameter(CodebausteinStorageI cbs,
StrukturParameterDefaultApplierI da,
java.lang.Object[] l10nPaths) |
java.lang.String |
getElterFilter()
The clause returned by this method is used as a selection filter for the GUI (basically the WHERE part in
"select from Benannt where
|
java.util.List |
getElterNodes() |
java.util.List |
getElterNodes(java.util.List path) |
java.util.List |
getElterNodes(java.util.List path,
java.util.Set recurs) |
java.lang.String |
getElterPfad() |
EntityStrukturTemplate |
getFittingEST() |
java.lang.String |
getFQName()
Returns the FQName of the current element Struktur
|
java.lang.String |
getMeinPfad() |
java.lang.String |
getMeinPfad(java.util.Set recurs) |
PairStorage |
getPairStorage(electric.xml.Element _el)
Creates and returns an PairStorage out of the info from Element _el.
|
static java.lang.String |
getParameter(ParameterizedStrukturI _ps)
Helper method to avoid common code for ParameterizedStrukturI instances.
|
java.util.Map |
getRelationsForDateiSystemSync() |
java.util.Map |
getRelationsForDateiSystemSyncCache() |
java.lang.String |
getResolvedL10nName() |
java.lang.String |
getResolvedName()
Returns the "visible" name of the Struktur with all required processing
already done; mainly interesting for Aliase.
|
java.lang.String |
getResolvedNameNN() |
java.util.ArrayList |
getSelfAndAllAliases() |
java.util.ArrayList |
getSelfAndAllAliases(boolean _includingDeleted) |
boolean |
hasChild(java.util.HashSet _set,
BOLoaderI _bol)
returns true if the current Struktur is Elter of a Struktur-element with an Id being part
of the passed HashSet or if it has in fact one of those Ids
|
boolean |
hasElter(java.lang.Long _id)
Returns true if the current Struktur is a child of the BO with the given
_id (or this Struktur itself has the Id _id).
|
void |
importFrom(FilesystemObject fso,
java.util.Map<java.lang.String,Benannt> mapElterCache,
UnresolvedReferencesResolver urr) |
void |
importFromXML(EntityI ent,
electric.xml.Element root,
java.util.Map<java.lang.String,Benannt> mapElterCache,
UnresolvedReferencesResolver urr,
boolean asAutomatik,
boolean keepValueIfXMLNotFound,
boolean allowAutomatikParent) |
static void |
initEnvironment(Transaction _tx,
UnresolvedReferencesResolver _urr,
boolean _authoritative,
java.lang.String _ext,
java.lang.Class _clazz)
Called from the subclasses.
|
boolean |
isDescendantOf(Benannt _ben)
Returns true if this Struktur is a descendant of (or the same as) the
Benannt _ben, false otherwise.
|
static boolean |
isDescendantOf(java.util.Set _knownIds,
Benannt _ben)
Returns true if Benannt _ben is a descendant of (or the same as) one of the
Benannts with ids from _knownIds.
|
static boolean |
isDescendantOf(java.util.Set _knownIds,
Benannt _ben,
boolean _deletedCanNotBeDescendants) |
static boolean |
isDescendantOf(java.util.Set _knownIds,
Benannt _ben,
boolean _deletedCanNotBeDescendants,
java.util.Set _parentIds) |
boolean |
isLazy() |
boolean |
isMandatory(AttributeI a)
Tells if the passed
AttributeI is mandatory in the context of this BO
(for the UI and access via the schema). |
boolean |
isPartOfUserEditArea(Benutzer user) |
boolean |
isReadOnly(AttributeI _attr)
Tells if the passed
AttributeI is read-only in the context of this BO
(for the UI and access via the schema). |
boolean |
istRootOrAutomatik() |
boolean |
isXMLValid(java.lang.String s) |
void |
lazy() |
void |
lazyImpl() |
static java.lang.String[] |
loadResourceIndex(java.lang.String _path,
java.lang.Class _clazz,
java.lang.String _ext)
Reads all lines from the text resource _path and returns them as String
array.
|
static electric.xml.Document |
loadXMLDocumentFromResource(java.lang.String _name,
java.lang.Class _clazz) |
static electric.xml.Document |
loadXMLDocumentFromResource(java.lang.String _name,
java.lang.Class _clazz,
java.lang.String _botname) |
void |
outputIntoElement(electric.xml.Element root) |
void |
outputIntoElement(electric.xml.Element root,
boolean _withBotName) |
void |
readExternal(java.io.ObjectInput s)
For better transfer performance, the serialization is done via Externalizable interface.
|
void |
setCacheElement(SolsticeCacheElement $43) |
void |
setCodebausteine(java.util.Map<java.lang.Long,Codebaustein> $42) |
void |
setElter(Benannt elter) |
void |
setElterPfad(java.lang.String parentPath) |
void |
setElterPfad(java.lang.String parentPath,
java.util.Map mapElterCache) |
void |
setElterPfad(java.lang.String parentPath,
java.util.Map mapElterCache,
boolean allowAutomatikParent) |
void |
setName(java.lang.String name) |
void |
setSichtbarkeitsskript(java.lang.String _script) |
void |
unlazy() |
void |
unlazyAutomatik() |
void |
unlazyImpl(BO bo) |
void |
verifyOnClient(BasicClientContextI _ctx) |
void |
verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx) |
void |
writeExternal(java.io.ObjectOutput s)
For better transfer performance, the serialization is done via Externalizable interface.
|
addAlias, addLesezugriffe, addSichtbarFuerGruppe, copyFrom, copyFrom, equalPayload, getAliase, getAliaseIterator, getAlleAliaseIterator, getAsStrukturInIssueReportsIterator, getCodebausteineIterator, getDateiname, getDateinameNE, getDateinameNN, getDateinameNN, getElter, getElterFilterNE, getElterFilterNN, getElterFilterNN, getElterPfadNE, getElterPfadNN, getElterPfadNN, getFarbe, getFarbeNE, getFarbeNN, getFarbeNN, getIstAutomatik, getIstAutomatikNN, getIstAutomatikNN, getLesezugriffe, getLesezugriffeIterator, getPosition, getPositionNN, getPositionNN, getResolvedNameNE, getResolvedNameNN, getSichtbarFuerGruppen, getSichtbarFuerGruppenHatEintraege, getSichtbarFuerGruppenHatEintraegeNN, getSichtbarFuerGruppenHatEintraegeNN, getSichtbarFuerGruppenIterator, getSichtbarkeitsskript, getSichtbarkeitsskriptNE, getSichtbarkeitsskriptNN, getSichtbarkeitsskriptNN, getTid, getTidNE, getTidNN, getTidNN, istIstAutomatik, istSichtbarFuerGruppenHatEintraege, needDateiname, needElter, needElterFilter, needElterPfad, needFarbe, needIstAutomatik, needPopulatedAliase, needPopulatedAlleAliase, needPopulatedAsStrukturInIssueReports, needPopulatedCodebausteine, needPopulatedLesezugriffe, needPopulatedSichtbarFuerGruppen, needPosition, needResolvedName, needSichtbarFuerGruppenHatEintraege, needSichtbarkeitsskript, needTid, pgetAliaseLazy, pgetLesezugriffeLazy, pgetSichtbarFuerGruppenLazy, removeAlias, removeLesezugriffe, removeSichtbarFuerGruppe, setAliase, setBOLoader, setDateiname, setFarbe, setIstAutomatik, setLesezugriffe, setPosition, setSichtbarFuerGruppen, setSichtbarFuerGruppenHatEintraege, setTid, slim, slimcompareTo, createTID, createTID, getL10nBeschreibung, getL10nName, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiBenanntRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsMultiRelation, inputAsRelation, inputAsRelation, inputAsRelation, inputAsRelation, outputAsBenanntRelation, outputAsBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiBenanntRelation, outputAsMultiRelation, outputAsMultiRelation, outputAsRelation, outputAsRelation, outputAsRelation, outputBOTName, 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, setKinderRefsaddAlsAntwortAnBeiAuftrag, 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, cancelRecalc, cancelRecalcViaLoadingTransaction, clone, commitTransaction, computeTransientPropertyIfAbsent, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, conciseDesc, consumeAndAssureTransientPropertyExists, copyBLOBFrom, deepClone, deepClone, 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, 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, wrapIfGroovygetCrea, getLdel, getLmod, isDeleted, isLdel, setCrea, setLdel, setLdel, setLmodgetInstanceSpecificLocale, getInstanceSpecificPaths, l10n, l10n, l10n, l10n, l10n, l10n, l10nbumpVersion, consumeAndAssureTransientPropertyExists, contains, 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, 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 final Struktur.ClientPrioComparator clientPrioComparator
public static final Struktur[] EMPTY_ARRAY
public transient boolean allowAutomatikModification
public static void initEnvironment(Transaction _tx, UnresolvedReferencesResolver _urr, boolean _authoritative, java.lang.String _ext, java.lang.Class _clazz)
public static Benannt getBenanntByElterPfad(java.lang.String _elterPfad, Transaction _tx)
public static Benannt getBenanntByElterPfad(java.lang.String _elterPfad, Transaction _tx, boolean _allowAutomatikParent)
public static void deleteOrphanedStrukturElemente(Transaction _tx, java.lang.Class<? extends Struktur> _clazz, java.lang.String _liveIDs)
public static electric.xml.Document loadXMLDocumentFromResource(java.lang.String _name,
java.lang.Class _clazz)
public static electric.xml.Document loadXMLDocumentFromResource(java.lang.String _name,
java.lang.Class _clazz,
java.lang.String _botname)
public static java.lang.String getParameter(ParameterizedStrukturI _ps)
public static java.lang.String createFilename(java.lang.String _ep,
java.lang.String _rn)
public static boolean isDescendantOf(java.util.Set _knownIds,
Benannt _ben)
public static boolean isDescendantOf(java.util.Set _knownIds,
Benannt _ben,
boolean _deletedCanNotBeDescendants)
public static boolean isDescendantOf(java.util.Set _knownIds,
Benannt _ben,
boolean _deletedCanNotBeDescendants,
java.util.Set _parentIds)
public static java.lang.String[] loadResourceIndex(java.lang.String _path,
java.lang.Class _clazz,
java.lang.String _ext)
throws java.io.IOException,
java.io.UnsupportedEncodingException
java.io.IOExceptionjava.io.UnsupportedEncodingExceptionpublic void verifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx)
throws SaveVetoException
verifyOnServer in interface SaveVetoIverifyOnServer in class BOSaveVetoExceptionpublic void afterVerifyOnServer(java.lang.Long nodeNumber,
Benutzer user,
Transaction tx)
throws SaveVetoException
afterVerifyOnServer in interface SaveAwareIafterVerifyOnServer in class BOSaveVetoExceptionpublic void verifyOnClient(BasicClientContextI _ctx)
verifyOnClient in interface SaveVetoIverifyOnClient in class BOpublic boolean isReadOnly(AttributeI _attr)
BOAttributeI is read-only in the context of this BO
(for the UI and access via the schema).
Please note that the schema-defined, not BO-related read-onlies are taken into account here as well,
i.e. the method will return false if a virtual 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.
isReadOnly in interface BOIisReadOnly in class BOAttributeI is read-only in the context of this BOpublic boolean isMandatory(AttributeI a)
BOAttributeI 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 BOIisMandatory in class BOAttributeI is mandatory in the context of this BOpublic void delete()
BOIpublic java.util.Map<java.lang.Long,Codebaustein> getCodebausteine()
getCodebausteine in class de.ipcon.db.core.StrukturBasepublic void setSichtbarkeitsskript(java.lang.String _script)
setSichtbarkeitsskript in class de.ipcon.db.core.StrukturBasepublic AbstractScript getCompiledSichtbarkeitsskript()
public boolean isXMLValid(java.lang.String s)
public void checkFSExportPrerequisites()
public void setName(java.lang.String name)
setName in class de.ipcon.db.core.BenanntBasepublic void setElter(Benannt elter)
setElter in class de.ipcon.db.core.StrukturBasepublic java.lang.String getFQName()
public boolean action_export_legacy(BasicClientContextI ctx)
public boolean action_import_legacy(BasicClientContextI ctx)
public java.util.Map getRelationsForDateiSystemSyncCache()
public java.util.Map getRelationsForDateiSystemSync()
public void exportTo(FilesystemObject fso)
public void exportToImpl(FilesystemObject fso, EntityI ent, electric.xml.Element root)
public void importFrom(FilesystemObject fso, java.util.Map<java.lang.String,Benannt> mapElterCache, UnresolvedReferencesResolver urr)
public void importFromXML(EntityI ent, electric.xml.Element root, java.util.Map<java.lang.String,Benannt> mapElterCache, UnresolvedReferencesResolver urr, boolean asAutomatik, boolean keepValueIfXMLNotFound, boolean allowAutomatikParent)
public boolean cancelCheckConstraints()
BOCBOAttribute at the moment to skip read-only-checks
in setValue, add/removeRelationObject and clearRelation.cancelCheckConstraints in interface BOIcancelCheckConstraints in class BOpublic void outputIntoElement(electric.xml.Element root)
outputIntoElement in interface XMLExportableIoutputIntoElement in class Benanntpublic void outputIntoElement(electric.xml.Element root,
boolean _withBotName)
outputIntoElement in interface XMLExportableIoutputIntoElement in class Benanntpublic PairStorage getPairStorage(electric.xml.Element _el)
XMLExportableIgetPairStorage in interface XMLExportableIgetPairStorage in class Benanntpublic java.lang.String getElterFilter()
getElterFilter in class de.ipcon.db.core.StrukturBasepublic void setElterPfad(java.lang.String parentPath)
setElterPfad in class de.ipcon.db.core.StrukturBasepublic void setElterPfad(java.lang.String parentPath,
java.util.Map mapElterCache)
public void setElterPfad(java.lang.String parentPath,
java.util.Map mapElterCache,
boolean allowAutomatikParent)
public java.lang.String getElterPfad()
getElterPfad in class de.ipcon.db.core.StrukturBasepublic java.lang.String getMeinPfad()
public java.lang.String getMeinPfad(java.util.Set recurs)
public java.util.List getElterNodes()
public java.util.List getElterNodes(java.util.List path)
public java.util.List getElterNodes(java.util.List path,
java.util.Set recurs)
public boolean hasElter(java.lang.Long _id)
public boolean isDescendantOf(Benannt _ben)
public boolean hasChild(java.util.HashSet _set,
BOLoaderI _bol)
_set - HashSet which contains Ids of Struktur-elements_bol - BOLoaderIpublic boolean isPartOfUserEditArea(Benutzer user)
public java.util.Map<java.lang.Long,Alias> getAlleAliase()
getAlleAliase in class de.ipcon.db.core.StrukturBasepublic java.util.Map<java.lang.Long,Alias> getAlleAliase(java.util.HashMap<java.lang.Long,Alias> rechash)
public java.util.ArrayList getSelfAndAllAliases()
public java.util.ArrayList getSelfAndAllAliases(boolean _includingDeleted)
public void action_autoSetDateiname()
public java.lang.String createFilename()
public void action_autoSetTID()
public java.lang.String createTID()
public void readExternal(java.io.ObjectInput s)
throws java.lang.ClassNotFoundException,
java.io.IOException
BOreadExternal in interface java.io.ExternalizablereadExternal in class de.ipcon.db.core.StrukturBasejava.lang.ClassNotFoundExceptionjava.io.IOExceptionpublic void writeExternal(java.io.ObjectOutput s)
throws java.io.IOException
BOwriteExternal in interface java.io.ExternalizablewriteExternal in class de.ipcon.db.core.StrukturBasejava.io.IOExceptionpublic boolean isLazy()
public void adaptForCaching()
public void lazy()
public void lazyImpl()
public void unlazy()
public void unlazyImpl(BO bo)
public void unlazyAutomatik()
public EntityStrukturTemplate getFittingEST()
public BO createCopy()
BOBO. If a Transaction is
given, the copy will first be included in this TX to record all the copy
operations. Uses copyFrom() to copy the values from this to
the new instance.
CAUTION: *ALL* n-1-reachable objects will be copied as well!
Attention: Does not honour the "omitOnCopy" flag from the schema!createCopy in class BOBOde.ipcon.db.core.BO#copyFrom(),
de.ipcon.db.core.Transaction#includeCopy()public BO createCopy(Transaction tx)
createCopy in class BOpublic java.lang.String getResolvedName()
getResolvedName in class de.ipcon.db.core.StrukturBasepublic java.lang.String getResolvedNameNN()
getResolvedNameNN in class de.ipcon.db.core.StrukturBasepublic java.lang.String getResolvedL10nName()
public java.util.Map<java.lang.Long,IssueReport> getAsStrukturInIssueReports()
getAsStrukturInIssueReports in class de.ipcon.db.core.StrukturBasepublic electric.xml.Document getCookedParameter(CodebausteinStorageI cbs, StrukturParameterDefaultApplierI da, java.lang.Object[] l10nPaths) throws electric.xml.ParseException
electric.xml.ParseExceptionpublic electric.xml.Document cookParameter(CodebausteinStorageI _cbs) throws electric.xml.ParseException
electric.xml.Element out of the _parms string. Internal helper
method to avoid some code redundancy._cbs - a CodebausteinStorageI used to load Codebaustein instances for "Include" directives_l10nPaths - FIXME defaults to null_parms - the parameter string to interpret; if null (the default) and the instance this is called onDocument representing the structured version of the XML text of _parms/getParameter()
with l10n and include replacements doneelectric.xml.ParseExceptionpublic electric.xml.Document cookParameter(CodebausteinStorageI _cbs, java.lang.Object[] _l10nPaths) throws electric.xml.ParseException
electric.xml.ParseExceptionpublic electric.xml.Document cookParameter(CodebausteinStorageI _cbs, java.lang.Object[] _l10nPaths, java.lang.String _parms) throws electric.xml.ParseException
electric.xml.ParseExceptionpublic java.util.List collectChildren()
public java.util.List collectChildren(java.lang.Class<? extends Struktur> _clazz)
public java.util.List collectChildren(java.lang.Class<? extends Struktur> _clazz, boolean _includeAliases)
public java.util.List collectChildren(java.lang.Class<? extends Struktur> _clazz, boolean _includeAliases, boolean _includeDeleted)
public boolean istRootOrAutomatik()
public void setCodebausteine(java.util.Map<java.lang.Long,Codebaustein> $42)
public SolsticeCacheElement getCacheElement()
public void setCacheElement(SolsticeCacheElement $43)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.