- All Superinterfaces:
org.tentackle.pdo.DomainContextDependable,org.tentackle.pdo.DomainContextProvider,org.tentackle.misc.Identifiable,org.tentackle.misc.Immutable,org.tentackle.reflect.Interceptable,org.tentackle.misc.Modifiable,org.tentackle.pdo.PdoProvider<StoredBundleKey>,org.tentackle.pdo.PersistenceDelegate<StoredBundleKey>,org.tentackle.pdo.PersistentObject<StoredBundleKey>,org.tentackle.pdo.ProxyDelegate<StoredBundleKey>,org.tentackle.validate.ScopeConfigurator,Serializable,org.tentackle.misc.SerialNumbered,org.tentackle.session.SessionDependable,org.tentackle.session.SessionProvider,org.tentackle.misc.Snapshotable<StoredBundleKey>,org.tentackle.validate.Validateable
- All Known Subinterfaces:
StoredBundleKey
- All Known Implementing Classes:
StoredBundleKeyPersistenceImpl
public interface StoredBundleKeyPersistence
extends org.tentackle.pdo.PersistentObject<StoredBundleKey>
Persistence interface for stored bundle keys.
- Author:
- harald
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringattribute name for database column 'bundle_id'.static final Stringattribute name for database column 'bkey'.static final Stringattribute name for database column 'bvalue'.static final Stringrelation name for 'StoredBundle bundle via bundleId (Bundle)'. -
Method Summary
Modifier and TypeMethodDescriptionGets StoredBundle bundle via bundleId (Bundle).longGets the attribute bundleId.getKey()Gets the attribute key.getValue()Gets the attribute value.org.tentackle.misc.TrackedList<StoredBundleKey> selectByBundleId(long bundleId) Selects composite list of StoredBundleKey keys via StoredBundleKey#bundleId (Keys).voidsetBundle(StoredBundle bundle) Sets StoredBundle bundle via bundleId (Bundle).voidSets the attribute key.voidSets the attribute value.Methods inherited from interface org.tentackle.pdo.DomainContextDependable
createValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContext, setDomainContextImmutableMethods inherited from interface org.tentackle.pdo.DomainContextProvider
getDomainContext, on, on, op, opMethods inherited from interface org.tentackle.misc.Identifiable
toGenericStringMethods inherited from interface org.tentackle.misc.Immutable
getImmutableLoggingLevel, isFinallyImmutable, isImmutable, setFinallyImmutable, setImmutable, setImmutableLoggingLevelMethods inherited from interface org.tentackle.misc.Modifiable
isModifiedMethods inherited from interface org.tentackle.pdo.PdoProvider
getPdo, on, onMethods inherited from interface org.tentackle.pdo.PersistenceDelegate
getDomainDelegateMethods inherited from interface org.tentackle.pdo.PersistentObject
attributesModified, containsPattern, delete, differsPersisted, findDuplicate, getCache, getCacheAccessCount, getCacheAccessTime, getClassBaseName, getClassId, getEditedBy, getEditedExpiry, getEditedSince, getEmbeddingParent, getExpiredTableSerials, getId, getModificationCount, getNormText, getRootClassId, getRootId, getSecurityResult, getSerial, getTableName, getTableSerial, getTokenLockTimeout, isAbstract, isCacheable, isCached, isComposite, isDeleted, isEditAllowed, isEmbedded, isExpired, isNew, isNormTextProvided, isPermissionAccepted, isPersistable, isReferenced, isRemovable, isRootClassIdProvided, isRootEntity, isRootEntityOf, isRootIdProvided, isTableSerialProvided, isTokenLockableByMe, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isTracked, isValidated, isViewAllowed, isWriteAllowed, loadComponents, markCacheAccess, persist, persistTokenLocked, releaseTokenLock, reload, reloadForUpdate, reloadTokenLocked, requestTokenLock, reserveId, reserveId, save, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllIdSerial, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectCached, selectCachedOnly, selectExpiredTableSerials, selectExpiredTableSerials, selectForCache, selectForUpdate, selectLatest, selectMaxId, selectMaxTableSerial, selectSerial, selectTokenLocked, setExpired, toIdString, transferTokenLock, validateMethods inherited from interface org.tentackle.pdo.ProxyDelegate
meMethods inherited from interface org.tentackle.validate.ScopeConfigurator
getDefaultScopesMethods inherited from interface org.tentackle.misc.SerialNumbered
isVirginMethods inherited from interface org.tentackle.session.SessionDependable
isSessionImmutable, setSession, setSessionImmutableMethods inherited from interface org.tentackle.session.SessionProvider
getSessionMethods inherited from interface org.tentackle.misc.Snapshotable
copy, createSnapshot, discardSnapshot, discardSnapshots, getSnapshots, isCopy, isSnapshot, revertToSnapshot, setCopyMethods inherited from interface org.tentackle.validate.Validateable
validate
-
Field Details
-
RN_BUNDLE
relation name for 'StoredBundle bundle via bundleId (Bundle)'.- See Also:
-
AN_BUNDLEID
attribute name for database column 'bundle_id'.- See Also:
-
AN_KEY
attribute name for database column 'bkey'.- See Also:
-
AN_VALUE
attribute name for database column 'bvalue'.- See Also:
-
-
Method Details
-
getBundleId
@Persistent(ordinal=0, comment="the bundle id") long getBundleId()Gets the attribute bundleId.- Returns:
- the bundle id
-
getKey
Gets the attribute key.- Returns:
- the resource bundle key
-
setKey
Sets the attribute key.- Parameters:
key- the resource bundle key
-
getValue
Gets the attribute value.- Returns:
- the localized string
-
setValue
Sets the attribute value.- Parameters:
value- the localized string
-
getBundle
@Bindable @Persistent(ordinal=0, comment="Bundle", component=false, parent=true) StoredBundle getBundle()Gets StoredBundle bundle via bundleId (Bundle).- Returns:
- bundle Bundle
-
setBundle
Sets StoredBundle bundle via bundleId (Bundle).- Parameters:
bundle- Bundle
-
selectByBundleId
Selects composite list of StoredBundleKey keys via StoredBundleKey#bundleId (Keys).- Parameters:
bundleId- the bundle id- Returns:
- Keys
-