public abstract class GeneratedStreamConfiguration extends GenericItem
StreamConfiguration.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVE
Qualifier of the
StreamConfiguration.active attribute |
static java.lang.String |
CONTAINER
Qualifier of the
StreamConfiguration.container attribute |
protected static BidirectionalOneToManyHandler<GeneratedStreamConfiguration> |
CONTAINERHANDLER
BidirectionalOneToManyHandler for handling 1:n CONTAINER's relation attributes from 'one' side. |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
EXCLUDEDTYPES
Qualifier of the
StreamConfiguration.excludedTypes attribute |
static java.lang.String |
INFOEXPRESSION
Qualifier of the
StreamConfiguration.infoExpression attribute |
static java.lang.String |
ITEMTYPEFORSTREAM
Qualifier of the
StreamConfiguration.itemTypeForStream attribute |
protected static java.lang.String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
Relation disable markmodifed parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
|
protected static java.lang.String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
Relation ordering override parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
|
protected static java.lang.String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED |
static java.lang.String |
STREAMID
Qualifier of the
StreamConfiguration.streamId attribute |
static java.lang.String |
VERSIONSELECTCLAUSE
Qualifier of the
StreamConfiguration.versionSelectClause attribute |
static java.lang.String |
WHERECLAUSE
Qualifier of the
StreamConfiguration.whereClause attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedStreamConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToExcludedTypes(ComposedType value)
Generated method - Adds
value to excludedTypes. |
void |
addToExcludedTypes(SessionContext ctx,
ComposedType value)
Generated method - Adds
value to excludedTypes. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
StreamConfigurationContainer |
getContainer()
Generated method - Getter of the
StreamConfiguration.container attribute. |
StreamConfigurationContainer |
getContainer(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.container attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.Set<ComposedType> |
getExcludedTypes()
Generated method - Getter of the
StreamConfiguration.excludedTypes attribute. |
java.util.Set<ComposedType> |
getExcludedTypes(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.excludedTypes attribute. |
long |
getExcludedTypesCount() |
long |
getExcludedTypesCount(SessionContext ctx) |
java.lang.String |
getInfoExpression()
Generated method - Getter of the
StreamConfiguration.infoExpression attribute. |
java.lang.String |
getInfoExpression(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.infoExpression attribute. |
ComposedType |
getItemTypeForStream()
Generated method - Getter of the
StreamConfiguration.itemTypeForStream attribute. |
ComposedType |
getItemTypeForStream(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.itemTypeForStream attribute. |
java.lang.String |
getStreamId()
Generated method - Getter of the
StreamConfiguration.streamId attribute. |
java.lang.String |
getStreamId(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.streamId attribute. |
java.lang.String |
getVersionSelectClause()
Generated method - Getter of the
StreamConfiguration.versionSelectClause attribute. |
java.lang.String |
getVersionSelectClause(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.versionSelectClause attribute. |
java.lang.String |
getWhereClause()
Generated method - Getter of the
StreamConfiguration.whereClause attribute. |
java.lang.String |
getWhereClause(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.whereClause attribute. |
java.lang.Boolean |
isActive()
Generated method - Getter of the
StreamConfiguration.active attribute. |
java.lang.Boolean |
isActive(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.active attribute. |
boolean |
isActiveAsPrimitive()
Generated method - Getter of the
StreamConfiguration.active attribute. |
boolean |
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.active attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromExcludedTypes(ComposedType value)
Generated method - Removes
value from excludedTypes. |
void |
removeFromExcludedTypes(SessionContext ctx,
ComposedType value)
Generated method - Removes
value from excludedTypes. |
void |
setActive(boolean value)
Generated method - Setter of the
StreamConfiguration.active attribute. |
void |
setActive(java.lang.Boolean value)
Generated method - Setter of the
StreamConfiguration.active attribute. |
void |
setActive(SessionContext ctx,
boolean value)
Generated method - Setter of the
StreamConfiguration.active attribute. |
void |
setActive(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
StreamConfiguration.active attribute. |
protected void |
setContainer(SessionContext ctx,
StreamConfigurationContainer value)
Generated method - Setter of the
StreamConfiguration.container attribute. |
protected void |
setContainer(StreamConfigurationContainer value)
Generated method - Setter of the
StreamConfiguration.container attribute. |
void |
setExcludedTypes(SessionContext ctx,
java.util.Set<ComposedType> value)
Generated method - Setter of the
StreamConfiguration.excludedTypes attribute. |
void |
setExcludedTypes(java.util.Set<ComposedType> value)
Generated method - Setter of the
StreamConfiguration.excludedTypes attribute. |
void |
setInfoExpression(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StreamConfiguration.infoExpression attribute. |
void |
setInfoExpression(java.lang.String value)
Generated method - Setter of the
StreamConfiguration.infoExpression attribute. |
void |
setItemTypeForStream(ComposedType value)
Generated method - Setter of the
StreamConfiguration.itemTypeForStream attribute. |
void |
setItemTypeForStream(SessionContext ctx,
ComposedType value)
Generated method - Setter of the
StreamConfiguration.itemTypeForStream attribute. |
protected void |
setStreamId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StreamConfiguration.streamId attribute. |
protected void |
setStreamId(java.lang.String value)
Generated method - Setter of the
StreamConfiguration.streamId attribute. |
void |
setVersionSelectClause(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StreamConfiguration.versionSelectClause attribute. |
void |
setVersionSelectClause(java.lang.String value)
Generated method - Setter of the
StreamConfiguration.versionSelectClause attribute. |
void |
setWhereClause(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
StreamConfiguration.whereClause attribute. |
void |
setWhereClause(java.lang.String value)
Generated method - Setter of the
StreamConfiguration.whereClause attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacesetTenantpublic static final java.lang.String STREAMID
StreamConfiguration.streamId attributepublic static final java.lang.String ITEMTYPEFORSTREAM
StreamConfiguration.itemTypeForStream attributepublic static final java.lang.String WHERECLAUSE
StreamConfiguration.whereClause attributepublic static final java.lang.String VERSIONSELECTCLAUSE
StreamConfiguration.versionSelectClause attributepublic static final java.lang.String ACTIVE
StreamConfiguration.active attributepublic static final java.lang.String INFOEXPRESSION
StreamConfiguration.infoExpression attributepublic static final java.lang.String CONTAINER
StreamConfiguration.container attributepublic static final java.lang.String EXCLUDEDTYPES
StreamConfiguration.excludedTypes attributeprotected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
protected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED
protected static java.lang.String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedStreamConfiguration> CONTAINERHANDLER
BidirectionalOneToManyHandler for handling 1:n CONTAINER's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.Boolean isActive(SessionContext ctx)
StreamConfiguration.active attribute.public java.lang.Boolean isActive()
StreamConfiguration.active attribute.public boolean isActiveAsPrimitive(SessionContext ctx)
StreamConfiguration.active attribute.public boolean isActiveAsPrimitive()
StreamConfiguration.active attribute.public void setActive(SessionContext ctx, java.lang.Boolean value)
StreamConfiguration.active attribute.value - the activepublic void setActive(java.lang.Boolean value)
StreamConfiguration.active attribute.value - the activepublic void setActive(SessionContext ctx, boolean value)
StreamConfiguration.active attribute.value - the activepublic void setActive(boolean value)
StreamConfiguration.active attribute.value - the activepublic StreamConfigurationContainer getContainer(SessionContext ctx)
StreamConfiguration.container attribute.public StreamConfigurationContainer getContainer()
StreamConfiguration.container attribute.protected void setContainer(SessionContext ctx, StreamConfigurationContainer value)
StreamConfiguration.container attribute.value - the containerprotected void setContainer(StreamConfigurationContainer value)
StreamConfiguration.container attribute.value - the containerprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic java.util.Set<ComposedType> getExcludedTypes(SessionContext ctx)
StreamConfiguration.excludedTypes attribute.public java.util.Set<ComposedType> getExcludedTypes()
StreamConfiguration.excludedTypes attribute.public long getExcludedTypesCount(SessionContext ctx)
public long getExcludedTypesCount()
public void setExcludedTypes(SessionContext ctx, java.util.Set<ComposedType> value)
StreamConfiguration.excludedTypes attribute.value - the excludedTypespublic void setExcludedTypes(java.util.Set<ComposedType> value)
StreamConfiguration.excludedTypes attribute.value - the excludedTypespublic void addToExcludedTypes(SessionContext ctx, ComposedType value)
value to excludedTypes.value - the item to add to excludedTypespublic void addToExcludedTypes(ComposedType value)
value to excludedTypes.value - the item to add to excludedTypespublic void removeFromExcludedTypes(SessionContext ctx, ComposedType value)
value from excludedTypes.value - the item to remove from excludedTypespublic void removeFromExcludedTypes(ComposedType value)
value from excludedTypes.value - the item to remove from excludedTypespublic java.lang.String getInfoExpression(SessionContext ctx)
StreamConfiguration.infoExpression attribute.public java.lang.String getInfoExpression()
StreamConfiguration.infoExpression attribute.public void setInfoExpression(SessionContext ctx, java.lang.String value)
StreamConfiguration.infoExpression attribute.value - the infoExpressionpublic void setInfoExpression(java.lang.String value)
StreamConfiguration.infoExpression attribute.value - the infoExpressionpublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic ComposedType getItemTypeForStream(SessionContext ctx)
StreamConfiguration.itemTypeForStream attribute.public ComposedType getItemTypeForStream()
StreamConfiguration.itemTypeForStream attribute.public void setItemTypeForStream(SessionContext ctx, ComposedType value)
StreamConfiguration.itemTypeForStream attribute.value - the itemTypeForStreampublic void setItemTypeForStream(ComposedType value)
StreamConfiguration.itemTypeForStream attribute.value - the itemTypeForStreampublic java.lang.String getStreamId(SessionContext ctx)
StreamConfiguration.streamId attribute.public java.lang.String getStreamId()
StreamConfiguration.streamId attribute.protected void setStreamId(SessionContext ctx, java.lang.String value)
StreamConfiguration.streamId attribute.value - the streamIdprotected void setStreamId(java.lang.String value)
StreamConfiguration.streamId attribute.value - the streamIdpublic java.lang.String getVersionSelectClause(SessionContext ctx)
StreamConfiguration.versionSelectClause attribute.public java.lang.String getVersionSelectClause()
StreamConfiguration.versionSelectClause attribute.public void setVersionSelectClause(SessionContext ctx, java.lang.String value)
StreamConfiguration.versionSelectClause attribute.value - the versionSelectClausepublic void setVersionSelectClause(java.lang.String value)
StreamConfiguration.versionSelectClause attribute.value - the versionSelectClausepublic java.lang.String getWhereClause(SessionContext ctx)
StreamConfiguration.whereClause attribute.public java.lang.String getWhereClause()
StreamConfiguration.whereClause attribute.public void setWhereClause(SessionContext ctx, java.lang.String value)
StreamConfiguration.whereClause attribute.value - the whereClausepublic void setWhereClause(java.lang.String value)
StreamConfiguration.whereClause attribute.value - the whereClauseCopyright © 2018 SAP SE. All Rights Reserved.