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 String |
ACTIVE
Qualifier of the
B2BPermission.active attribute |
protected static String |
B2BCUSTOMER2B2BPERMISSIONS_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BCustomer2B2BPermissions from ((b2bapprovalprocess))
|
protected static String |
B2BCUSTOMER2B2BPERMISSIONS_SRC_ORDERED
Relation ordering override parameter constants for B2BCustomer2B2BPermissions from ((b2bapprovalprocess))
|
protected static String |
B2BCUSTOMER2B2BPERMISSIONS_TGT_ORDERED |
protected static String |
B2BUSERGROUPS2B2BPERMISSIONS_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BUserGroups2B2BPermissions from ((b2bapprovalprocess))
|
protected static String |
B2BUSERGROUPS2B2BPERMISSIONS_SRC_ORDERED
Relation ordering override parameter constants for B2BUserGroups2B2BPermissions from ((b2bapprovalprocess))
|
protected static String |
B2BUSERGROUPS2B2BPERMISSIONS_TGT_ORDERED |
static String |
CODE
Qualifier of the
B2BPermission.code attribute |
static String |
CUSTOMERS
Qualifier of the
B2BPermission.Customers attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
MESSAGE
Qualifier of the
B2BPermission.message attribute |
static 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 String |
UNITPOS
Qualifier of the
B2BPermission.UnitPOS attribute |
static 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.
|
Map<Language,String> |
getAllMessage()
Generated method - Getter of the
B2BPermission.message attribute. |
Map<Language,String> |
getAllMessage(SessionContext ctx)
Generated method - Getter of the
B2BPermission.message attribute. |
String |
getCode()
Generated method - Getter of the
B2BPermission.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
B2BPermission.code attribute. |
Collection<B2BCustomer> |
getCustomers()
Generated method - Getter of the
B2BPermission.Customers attribute. |
Collection<B2BCustomer> |
getCustomers(SessionContext ctx)
Generated method - Getter of the
B2BPermission.Customers attribute. |
long |
getCustomersCount() |
long |
getCustomersCount(SessionContext ctx) |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
String |
getMessage()
Generated method - Getter of the
B2BPermission.message attribute. |
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. |
List<B2BUserGroup> |
getUserGroups()
Generated method - Getter of the
B2BPermission.UserGroups attribute. |
List<B2BUserGroup> |
getUserGroups(SessionContext ctx)
Generated method - Getter of the
B2BPermission.UserGroups attribute. |
long |
getUserGroupsCount() |
long |
getUserGroupsCount(SessionContext ctx) |
Boolean |
isActive()
Generated method - Getter of the
B2BPermission.active attribute. |
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. |
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(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,
Boolean value)
Generated method - Setter of the
B2BPermission.active attribute. |
void |
setAllMessage(Map<Language,String> value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setAllMessage(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
B2BPermission.code attribute. |
void |
setCode(String value)
Generated method - Setter of the
B2BPermission.code attribute. |
void |
setCustomers(Collection<B2BCustomer> value)
Generated method - Setter of the
B2BPermission.Customers attribute. |
void |
setCustomers(SessionContext ctx,
Collection<B2BCustomer> value)
Generated method - Setter of the
B2BPermission.Customers attribute. |
void |
setMessage(SessionContext ctx,
String value)
Generated method - Setter of the
B2BPermission.message attribute. |
void |
setMessage(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(List<B2BUserGroup> value)
Generated method - Setter of the
B2BPermission.UserGroups attribute. |
void |
setUserGroups(SessionContext ctx,
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, 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 CODE
B2BPermission.code attributepublic static final String ACTIVE
B2BPermission.active attributepublic static final String MESSAGE
B2BPermission.message attributepublic static final String USERGROUPS
B2BPermission.UserGroups attributeprotected static String B2BUSERGROUPS2B2BPERMISSIONS_SRC_ORDERED
protected static String B2BUSERGROUPS2B2BPERMISSIONS_TGT_ORDERED
protected static String B2BUSERGROUPS2B2BPERMISSIONS_MARKMODIFIED
public static final String UNITPOS
B2BPermission.UnitPOS attributepublic static final String UNIT
B2BPermission.Unit attributepublic static final String CUSTOMERS
B2BPermission.Customers attributeprotected static String B2BCUSTOMER2B2BPERMISSIONS_SRC_ORDERED
protected static String B2BCUSTOMER2B2BPERMISSIONS_TGT_ORDERED
protected static String B2BCUSTOMER2B2BPERMISSIONS_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedB2BPermission> UNITHANDLER
BidirectionalOneToManyHandler for handling 1:n UNIT'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)
B2BPermission.active attribute.public Boolean isActive()
B2BPermission.active attribute.public boolean isActiveAsPrimitive(SessionContext ctx)
B2BPermission.active attribute.public boolean isActiveAsPrimitive()
B2BPermission.active attribute.public void setActive(SessionContext ctx, Boolean value)
B2BPermission.active attribute.value - the activepublic void setActive(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 String getCode(SessionContext ctx)
B2BPermission.code attribute.public String getCode()
B2BPermission.code attribute.public void setCode(SessionContext ctx, String value)
B2BPermission.code attribute.value - the codepublic void setCode(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 Collection<B2BCustomer> getCustomers(SessionContext ctx)
B2BPermission.Customers attribute.public Collection<B2BCustomer> getCustomers()
B2BPermission.Customers attribute.public long getCustomersCount(SessionContext ctx)
public long getCustomersCount()
public void setCustomers(SessionContext ctx, Collection<B2BCustomer> value)
B2BPermission.Customers attribute.value - the Customerspublic void setCustomers(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 String getMessage(SessionContext ctx)
B2BPermission.message attribute.public String getMessage()
B2BPermission.message attribute.public Map<Language,String> getAllMessage(SessionContext ctx)
B2BPermission.message attribute.public Map<Language,String> getAllMessage()
B2BPermission.message attribute.public void setMessage(SessionContext ctx, String value)
B2BPermission.message attribute.value - the messagepublic void setMessage(String value)
B2BPermission.message attribute.value - the messagepublic void setAllMessage(SessionContext ctx, Map<Language,String> value)
B2BPermission.message attribute.value - the messagepublic void setAllMessage(Map<Language,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 List<B2BUserGroup> getUserGroups(SessionContext ctx)
B2BPermission.UserGroups attribute.public List<B2BUserGroup> getUserGroups()
B2BPermission.UserGroups attribute.public long getUserGroupsCount(SessionContext ctx)
public long getUserGroupsCount()
public void setUserGroups(SessionContext ctx, List<B2BUserGroup> value)
B2BPermission.UserGroups attribute.value - the UserGroupspublic void setUserGroups(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 © 2017 SAP SE. All Rights Reserved.