public abstract class GeneratedRuleConditionDefinitionParameter extends GenericItem
RuleConditionDefinitionParameter.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 |
|---|---|
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DEFINITION
Qualifier of the
RuleConditionDefinitionParameter.definition attribute |
protected static BidirectionalOneToManyHandler<GeneratedRuleConditionDefinitionParameter> |
DEFINITIONHANDLER
BidirectionalOneToManyHandler for handling 1:n DEFINITION's relation attributes from 'one' side. |
static String |
DEFINITIONPOS
Qualifier of the
RuleConditionDefinitionParameter.definitionPOS attribute |
static String |
DESCRIPTION
Qualifier of the
RuleConditionDefinitionParameter.description attribute |
static String |
ID
Qualifier of the
RuleConditionDefinitionParameter.id attribute |
static String |
NAME
Qualifier of the
RuleConditionDefinitionParameter.name attribute |
static String |
PRIORITY
Qualifier of the
RuleConditionDefinitionParameter.priority attribute |
static String |
REQUIRED
Qualifier of the
RuleConditionDefinitionParameter.required attribute |
static String |
TYPE
Qualifier of the
RuleConditionDefinitionParameter.type attribute |
static String |
VALIDATORS
Qualifier of the
RuleConditionDefinitionParameter.validators attribute |
static String |
VALUE
Qualifier of the
RuleConditionDefinitionParameter.value 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, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedRuleConditionDefinitionParameter() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Map<Language,String> |
getAllDescription()
Generated method - Getter of the
RuleConditionDefinitionParameter.description attribute. |
Map<Language,String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.description attribute. |
Map<Language,String> |
getAllName()
Generated method - Getter of the
RuleConditionDefinitionParameter.name attribute. |
Map<Language,String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.name attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
RuleConditionDefinition |
getDefinition()
Generated method - Getter of the
RuleConditionDefinitionParameter.definition attribute. |
RuleConditionDefinition |
getDefinition(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.definition attribute. |
String |
getDescription()
Generated method - Getter of the
RuleConditionDefinitionParameter.description attribute. |
String |
getDescription(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.description attribute. |
String |
getId()
Generated method - Getter of the
RuleConditionDefinitionParameter.id attribute. |
String |
getId(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.id attribute. |
String |
getName()
Generated method - Getter of the
RuleConditionDefinitionParameter.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.name attribute. |
Integer |
getPriority()
Generated method - Getter of the
RuleConditionDefinitionParameter.priority attribute. |
Integer |
getPriority(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.priority attribute. |
int |
getPriorityAsPrimitive()
Generated method - Getter of the
RuleConditionDefinitionParameter.priority attribute. |
int |
getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.priority attribute. |
String |
getType()
Generated method - Getter of the
RuleConditionDefinitionParameter.type attribute. |
String |
getType(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.type attribute. |
List<String> |
getValidators()
Generated method - Getter of the
RuleConditionDefinitionParameter.validators attribute. |
List<String> |
getValidators(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.validators attribute. |
String |
getValue()
Generated method - Getter of the
RuleConditionDefinitionParameter.value attribute. |
String |
getValue(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.value attribute. |
Boolean |
isRequired()
Generated method - Getter of the
RuleConditionDefinitionParameter.required attribute. |
Boolean |
isRequired(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.required attribute. |
boolean |
isRequiredAsPrimitive()
Generated method - Getter of the
RuleConditionDefinitionParameter.required attribute. |
boolean |
isRequiredAsPrimitive(SessionContext ctx)
Generated method - Getter of the
RuleConditionDefinitionParameter.required attribute. |
void |
setAllDescription(Map<Language,String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.description attribute. |
void |
setAllDescription(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.description attribute. |
void |
setAllName(Map<Language,String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.name attribute. |
void |
setAllName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.name attribute. |
void |
setDefinition(RuleConditionDefinition value)
Generated method - Setter of the
RuleConditionDefinitionParameter.definition attribute. |
void |
setDefinition(SessionContext ctx,
RuleConditionDefinition value)
Generated method - Setter of the
RuleConditionDefinitionParameter.definition attribute. |
void |
setDescription(SessionContext ctx,
String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.description attribute. |
void |
setDescription(String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.description attribute. |
void |
setId(SessionContext ctx,
String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.id attribute. |
void |
setId(String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.id attribute. |
void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.name attribute. |
void |
setName(String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.name attribute. |
void |
setPriority(int value)
Generated method - Setter of the
RuleConditionDefinitionParameter.priority attribute. |
void |
setPriority(Integer value)
Generated method - Setter of the
RuleConditionDefinitionParameter.priority attribute. |
void |
setPriority(SessionContext ctx,
int value)
Generated method - Setter of the
RuleConditionDefinitionParameter.priority attribute. |
void |
setPriority(SessionContext ctx,
Integer value)
Generated method - Setter of the
RuleConditionDefinitionParameter.priority attribute. |
void |
setRequired(boolean value)
Generated method - Setter of the
RuleConditionDefinitionParameter.required attribute. |
void |
setRequired(Boolean value)
Generated method - Setter of the
RuleConditionDefinitionParameter.required attribute. |
void |
setRequired(SessionContext ctx,
boolean value)
Generated method - Setter of the
RuleConditionDefinitionParameter.required attribute. |
void |
setRequired(SessionContext ctx,
Boolean value)
Generated method - Setter of the
RuleConditionDefinitionParameter.required attribute. |
void |
setType(SessionContext ctx,
String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.type attribute. |
void |
setType(String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.type attribute. |
void |
setValidators(List<String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.validators attribute. |
void |
setValidators(SessionContext ctx,
List<String> value)
Generated method - Setter of the
RuleConditionDefinitionParameter.validators attribute. |
void |
setValue(SessionContext ctx,
String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.value attribute. |
void |
setValue(String value)
Generated method - Setter of the
RuleConditionDefinitionParameter.value 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 ID
RuleConditionDefinitionParameter.id attributepublic static final String NAME
RuleConditionDefinitionParameter.name attributepublic static final String DESCRIPTION
RuleConditionDefinitionParameter.description attributepublic static final String PRIORITY
RuleConditionDefinitionParameter.priority attributepublic static final String TYPE
RuleConditionDefinitionParameter.type attributepublic static final String VALUE
RuleConditionDefinitionParameter.value attributepublic static final String REQUIRED
RuleConditionDefinitionParameter.required attributepublic static final String VALIDATORS
RuleConditionDefinitionParameter.validators attributepublic static final String DEFINITIONPOS
RuleConditionDefinitionParameter.definitionPOS attributepublic static final String DEFINITION
RuleConditionDefinitionParameter.definition attributeprotected static final BidirectionalOneToManyHandler<GeneratedRuleConditionDefinitionParameter> DEFINITIONHANDLER
BidirectionalOneToManyHandler for handling 1:n DEFINITION's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
public GeneratedRuleConditionDefinitionParameter()
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itemprotected 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 RuleConditionDefinition getDefinition(SessionContext ctx)
RuleConditionDefinitionParameter.definition attribute.public RuleConditionDefinition getDefinition()
RuleConditionDefinitionParameter.definition attribute.public void setDefinition(SessionContext ctx, RuleConditionDefinition value)
RuleConditionDefinitionParameter.definition attribute.value - the definitionpublic void setDefinition(RuleConditionDefinition value)
RuleConditionDefinitionParameter.definition attribute.value - the definitionpublic String getDescription(SessionContext ctx)
RuleConditionDefinitionParameter.description attribute.public String getDescription()
RuleConditionDefinitionParameter.description attribute.public Map<Language,String> getAllDescription(SessionContext ctx)
RuleConditionDefinitionParameter.description attribute.public Map<Language,String> getAllDescription()
RuleConditionDefinitionParameter.description attribute.public void setDescription(SessionContext ctx, String value)
RuleConditionDefinitionParameter.description attribute.value - the descriptionpublic void setDescription(String value)
RuleConditionDefinitionParameter.description attribute.value - the descriptionpublic void setAllDescription(SessionContext ctx, Map<Language,String> value)
RuleConditionDefinitionParameter.description attribute.value - the descriptionpublic void setAllDescription(Map<Language,String> value)
RuleConditionDefinitionParameter.description attribute.value - the descriptionpublic String getId(SessionContext ctx)
RuleConditionDefinitionParameter.id attribute.public String getId()
RuleConditionDefinitionParameter.id attribute.public void setId(SessionContext ctx, String value)
RuleConditionDefinitionParameter.id attribute.value - the idpublic void setId(String value)
RuleConditionDefinitionParameter.id attribute.value - the idpublic String getName(SessionContext ctx)
RuleConditionDefinitionParameter.name attribute.public String getName()
RuleConditionDefinitionParameter.name attribute.public Map<Language,String> getAllName(SessionContext ctx)
RuleConditionDefinitionParameter.name attribute.public Map<Language,String> getAllName()
RuleConditionDefinitionParameter.name attribute.public void setName(SessionContext ctx, String value)
RuleConditionDefinitionParameter.name attribute.value - the namepublic void setName(String value)
RuleConditionDefinitionParameter.name attribute.value - the namepublic void setAllName(SessionContext ctx, Map<Language,String> value)
RuleConditionDefinitionParameter.name attribute.value - the namepublic void setAllName(Map<Language,String> value)
RuleConditionDefinitionParameter.name attribute.value - the namepublic Integer getPriority(SessionContext ctx)
RuleConditionDefinitionParameter.priority attribute.public Integer getPriority()
RuleConditionDefinitionParameter.priority attribute.public int getPriorityAsPrimitive(SessionContext ctx)
RuleConditionDefinitionParameter.priority attribute.public int getPriorityAsPrimitive()
RuleConditionDefinitionParameter.priority attribute.public void setPriority(SessionContext ctx, Integer value)
RuleConditionDefinitionParameter.priority attribute.value - the prioritypublic void setPriority(Integer value)
RuleConditionDefinitionParameter.priority attribute.value - the prioritypublic void setPriority(SessionContext ctx, int value)
RuleConditionDefinitionParameter.priority attribute.value - the prioritypublic void setPriority(int value)
RuleConditionDefinitionParameter.priority attribute.value - the prioritypublic Boolean isRequired(SessionContext ctx)
RuleConditionDefinitionParameter.required attribute.public Boolean isRequired()
RuleConditionDefinitionParameter.required attribute.public boolean isRequiredAsPrimitive(SessionContext ctx)
RuleConditionDefinitionParameter.required attribute.public boolean isRequiredAsPrimitive()
RuleConditionDefinitionParameter.required attribute.public void setRequired(SessionContext ctx, Boolean value)
RuleConditionDefinitionParameter.required attribute.value - the required - whether the parameter is requiredpublic void setRequired(Boolean value)
RuleConditionDefinitionParameter.required attribute.value - the required - whether the parameter is requiredpublic void setRequired(SessionContext ctx, boolean value)
RuleConditionDefinitionParameter.required attribute.value - the required - whether the parameter is requiredpublic void setRequired(boolean value)
RuleConditionDefinitionParameter.required attribute.value - the required - whether the parameter is requiredpublic String getType(SessionContext ctx)
RuleConditionDefinitionParameter.type attribute.public String getType()
RuleConditionDefinitionParameter.type attribute.public void setType(SessionContext ctx, String value)
RuleConditionDefinitionParameter.type attribute.value - the typepublic void setType(String value)
RuleConditionDefinitionParameter.type attribute.value - the typepublic List<String> getValidators(SessionContext ctx)
RuleConditionDefinitionParameter.validators attribute.public List<String> getValidators()
RuleConditionDefinitionParameter.validators attribute.public void setValidators(SessionContext ctx, List<String> value)
RuleConditionDefinitionParameter.validators attribute.value - the validatorspublic void setValidators(List<String> value)
RuleConditionDefinitionParameter.validators attribute.value - the validatorspublic String getValue(SessionContext ctx)
RuleConditionDefinitionParameter.value attribute.public String getValue()
RuleConditionDefinitionParameter.value attribute.public void setValue(SessionContext ctx, String value)
RuleConditionDefinitionParameter.value attribute.value - the valuepublic void setValue(String value)
RuleConditionDefinitionParameter.value attribute.value - the valueCopyright © 2017 SAP SE. All Rights Reserved.