public abstract class GeneratedB2BPermission extends GenericItem
B2BPermission.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
B2BPermission.active attribute |
protected static java.lang.String |
B2BCUSTOMER2B2BPERMISSIONS_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BCustomer2B2BPermissions from ((b2bapprovalprocess))
|
protected static java.lang.String |
B2BCUSTOMER2B2BPERMISSIONS_SRC_ORDERED
Relation ordering override parameter constants for B2BCustomer2B2BPermissions from ((b2bapprovalprocess))
|
protected static java.lang.String |
B2BCUSTOMER2B2BPERMISSIONS_TGT_ORDERED |
protected static java.lang.String |
B2BUSERGROUPS2B2BPERMISSIONS_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BUserGroups2B2BPermissions from ((b2bapprovalprocess))
|
protected static java.lang.String |
B2BUSERGROUPS2B2BPERMISSIONS_SRC_ORDERED
Relation ordering override parameter constants for B2BUserGroups2B2BPermissions from ((b2bapprovalprocess))
|
protected static java.lang.String |
B2BUSERGROUPS2B2BPERMISSIONS_TGT_ORDERED |
static java.lang.String |
CODE
Qualifier of the
B2BPermission.code attribute |
static java.lang.String |
CUSTOMERS
Qualifier of the
B2BPermission.Customers attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
MESSAGE
Qualifier of the
B2BPermission.message attribute |
static java.lang.String |
UNIT
Qualifier of the
B2BPermission.Unit attribute |
protected static BidirectionalOneToManyHandler<GeneratedB2BPermission> |
UNITHANDLER
BidirectionalOneToManyHandler for handling 1:n UNIT's relation attributes from 'one' side. |
static java.lang.String |
UNITPOS
Qualifier of the
B2BPermission.UnitPOS attribute |
static java.lang.String |
USERGROUPS
Qualifier of the
B2BPermission.UserGroups 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 |
|---|
GeneratedB2BPermission() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCustomers(B2BCustomer value)
Generated method - Adds
value to Customers. |
void |
addToCustomers(SessionContext ctx,
B2BCustomer value)
Generated method - Adds
value to Customers. |
void |
addToUserGroups(B2BUserGroup value)
Generated method - Adds
value to UserGroups. |
void |
addToUserGroups(SessionContext ctx,
B2BUserGroup value)
Generated method - Adds
value to UserGroups. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Map<Language,java.lang.String> |
getAllMessage()
Generated method - Getter of the
B2BPermission.message attribute. |
java.util.Map<Language,java.lang.String> |
getAllMessage(SessionContext ctx)
Generated method - Getter of the
B2BPermission.message attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
B2BPermission.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
B2BPermission.code attribute. |
java.util.Collection<B2BCustomer> |
getCustomers()
Generated method - Getter of the
B2BPermission.Customers attribute. |
java.util.Collection<B2BCustomer> |
getCustomers(SessionContext ctx)
Generated method - Getter of the
B2BPermission.Customers attribute. |
long |
getCustomersCount() |
long |
getCustomersCount(SessionContext ctx) |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getMessage()
Generated method - Getter of the
B2BPermission.message attribute. |
java.lang.String |
getMessage(SessionContext ctx)
Generated method - Getter of the
B2BPermission.message attribute. |
B2BUnit |
getUnit()
Generated method - Getter of the
B2BPermission.Unit attribute. |
B2BUnit |
getUnit(SessionContext ctx)
Generated method - Getter of the
B2BPermission.Unit attribute. |
java.util.List<B2BUserGroup> |
getUserGroups()
Generated method - Getter of the
B2BPermission.UserGroups attribute. |
java.util.List<B2BUserGroup> |
getUserGroups(SessionContext ctx)
Generated method - Getter of the
B2BPermission.UserGroups attribute. |
long |
getUserGroupsCount() |
long |
getUserGroupsCount(SessionContext ctx) |
java.lang.Boolean |
isActive()
Generated method - Getter of the
B2BPermission.active attribute. |
java.lang.Boolean |
isActive(SessionContext ctx)
Generated method - Getter of the
B2BPermission.active attribute. |
boolean |
isActiveAsPrimitive()
Generated method - Getter of the
B2BPermission.active attribute. |
boolean |
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of the
B2BPermission.active attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromCustomers(B2BCustomer value)
Generated method - Removes
value from Customers. |
void |
removeFromCustomers(SessionContext ctx,
B2BCustomer value)
Generated method - Removes
value from Customers. |
void |
removeFromUserGroups(B2BUserGroup value)
Generated method - Removes
value from UserGroups. |
void |
removeFromUserGroups(SessionContext ctx,
B2BUserGroup value)
Generated method - Removes
value from UserGroups. |
void |
setActive(boolean value)
Generated method - Setter of the
B2BPermission.active attribute. |
void |
setActive(java.lang.Boolean value)
Generated method - Setter of the
B2BPermission.active attribute. |
void |
setActive(SessionContext ctx,
boolean value)
Generated method - Setter of the
B2BPermission.active attribute. |
void |
setActive(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
B2BPermission.active attribute. |
void |
setAllMessage(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setAllMessage(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
B2BPermission.code attribute. |
void |
setCode(java.lang.String value)
Generated method - Setter of the
B2BPermission.code attribute. |
void |
setCustomers(java.util.Collection<B2BCustomer> value)
Generated method - Setter of the
B2BPermission.Customers attribute. |
void |
setCustomers(SessionContext ctx,
java.util.Collection<B2BCustomer> value)
Generated method - Setter of the
B2BPermission.Customers attribute. |
void |
setMessage(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setMessage(java.lang.String value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setUnit(B2BUnit value)
Generated method - Setter of the
B2BPermission.Unit attribute. |
void |
setUnit(SessionContext ctx,
B2BUnit value)
Generated method - Setter of the
B2BPermission.Unit attribute. |
void |
setUserGroups(java.util.List<B2BUserGroup> value)
Generated method - Setter of the
B2BPermission.UserGroups attribute. |
void |
setUserGroups(SessionContext ctx,
java.util.List<B2BUserGroup> value)
Generated method - Setter of the
B2BPermission.UserGroups 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 CODE
B2BPermission.code attributepublic static final java.lang.String ACTIVE
B2BPermission.active attributepublic static final java.lang.String MESSAGE
B2BPermission.message attributepublic static final java.lang.String USERGROUPS
B2BPermission.UserGroups attributeprotected static java.lang.String B2BUSERGROUPS2B2BPERMISSIONS_SRC_ORDERED
protected static java.lang.String B2BUSERGROUPS2B2BPERMISSIONS_TGT_ORDERED
protected static java.lang.String B2BUSERGROUPS2B2BPERMISSIONS_MARKMODIFIED
public static final java.lang.String UNITPOS
B2BPermission.UnitPOS attributepublic static final java.lang.String UNIT
B2BPermission.Unit attributepublic static final java.lang.String CUSTOMERS
B2BPermission.Customers attributeprotected static java.lang.String B2BCUSTOMER2B2BPERMISSIONS_SRC_ORDERED
protected static java.lang.String B2BCUSTOMER2B2BPERMISSIONS_TGT_ORDERED
protected static java.lang.String B2BCUSTOMER2B2BPERMISSIONS_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedB2BPermission> UNITHANDLER
BidirectionalOneToManyHandler for handling 1:n UNIT'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)
B2BPermission.active attribute.public java.lang.Boolean isActive()
B2BPermission.active attribute.public boolean isActiveAsPrimitive(SessionContext ctx)
B2BPermission.active attribute.public boolean isActiveAsPrimitive()
B2BPermission.active attribute.public void setActive(SessionContext ctx, java.lang.Boolean value)
B2BPermission.active attribute.value - the activepublic void setActive(java.lang.Boolean value)
B2BPermission.active attribute.value - the activepublic void setActive(SessionContext ctx, boolean value)
B2BPermission.active attribute.value - the activepublic void setActive(boolean value)
B2BPermission.active attribute.value - the activepublic java.lang.String getCode(SessionContext ctx)
B2BPermission.code attribute.public java.lang.String getCode()
B2BPermission.code attribute.public void setCode(SessionContext ctx, java.lang.String value)
B2BPermission.code attribute.value - the codepublic void setCode(java.lang.String value)
B2BPermission.code attribute.value - the codeprotected 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.Collection<B2BCustomer> getCustomers(SessionContext ctx)
B2BPermission.Customers attribute.public java.util.Collection<B2BCustomer> getCustomers()
B2BPermission.Customers attribute.public long getCustomersCount(SessionContext ctx)
public long getCustomersCount()
public void setCustomers(SessionContext ctx, java.util.Collection<B2BCustomer> value)
B2BPermission.Customers attribute.value - the Customerspublic void setCustomers(java.util.Collection<B2BCustomer> value)
B2BPermission.Customers attribute.value - the Customerspublic void addToCustomers(SessionContext ctx, B2BCustomer value)
value to Customers.value - the item to add to Customerspublic void addToCustomers(B2BCustomer value)
value to Customers.value - the item to add to Customerspublic void removeFromCustomers(SessionContext ctx, B2BCustomer value)
value from Customers.value - the item to remove from Customerspublic void removeFromCustomers(B2BCustomer value)
value from Customers.value - the item to remove from Customerspublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic java.lang.String getMessage(SessionContext ctx)
B2BPermission.message attribute.public java.lang.String getMessage()
B2BPermission.message attribute.public java.util.Map<Language,java.lang.String> getAllMessage(SessionContext ctx)
B2BPermission.message attribute.public java.util.Map<Language,java.lang.String> getAllMessage()
B2BPermission.message attribute.public void setMessage(SessionContext ctx, java.lang.String value)
B2BPermission.message attribute.value - the messagepublic void setMessage(java.lang.String value)
B2BPermission.message attribute.value - the messagepublic void setAllMessage(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
B2BPermission.message attribute.value - the messagepublic void setAllMessage(java.util.Map<Language,java.lang.String> value)
B2BPermission.message attribute.value - the messagepublic B2BUnit getUnit(SessionContext ctx)
B2BPermission.Unit attribute.public B2BUnit getUnit()
B2BPermission.Unit attribute.public void setUnit(SessionContext ctx, B2BUnit value)
B2BPermission.Unit attribute.value - the Unit - The Parent B2BUnitpublic void setUnit(B2BUnit value)
B2BPermission.Unit attribute.value - the Unit - The Parent B2BUnitpublic java.util.List<B2BUserGroup> getUserGroups(SessionContext ctx)
B2BPermission.UserGroups attribute.public java.util.List<B2BUserGroup> getUserGroups()
B2BPermission.UserGroups attribute.public long getUserGroupsCount(SessionContext ctx)
public long getUserGroupsCount()
public void setUserGroups(SessionContext ctx, java.util.List<B2BUserGroup> value)
B2BPermission.UserGroups attribute.value - the UserGroupspublic void setUserGroups(java.util.List<B2BUserGroup> value)
B2BPermission.UserGroups attribute.value - the UserGroupspublic void addToUserGroups(SessionContext ctx, B2BUserGroup value)
value to UserGroups.value - the item to add to UserGroupspublic void addToUserGroups(B2BUserGroup value)
value to UserGroups.value - the item to add to UserGroupspublic void removeFromUserGroups(SessionContext ctx, B2BUserGroup value)
value from UserGroups.value - the item to remove from UserGroupspublic void removeFromUserGroups(B2BUserGroup value)
value from UserGroups.value - the item to remove from UserGroupsCopyright © 2018 SAP SE. All Rights Reserved.