-
- 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,java.io.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
Fields Modifier and Type Field Description static java.lang.StringAN_BUNDLEIDattribute name for database column 'bundle_id'.static java.lang.StringAN_KEYattribute name for database column 'bkey'.static java.lang.StringAN_VALUEattribute name for database column 'bvalue'.static java.lang.StringRN_BUNDLErelation name for 'StoredBundle bundle via bundleId (Bundle)'.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StoredBundlegetBundle()Gets StoredBundle bundle via bundleId (Bundle).longgetBundleId()Gets the attribute bundleId.java.lang.StringgetKey()Gets the attribute key.java.lang.StringgetValue()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).voidsetKey(java.lang.String key)Sets the attribute key.voidsetValue(java.lang.String value)Sets the attribute value.-
Methods inherited from interface org.tentackle.pdo.DomainContextDependable
createValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContext, setDomainContextImmutable
-
Methods inherited from interface org.tentackle.misc.Immutable
getImmutableLoggingLevel, isFinallyImmutable, isImmutable, setFinallyImmutable, setImmutable, setImmutableLoggingLevel
-
Methods inherited from interface org.tentackle.pdo.PersistentObject
attributesModified, containsPattern, delete, differsPersisted, findDuplicate, getCache, getCacheAccessCount, getCacheAccessTime, getClassBaseName, getClassId, getEditedBy, getEditedExpiry, getEditedSince, getExpiredTableSerials, getId, getModificationCount, getNormText, getRootClassId, getRootId, getSecurityResult, getSerial, getTableName, getTableSerial, getTokenLockObject, getTokenLockTimeout, isAbstract, isCacheable, isCached, isComposite, isDeleted, isEditAllowed, 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, requestTokenLock, reserveId, reserveId, save, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllIdSerial, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectCached, selectCachedOnly, selectExpiredTableSerials, selectExpiredTableSerials, selectForCache, selectForUpdate, selectMaxId, selectMaxTableSerial, selectSerial, setExpired, toIdString, transferTokenLock, validate
-
Methods inherited from interface org.tentackle.session.SessionDependable
isSessionImmutable, setSession, setSessionImmutable
-
-
-
-
Field Detail
-
RN_BUNDLE
static final java.lang.String RN_BUNDLE
relation name for 'StoredBundle bundle via bundleId (Bundle)'.- See Also:
- Constant Field Values
-
AN_BUNDLEID
static final java.lang.String AN_BUNDLEID
attribute name for database column 'bundle_id'.- See Also:
- Constant Field Values
-
AN_KEY
static final java.lang.String AN_KEY
attribute name for database column 'bkey'.- See Also:
- Constant Field Values
-
AN_VALUE
static final java.lang.String AN_VALUE
attribute name for database column 'bvalue'.- See Also:
- Constant Field Values
-
-
Method Detail
-
getBundleId
@Persistent(ordinal=0, comment="the bundle id") long getBundleId()Gets the attribute bundleId.- Returns:
- the bundle id
-
getKey
@Persistent(ordinal=1, comment="the resource bundle key") @NotNull java.lang.String getKey()Gets the attribute key.- Returns:
- the resource bundle key
-
setKey
void setKey(java.lang.String key)
Sets the attribute key.- Parameters:
key- the resource bundle key
-
getValue
@Persistent(ordinal=2, comment="the localized string") @NotNull java.lang.String getValue()Gets the attribute value.- Returns:
- the localized string
-
setValue
void setValue(java.lang.String value)
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
void setBundle(StoredBundle bundle)
Sets StoredBundle bundle via bundleId (Bundle).- Parameters:
bundle- Bundle
-
selectByBundleId
org.tentackle.misc.TrackedList<StoredBundleKey> selectByBundleId(long bundleId)
Selects composite list of StoredBundleKey keys via StoredBundleKey#bundleId (Keys).- Parameters:
bundleId- the bundle id- Returns:
- Keys
-
-