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 String |
ACTIVE
Qualifier of the
StreamConfiguration.active attribute |
static 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 Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
EXCLUDEDTYPES
Qualifier of the
StreamConfiguration.excludedTypes attribute |
static String |
INFOEXPRESSION
Qualifier of the
StreamConfiguration.infoExpression attribute |
static String |
ITEMTYPEFORSTREAM
Qualifier of the
StreamConfiguration.itemTypeForStream attribute |
protected static String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
Relation disable markmodifed parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
|
protected static String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
Relation ordering override parameter constants for StreamConfigurationExcludedSubtypes from ((deltadetection))
|
protected static String |
STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED |
static String |
STREAMID
Qualifier of the
StreamConfiguration.streamId attribute |
static String |
VERSIONSELECTCLAUSE
Qualifier of the
StreamConfiguration.versionSelectClause attribute |
static 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 Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Set<ComposedType> |
getExcludedTypes()
Generated method - Getter of the
StreamConfiguration.excludedTypes attribute. |
Set<ComposedType> |
getExcludedTypes(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.excludedTypes attribute. |
long |
getExcludedTypesCount() |
long |
getExcludedTypesCount(SessionContext ctx) |
String |
getInfoExpression()
Generated method - Getter of the
StreamConfiguration.infoExpression attribute. |
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. |
String |
getStreamId()
Generated method - Getter of the
StreamConfiguration.streamId attribute. |
String |
getStreamId(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.streamId attribute. |
String |
getVersionSelectClause()
Generated method - Getter of the
StreamConfiguration.versionSelectClause attribute. |
String |
getVersionSelectClause(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.versionSelectClause attribute. |
String |
getWhereClause()
Generated method - Getter of the
StreamConfiguration.whereClause attribute. |
String |
getWhereClause(SessionContext ctx)
Generated method - Getter of the
StreamConfiguration.whereClause attribute. |
Boolean |
isActive()
Generated method - Getter of the
StreamConfiguration.active attribute. |
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. |
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(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,
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,
Set<ComposedType> value)
Generated method - Setter of the
StreamConfiguration.excludedTypes attribute. |
void |
setExcludedTypes(Set<ComposedType> value)
Generated method - Setter of the
StreamConfiguration.excludedTypes attribute. |
void |
setInfoExpression(SessionContext ctx,
String value)
Generated method - Setter of the
StreamConfiguration.infoExpression attribute. |
void |
setInfoExpression(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,
String value)
Generated method - Setter of the
StreamConfiguration.streamId attribute. |
protected void |
setStreamId(String value)
Generated method - Setter of the
StreamConfiguration.streamId attribute. |
void |
setVersionSelectClause(SessionContext ctx,
String value)
Generated method - Setter of the
StreamConfiguration.versionSelectClause attribute. |
void |
setVersionSelectClause(String value)
Generated method - Setter of the
StreamConfiguration.versionSelectClause attribute. |
void |
setWhereClause(SessionContext ctx,
String value)
Generated method - Setter of the
StreamConfiguration.whereClause attribute. |
void |
setWhereClause(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, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String STREAMID
StreamConfiguration.streamId attributepublic static final String ITEMTYPEFORSTREAM
StreamConfiguration.itemTypeForStream attributepublic static final String WHERECLAUSE
StreamConfiguration.whereClause attributepublic static final String VERSIONSELECTCLAUSE
StreamConfiguration.versionSelectClause attributepublic static final String ACTIVE
StreamConfiguration.active attributepublic static final String INFOEXPRESSION
StreamConfiguration.infoExpression attributepublic static final String CONTAINER
StreamConfiguration.container attributepublic static final String EXCLUDEDTYPES
StreamConfiguration.excludedTypes attributeprotected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_SRC_ORDERED
protected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_TGT_ORDERED
protected static String STREAMCONFIGURATIONEXCLUDEDSUBTYPES_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedStreamConfiguration> CONTAINERHANDLER
BidirectionalOneToManyHandler for handling 1:n CONTAINER's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic Boolean isActive(SessionContext ctx)
StreamConfiguration.active attribute.public Boolean isActive()
StreamConfiguration.active attribute.public boolean isActiveAsPrimitive(SessionContext ctx)
StreamConfiguration.active attribute.public boolean isActiveAsPrimitive()
StreamConfiguration.active attribute.public void setActive(SessionContext ctx, Boolean value)
StreamConfiguration.active attribute.value - the activepublic void setActive(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 Set<ComposedType> getExcludedTypes(SessionContext ctx)
StreamConfiguration.excludedTypes attribute.public Set<ComposedType> getExcludedTypes()
StreamConfiguration.excludedTypes attribute.public long getExcludedTypesCount(SessionContext ctx)
public long getExcludedTypesCount()
public void setExcludedTypes(SessionContext ctx, Set<ComposedType> value)
StreamConfiguration.excludedTypes attribute.value - the excludedTypespublic void setExcludedTypes(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 String getInfoExpression(SessionContext ctx)
StreamConfiguration.infoExpression attribute.public String getInfoExpression()
StreamConfiguration.infoExpression attribute.public void setInfoExpression(SessionContext ctx, String value)
StreamConfiguration.infoExpression attribute.value - the infoExpressionpublic void setInfoExpression(String value)
StreamConfiguration.infoExpression attribute.value - the infoExpressionpublic 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 String getStreamId(SessionContext ctx)
StreamConfiguration.streamId attribute.public String getStreamId()
StreamConfiguration.streamId attribute.protected void setStreamId(SessionContext ctx, String value)
StreamConfiguration.streamId attribute.value - the streamIdprotected void setStreamId(String value)
StreamConfiguration.streamId attribute.value - the streamIdpublic String getVersionSelectClause(SessionContext ctx)
StreamConfiguration.versionSelectClause attribute.public String getVersionSelectClause()
StreamConfiguration.versionSelectClause attribute.public void setVersionSelectClause(SessionContext ctx, String value)
StreamConfiguration.versionSelectClause attribute.value - the versionSelectClausepublic void setVersionSelectClause(String value)
StreamConfiguration.versionSelectClause attribute.value - the versionSelectClausepublic String getWhereClause(SessionContext ctx)
StreamConfiguration.whereClause attribute.public String getWhereClause()
StreamConfiguration.whereClause attribute.public void setWhereClause(SessionContext ctx, String value)
StreamConfiguration.whereClause attribute.value - the whereClausepublic void setWhereClause(String value)
StreamConfiguration.whereClause attribute.value - the whereClauseCopyright © 2017 SAP SE. All Rights Reserved.