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