Package de.hybris.platform.b2b.jalo
Class GeneratedB2BUnit
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
B2BUnit
public abstract class GeneratedB2BUnit extends OrgUnit
Generated class for typeB2BUnit
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCOUNTMANAGER
Qualifier of theB2BUnit.accountManager
attributestatic java.lang.String
ACCOUNTMANAGERGROUPS
Qualifier of theB2BUnit.AccountManagerGroups
attributeprotected static BidirectionalOneToManyHandler<GeneratedB2BUnit>
ACCOUNTMANAGERHANDLER
BidirectionalOneToManyHandler
for handling 1:n ACCOUNTMANAGER's relation attributes from 'one' side.protected static java.lang.String
B2BUNIT2ACCOUNTMANAGERGROUP_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BUnit2AccountManagerGroup from ((b2bcommerce))protected static java.lang.String
B2BUNIT2ACCOUNTMANAGERGROUP_SRC_ORDERED
Relation ordering override parameter constants for B2BUnit2AccountManagerGroup from ((b2bcommerce))protected static java.lang.String
B2BUNIT2ACCOUNTMANAGERGROUP_TGT_ORDERED
static java.lang.String
BUDGETS
Qualifier of theB2BUnit.Budgets
attributeprotected static OneToManyHandler<B2BBudget>
BUDGETSHANDLER
OneToManyHandler
for handling 1:n BUDGETS's relation attributes from 'many' side.static java.lang.String
COSTCENTERS
Qualifier of theB2BUnit.CostCenters
attributeprotected static OneToManyHandler<B2BCostCenter>
COSTCENTERSHANDLER
OneToManyHandler
for handling 1:n COSTCENTERS's relation attributes from 'many' side.static java.lang.String
CREDITLIMIT
Qualifier of theB2BUnit.CreditLimit
attributeprotected static BidirectionalOneToManyHandler<GeneratedB2BUnit>
CREDITLIMITHANDLER
BidirectionalOneToManyHandler
for handling 1:n CREDITLIMIT's relation attributes from 'one' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
ORDERS
Qualifier of theB2BUnit.Orders
attributeprotected static OneToManyHandler<AbstractOrder>
ORDERSHANDLER
OneToManyHandler
for handling 1:n ORDERS's relation attributes from 'many' side.static java.lang.String
QUOTELIMIT
Qualifier of theB2BUnit.QuoteLimit
attributeprotected static BidirectionalOneToManyHandler<GeneratedB2BUnit>
QUOTELIMITHANDLER
BidirectionalOneToManyHandler
for handling 1:n QUOTELIMIT's relation attributes from 'one' side.static java.lang.String
REPORTINGORGANIZATION
Qualifier of theB2BUnit.reportingOrganization
attributestatic java.lang.String
USERGROUPS
Qualifier of theB2BUnit.UserGroups
attributeprotected static OneToManyHandler<B2BUserGroup>
USERGROUPSHANDLER
OneToManyHandler
for handling 1:n USERGROUPS's relation attributes from 'many' side.-
Fields inherited from class de.hybris.platform.commerceservices.jalo.GeneratedOrgUnit
ACTIVE, PATH
-
Fields inherited from class de.hybris.platform.catalog.jalo.Company
BILLINGADDRESSES, CONTACTADDRESSES, SHIPPINGADDRESSES, UNLOADINGADDRESSES
-
Fields inherited from class de.hybris.platform.catalog.jalo.GeneratedCompany
ADDRESSES, BILLINGADDRESS, BUYER, BUYERSPECIFICID, CARRIER, CONTACT, CONTACTADDRESS, COUNTRY, DUNSID, ID, ILNID, LINEOFBUISNESS, MANUFACTURER, MEDIAS, PROVIDEDCATALOGS, PROVIDEDCATALOGSHANDLER, PURCHASEDCATALOGS, PURCHASEDCATALOGSHANDLER, RESPONSIBLECOMPANY, SHIPPINGADDRESS, SUPPLIER, SUPPLIERSPECIFICID, UNLOADINGADDRESS, VATID
-
Fields inherited from class de.hybris.platform.jalo.user.GeneratedUserGroup
HMCXML, READABLELANGUAGES, WRITEABLELANGUAGES
-
Fields inherited from class de.hybris.platform.jalo.security.GeneratedPrincipalGroup
LOCNAME, MAXBRUTEFORCELOGINATTEMPTS, MEMBERS, PRINCIPALGROUPRELATION_MARKMODIFIED, PRINCIPALGROUPRELATION_SRC_ORDERED, PRINCIPALGROUPRELATION_TGT_ORDERED
-
Fields inherited from class de.hybris.platform.jalo.security.Principal
ALLGROUPS, ALLSEARCHRESTRICTIONS, DISPLAYNAME, PRINCIPAL_GROUP_RELATION_NAME
-
Fields inherited from class de.hybris.platform.jalo.security.GeneratedPrincipal
DESCRIPTION, GROUPS, NAME, SEARCHRESTRICTIONS, SEARCHRESTRICTIONSHANDLER, UID
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedB2BUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToAccountManagerGroups(SessionContext ctx, UserGroup value)
Generated method - Addsvalue
to AccountManagerGroups.void
addToAccountManagerGroups(UserGroup value)
Generated method - Addsvalue
to AccountManagerGroups.void
addToBudgets(B2BBudget value)
Generated method - Addsvalue
to Budgets.void
addToBudgets(SessionContext ctx, B2BBudget value)
Generated method - Addsvalue
to Budgets.void
addToCostCenters(B2BCostCenter value)
Generated method - Addsvalue
to CostCenters.void
addToCostCenters(SessionContext ctx, B2BCostCenter value)
Generated method - Addsvalue
to CostCenters.void
addToOrders(AbstractOrder value)
Generated method - Addsvalue
to Orders.void
addToOrders(SessionContext ctx, AbstractOrder value)
Generated method - Addsvalue
to Orders.void
addToUserGroups(B2BUserGroup value)
Generated method - Addsvalue
to UserGroups.void
addToUserGroups(SessionContext ctx, B2BUserGroup value)
Generated method - Addsvalue
to UserGroups.protected Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.Employee
getAccountManager()
Generated method - Getter of theB2BUnit.accountManager
attribute.Employee
getAccountManager(SessionContext ctx)
Generated method - Getter of theB2BUnit.accountManager
attribute.java.util.Set<UserGroup>
getAccountManagerGroups()
Generated method - Getter of theB2BUnit.AccountManagerGroups
attribute.java.util.Set<UserGroup>
getAccountManagerGroups(SessionContext ctx)
Generated method - Getter of theB2BUnit.AccountManagerGroups
attribute.long
getAccountManagerGroupsCount()
long
getAccountManagerGroupsCount(SessionContext ctx)
java.util.List<B2BBudget>
getBudgets()
Generated method - Getter of theB2BUnit.Budgets
attribute.java.util.List<B2BBudget>
getBudgets(SessionContext ctx)
Generated method - Getter of theB2BUnit.Budgets
attribute.java.util.List<B2BCostCenter>
getCostCenters()
Generated method - Getter of theB2BUnit.CostCenters
attribute.java.util.List<B2BCostCenter>
getCostCenters(SessionContext ctx)
Generated method - Getter of theB2BUnit.CostCenters
attribute.B2BCreditLimit
getCreditLimit()
Generated method - Getter of theB2BUnit.CreditLimit
attribute.B2BCreditLimit
getCreditLimit(SessionContext ctx)
Generated method - Getter of theB2BUnit.CreditLimit
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.util.Set<AbstractOrder>
getOrders()
Generated method - Getter of theB2BUnit.Orders
attribute.java.util.Set<AbstractOrder>
getOrders(SessionContext ctx)
Generated method - Getter of theB2BUnit.Orders
attribute.B2BQuoteLimit
getQuoteLimit()
Generated method - Getter of theB2BUnit.QuoteLimit
attribute.B2BQuoteLimit
getQuoteLimit(SessionContext ctx)
Generated method - Getter of theB2BUnit.QuoteLimit
attribute.B2BUnit
getReportingOrganization()
Generated method - Getter of theB2BUnit.reportingOrganization
attribute.B2BUnit
getReportingOrganization(SessionContext ctx)
Generated method - Getter of theB2BUnit.reportingOrganization
attribute.java.util.Set<B2BUserGroup>
getUserGroups()
Generated method - Getter of theB2BUnit.UserGroups
attribute.java.util.Set<B2BUserGroup>
getUserGroups(SessionContext ctx)
Generated method - Getter of theB2BUnit.UserGroups
attribute.boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromAccountManagerGroups(SessionContext ctx, UserGroup value)
Generated method - Removesvalue
from AccountManagerGroups.void
removeFromAccountManagerGroups(UserGroup value)
Generated method - Removesvalue
from AccountManagerGroups.void
removeFromBudgets(B2BBudget value)
Generated method - Removesvalue
from Budgets.void
removeFromBudgets(SessionContext ctx, B2BBudget value)
Generated method - Removesvalue
from Budgets.void
removeFromCostCenters(B2BCostCenter value)
Generated method - Removesvalue
from CostCenters.void
removeFromCostCenters(SessionContext ctx, B2BCostCenter value)
Generated method - Removesvalue
from CostCenters.void
removeFromOrders(AbstractOrder value)
Generated method - Removesvalue
from Orders.void
removeFromOrders(SessionContext ctx, AbstractOrder value)
Generated method - Removesvalue
from Orders.void
removeFromUserGroups(B2BUserGroup value)
Generated method - Removesvalue
from UserGroups.void
removeFromUserGroups(SessionContext ctx, B2BUserGroup value)
Generated method - Removesvalue
from UserGroups.void
setAccountManager(SessionContext ctx, Employee value)
Generated method - Setter of theB2BUnit.accountManager
attribute.void
setAccountManager(Employee value)
Generated method - Setter of theB2BUnit.accountManager
attribute.void
setAccountManagerGroups(SessionContext ctx, java.util.Set<UserGroup> value)
Generated method - Setter of theB2BUnit.AccountManagerGroups
attribute.void
setAccountManagerGroups(java.util.Set<UserGroup> value)
Generated method - Setter of theB2BUnit.AccountManagerGroups
attribute.void
setBudgets(SessionContext ctx, java.util.List<B2BBudget> value)
Generated method - Setter of theB2BUnit.Budgets
attribute.void
setBudgets(java.util.List<B2BBudget> value)
Generated method - Setter of theB2BUnit.Budgets
attribute.void
setCostCenters(SessionContext ctx, java.util.List<B2BCostCenter> value)
Generated method - Setter of theB2BUnit.CostCenters
attribute.void
setCostCenters(java.util.List<B2BCostCenter> value)
Generated method - Setter of theB2BUnit.CostCenters
attribute.void
setCreditLimit(B2BCreditLimit value)
Generated method - Setter of theB2BUnit.CreditLimit
attribute.void
setCreditLimit(SessionContext ctx, B2BCreditLimit value)
Generated method - Setter of theB2BUnit.CreditLimit
attribute.void
setOrders(SessionContext ctx, java.util.Set<AbstractOrder> value)
Generated method - Setter of theB2BUnit.Orders
attribute.void
setOrders(java.util.Set<AbstractOrder> value)
Generated method - Setter of theB2BUnit.Orders
attribute.void
setQuoteLimit(B2BQuoteLimit value)
Generated method - Setter of theB2BUnit.QuoteLimit
attribute.void
setQuoteLimit(SessionContext ctx, B2BQuoteLimit value)
Generated method - Setter of theB2BUnit.QuoteLimit
attribute.void
setReportingOrganization(B2BUnit value)
Generated method - Setter of theB2BUnit.reportingOrganization
attribute.void
setReportingOrganization(SessionContext ctx, B2BUnit value)
Generated method - Setter of theB2BUnit.reportingOrganization
attribute.void
setUserGroups(SessionContext ctx, java.util.Set<B2BUserGroup> value)
Generated method - Setter of theB2BUnit.UserGroups
attribute.void
setUserGroups(java.util.Set<B2BUserGroup> value)
Generated method - Setter of theB2BUnit.UserGroups
attribute.-
Methods inherited from class de.hybris.platform.commerceservices.jalo.GeneratedOrgUnit
getPath, getPath, isActive, isActive, isActiveAsPrimitive, isActiveAsPrimitive, setActive, setActive, setActive, setActive, setPath, setPath
-
Methods inherited from class de.hybris.platform.catalog.jalo.Company
getAddresses, getBillingAddresses, getBillingAddresses, getCatalogsAsBuyer, getCatalogsAsSupplier, getContactAddresses, getContactAddresses, getShippingAddresses, getShippingAddresses, getUnloadingAddresses, getUnloadingAddresses, setAddresses
-
Methods inherited from class de.hybris.platform.catalog.jalo.GeneratedCompany
getAddresses, getBillingAddress, getBillingAddress, getBuyerSpecificID, getBuyerSpecificID, getContact, getContact, getContactAddress, getContactAddress, getCountry, getCountry, getDunsID, getDunsID, getId, getId, getIlnID, getIlnID, getLineOfBuisness, getLineOfBuisness, getMedias, getMedias, getProvidedCatalogs, getProvidedCatalogs, getPurchasedCatalogs, getPurchasedCatalogs, getResponsibleCompany, getResponsibleCompany, getShippingAddress, getShippingAddress, getSupplierSpecificID, getSupplierSpecificID, getUnloadingAddress, getUnloadingAddress, getVatID, getVatID, isBuyer, isBuyer, isBuyerAsPrimitive, isBuyerAsPrimitive, isCarrier, isCarrier, isCarrierAsPrimitive, isCarrierAsPrimitive, isManufacturer, isManufacturer, isManufacturerAsPrimitive, isManufacturerAsPrimitive, isSupplier, isSupplier, isSupplierAsPrimitive, isSupplierAsPrimitive, setAddresses, setBillingAddress, setBillingAddress, setBuyer, setBuyer, setBuyer, setBuyer, setBuyerSpecificID, setBuyerSpecificID, setCarrier, setCarrier, setCarrier, setCarrier, setContact, setContact, setContactAddress, setContactAddress, setCountry, setCountry, setDunsID, setDunsID, setId, setId, setIlnID, setIlnID, setLineOfBuisness, setLineOfBuisness, setManufacturer, setManufacturer, setManufacturer, setManufacturer, setMedias, setMedias, setResponsibleCompany, setResponsibleCompany, setShippingAddress, setShippingAddress, setSupplier, setSupplier, setSupplier, setSupplier, setSupplierSpecificID, setSupplierSpecificID, setUnloadingAddress, setUnloadingAddress, setVatID, setVatID
-
Methods inherited from class de.hybris.platform.jalo.user.UserGroup
checkSystemPrincipal, createAddress, createAddress, getAllAddresses, isAdmin, setUid
-
Methods inherited from class de.hybris.platform.jalo.user.GeneratedUserGroup
getHmcXML, getHmcXML, getReadableLanguages, getReadableLanguages, getWriteableLanguages, getWriteableLanguages, setHmcXML, setHmcXML, setReadableLanguages, setReadableLanguages, setWriteableLanguages, setWriteableLanguages
-
Methods inherited from class de.hybris.platform.jalo.security.PrincipalGroup
addMember, addMember, addToGroup, addToGroups, containsMember, containsMember, getAllDisplayName, getAllLocNames, getDisplayName, getMembers, removeMember, removeMember, setAllLocNames, setGroups, setMembers
-
Methods inherited from class de.hybris.platform.jalo.security.GeneratedPrincipalGroup
addToMembers, addToMembers, getAllLocName, getAllLocName, getLocName, getLocName, getMaxBruteForceLoginAttempts, getMaxBruteForceLoginAttempts, getMaxBruteForceLoginAttemptsAsPrimitive, getMaxBruteForceLoginAttemptsAsPrimitive, getMembers, getMembersCount, getMembersCount, removeFromMembers, removeFromMembers, setAllLocName, setAllLocName, setLocName, setLocName, setMaxBruteForceLoginAttempts, setMaxBruteForceLoginAttempts, setMaxBruteForceLoginAttempts, setMaxBruteForceLoginAttempts, setMembers, setMembers
-
Methods inherited from class de.hybris.platform.jalo.security.Principal
addGlobalNegativePermission, addGlobalPermission, addGlobalPermissions, addGlobalPositivePermission, checkConsistencyUid, checkGlobalPermission, checkOwnGlobalPermission, clearGlobalPermission, clearGlobalPermissions, getAllDisplayName, getAllGlobalNegativePermissions, getAllGlobalPositivePermissions, getAllGroups, getAllGroups, getAllSearchRestrictions, getAllSearchRestrictions, getDisplayName, getGlobalNegativePermissions, getGlobalPermissions, getGlobalPositivePermissions, getGroups, getItemPermissionsMap, getUid, getUID, isMemberOf, isMemberOf, remove, removeFromGroup, setItemPermissionsByMap, setUID, toString
-
Methods inherited from class de.hybris.platform.jalo.security.GeneratedPrincipal
addToGroups, getDescription, getDescription, getGroups, getGroupsCount, getGroupsCount, getName, getName, getSearchRestrictions, getSearchRestrictions, getUid, removeFromGroups, removeFromGroups, setDescription, setDescription, setGroups, setName, setName, setUid
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, 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, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
REPORTINGORGANIZATION
public static final java.lang.String REPORTINGORGANIZATION
Qualifier of theB2BUnit.reportingOrganization
attribute- See Also:
- Constant Field Values
-
USERGROUPS
public static final java.lang.String USERGROUPS
Qualifier of theB2BUnit.UserGroups
attribute- See Also:
- Constant Field Values
-
COSTCENTERS
public static final java.lang.String COSTCENTERS
Qualifier of theB2BUnit.CostCenters
attribute- See Also:
- Constant Field Values
-
BUDGETS
public static final java.lang.String BUDGETS
Qualifier of theB2BUnit.Budgets
attribute- See Also:
- Constant Field Values
-
ORDERS
public static final java.lang.String ORDERS
Qualifier of theB2BUnit.Orders
attribute- See Also:
- Constant Field Values
-
CREDITLIMIT
public static final java.lang.String CREDITLIMIT
Qualifier of theB2BUnit.CreditLimit
attribute- See Also:
- Constant Field Values
-
QUOTELIMIT
public static final java.lang.String QUOTELIMIT
Qualifier of theB2BUnit.QuoteLimit
attribute- See Also:
- Constant Field Values
-
ACCOUNTMANAGER
public static final java.lang.String ACCOUNTMANAGER
Qualifier of theB2BUnit.accountManager
attribute- See Also:
- Constant Field Values
-
ACCOUNTMANAGERGROUPS
public static final java.lang.String ACCOUNTMANAGERGROUPS
Qualifier of theB2BUnit.AccountManagerGroups
attribute- See Also:
- Constant Field Values
-
B2BUNIT2ACCOUNTMANAGERGROUP_SRC_ORDERED
protected static java.lang.String B2BUNIT2ACCOUNTMANAGERGROUP_SRC_ORDERED
Relation ordering override parameter constants for B2BUnit2AccountManagerGroup from ((b2bcommerce))
-
B2BUNIT2ACCOUNTMANAGERGROUP_TGT_ORDERED
protected static java.lang.String B2BUNIT2ACCOUNTMANAGERGROUP_TGT_ORDERED
-
B2BUNIT2ACCOUNTMANAGERGROUP_MARKMODIFIED
protected static java.lang.String B2BUNIT2ACCOUNTMANAGERGROUP_MARKMODIFIED
Relation disable markmodifed parameter constants for B2BUnit2AccountManagerGroup from ((b2bcommerce))
-
USERGROUPSHANDLER
protected static final OneToManyHandler<B2BUserGroup> USERGROUPSHANDLER
OneToManyHandler
for handling 1:n USERGROUPS's relation attributes from 'many' side.
-
COSTCENTERSHANDLER
protected static final OneToManyHandler<B2BCostCenter> COSTCENTERSHANDLER
OneToManyHandler
for handling 1:n COSTCENTERS's relation attributes from 'many' side.
-
BUDGETSHANDLER
protected static final OneToManyHandler<B2BBudget> BUDGETSHANDLER
OneToManyHandler
for handling 1:n BUDGETS's relation attributes from 'many' side.
-
ORDERSHANDLER
protected static final OneToManyHandler<AbstractOrder> ORDERSHANDLER
OneToManyHandler
for handling 1:n ORDERS's relation attributes from 'many' side.
-
CREDITLIMITHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedB2BUnit> CREDITLIMITHANDLER
BidirectionalOneToManyHandler
for handling 1:n CREDITLIMIT's relation attributes from 'one' side.
-
QUOTELIMITHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedB2BUnit> QUOTELIMITHANDLER
BidirectionalOneToManyHandler
for handling 1:n QUOTELIMIT's relation attributes from 'one' side.
-
ACCOUNTMANAGERHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedB2BUnit> ACCOUNTMANAGERHANDLER
BidirectionalOneToManyHandler
for handling 1:n ACCOUNTMANAGER's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classGeneratedOrgUnit
-
getAccountManager
public Employee getAccountManager(SessionContext ctx)
Generated method - Getter of theB2BUnit.accountManager
attribute.- Returns:
- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
getAccountManager
public Employee getAccountManager()
Generated method - Getter of theB2BUnit.accountManager
attribute.- Returns:
- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
setAccountManager
public void setAccountManager(SessionContext ctx, Employee value)
Generated method - Setter of theB2BUnit.accountManager
attribute.- Parameters:
value
- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
setAccountManager
public void setAccountManager(Employee value)
Generated method - Setter of theB2BUnit.accountManager
attribute.- Parameters:
value
- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
getAccountManagerGroups
public java.util.Set<UserGroup> getAccountManagerGroups(SessionContext ctx)
Generated method - Getter of theB2BUnit.AccountManagerGroups
attribute.- Returns:
- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
getAccountManagerGroups
public java.util.Set<UserGroup> getAccountManagerGroups()
Generated method - Getter of theB2BUnit.AccountManagerGroups
attribute.- Returns:
- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
getAccountManagerGroupsCount
public long getAccountManagerGroupsCount(SessionContext ctx)
-
getAccountManagerGroupsCount
public long getAccountManagerGroupsCount()
-
setAccountManagerGroups
public void setAccountManagerGroups(SessionContext ctx, java.util.Set<UserGroup> value)
Generated method - Setter of theB2BUnit.AccountManagerGroups
attribute.- Parameters:
value
- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
setAccountManagerGroups
public void setAccountManagerGroups(java.util.Set<UserGroup> value)
Generated method - Setter of theB2BUnit.AccountManagerGroups
attribute.- Parameters:
value
- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
addToAccountManagerGroups
public void addToAccountManagerGroups(SessionContext ctx, UserGroup value)
Generated method - Addsvalue
to AccountManagerGroups.- Parameters:
value
- the item to add to AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
addToAccountManagerGroups
public void addToAccountManagerGroups(UserGroup value)
Generated method - Addsvalue
to AccountManagerGroups.- Parameters:
value
- the item to add to AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
removeFromAccountManagerGroups
public void removeFromAccountManagerGroups(SessionContext ctx, UserGroup value)
Generated method - Removesvalue
from AccountManagerGroups.- Parameters:
value
- the item to remove from AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
removeFromAccountManagerGroups
public void removeFromAccountManagerGroups(UserGroup value)
Generated method - Removesvalue
from AccountManagerGroups.- Parameters:
value
- the item to remove from AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
getBudgets
public java.util.List<B2BBudget> getBudgets(SessionContext ctx)
Generated method - Getter of theB2BUnit.Budgets
attribute.- Returns:
- the Budgets - Budgets associated to a Parent B2BUnit
-
getBudgets
public java.util.List<B2BBudget> getBudgets()
Generated method - Getter of theB2BUnit.Budgets
attribute.- Returns:
- the Budgets - Budgets associated to a Parent B2BUnit
-
setBudgets
public void setBudgets(SessionContext ctx, java.util.List<B2BBudget> value)
Generated method - Setter of theB2BUnit.Budgets
attribute.- Parameters:
value
- the Budgets - Budgets associated to a Parent B2BUnit
-
setBudgets
public void setBudgets(java.util.List<B2BBudget> value)
Generated method - Setter of theB2BUnit.Budgets
attribute.- Parameters:
value
- the Budgets - Budgets associated to a Parent B2BUnit
-
addToBudgets
public void addToBudgets(SessionContext ctx, B2BBudget value)
Generated method - Addsvalue
to Budgets.- Parameters:
value
- the item to add to Budgets - Budgets associated to a Parent B2BUnit
-
addToBudgets
public void addToBudgets(B2BBudget value)
Generated method - Addsvalue
to Budgets.- Parameters:
value
- the item to add to Budgets - Budgets associated to a Parent B2BUnit
-
removeFromBudgets
public void removeFromBudgets(SessionContext ctx, B2BBudget value)
Generated method - Removesvalue
from Budgets.- Parameters:
value
- the item to remove from Budgets - Budgets associated to a Parent B2BUnit
-
removeFromBudgets
public void removeFromBudgets(B2BBudget value)
Generated method - Removesvalue
from Budgets.- Parameters:
value
- the item to remove from Budgets - Budgets associated to a Parent B2BUnit
-
getCostCenters
public java.util.List<B2BCostCenter> getCostCenters(SessionContext ctx)
Generated method - Getter of theB2BUnit.CostCenters
attribute.- Returns:
- the CostCenters - CostCenters associated to a Parent B2BUnit
-
getCostCenters
public java.util.List<B2BCostCenter> getCostCenters()
Generated method - Getter of theB2BUnit.CostCenters
attribute.- Returns:
- the CostCenters - CostCenters associated to a Parent B2BUnit
-
setCostCenters
public void setCostCenters(SessionContext ctx, java.util.List<B2BCostCenter> value)
Generated method - Setter of theB2BUnit.CostCenters
attribute.- Parameters:
value
- the CostCenters - CostCenters associated to a Parent B2BUnit
-
setCostCenters
public void setCostCenters(java.util.List<B2BCostCenter> value)
Generated method - Setter of theB2BUnit.CostCenters
attribute.- Parameters:
value
- the CostCenters - CostCenters associated to a Parent B2BUnit
-
addToCostCenters
public void addToCostCenters(SessionContext ctx, B2BCostCenter value)
Generated method - Addsvalue
to CostCenters.- Parameters:
value
- the item to add to CostCenters - CostCenters associated to a Parent B2BUnit
-
addToCostCenters
public void addToCostCenters(B2BCostCenter value)
Generated method - Addsvalue
to CostCenters.- Parameters:
value
- the item to add to CostCenters - CostCenters associated to a Parent B2BUnit
-
removeFromCostCenters
public void removeFromCostCenters(SessionContext ctx, B2BCostCenter value)
Generated method - Removesvalue
from CostCenters.- Parameters:
value
- the item to remove from CostCenters - CostCenters associated to a Parent B2BUnit
-
removeFromCostCenters
public void removeFromCostCenters(B2BCostCenter value)
Generated method - Removesvalue
from CostCenters.- Parameters:
value
- the item to remove from CostCenters - CostCenters associated to a Parent B2BUnit
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.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; }
- Overrides:
createItem
in classOrgUnit
- Parameters:
ctx
- 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 )- Returns:
- the new item instance
- Throws:
JaloBusinessException
- indicates an error during creation - any changes will be rollbacked
-
getCreditLimit
public B2BCreditLimit getCreditLimit(SessionContext ctx)
Generated method - Getter of theB2BUnit.CreditLimit
attribute.- Returns:
- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
getCreditLimit
public B2BCreditLimit getCreditLimit()
Generated method - Getter of theB2BUnit.CreditLimit
attribute.- Returns:
- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
setCreditLimit
public void setCreditLimit(SessionContext ctx, B2BCreditLimit value)
Generated method - Setter of theB2BUnit.CreditLimit
attribute.- Parameters:
value
- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
setCreditLimit
public void setCreditLimit(B2BCreditLimit value)
Generated method - Setter of theB2BUnit.CreditLimit
attribute.- Parameters:
value
- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classGeneratedPrincipalGroup
-
getOrders
public java.util.Set<AbstractOrder> getOrders(SessionContext ctx)
Generated method - Getter of theB2BUnit.Orders
attribute.- Returns:
- the Orders
-
getOrders
public java.util.Set<AbstractOrder> getOrders()
Generated method - Getter of theB2BUnit.Orders
attribute.- Returns:
- the Orders
-
setOrders
public void setOrders(SessionContext ctx, java.util.Set<AbstractOrder> value)
Generated method - Setter of theB2BUnit.Orders
attribute.- Parameters:
value
- the Orders
-
setOrders
public void setOrders(java.util.Set<AbstractOrder> value)
Generated method - Setter of theB2BUnit.Orders
attribute.- Parameters:
value
- the Orders
-
addToOrders
public void addToOrders(SessionContext ctx, AbstractOrder value)
Generated method - Addsvalue
to Orders.- Parameters:
value
- the item to add to Orders
-
addToOrders
public void addToOrders(AbstractOrder value)
Generated method - Addsvalue
to Orders.- Parameters:
value
- the item to add to Orders
-
removeFromOrders
public void removeFromOrders(SessionContext ctx, AbstractOrder value)
Generated method - Removesvalue
from Orders.- Parameters:
value
- the item to remove from Orders
-
removeFromOrders
public void removeFromOrders(AbstractOrder value)
Generated method - Removesvalue
from Orders.- Parameters:
value
- the item to remove from Orders
-
getQuoteLimit
public B2BQuoteLimit getQuoteLimit(SessionContext ctx)
Generated method - Getter of theB2BUnit.QuoteLimit
attribute.- Returns:
- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
getQuoteLimit
public B2BQuoteLimit getQuoteLimit()
Generated method - Getter of theB2BUnit.QuoteLimit
attribute.- Returns:
- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
setQuoteLimit
public void setQuoteLimit(SessionContext ctx, B2BQuoteLimit value)
Generated method - Setter of theB2BUnit.QuoteLimit
attribute.- Parameters:
value
- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
setQuoteLimit
public void setQuoteLimit(B2BQuoteLimit value)
Generated method - Setter of theB2BUnit.QuoteLimit
attribute.- Parameters:
value
- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
getReportingOrganization
public B2BUnit getReportingOrganization(SessionContext ctx)
Generated method - Getter of theB2BUnit.reportingOrganization
attribute.- Returns:
- the reportingOrganization
-
getReportingOrganization
public B2BUnit getReportingOrganization()
Generated method - Getter of theB2BUnit.reportingOrganization
attribute.- Returns:
- the reportingOrganization
-
setReportingOrganization
public void setReportingOrganization(SessionContext ctx, B2BUnit value)
Generated method - Setter of theB2BUnit.reportingOrganization
attribute.- Parameters:
value
- the reportingOrganization
-
setReportingOrganization
public void setReportingOrganization(B2BUnit value)
Generated method - Setter of theB2BUnit.reportingOrganization
attribute.- Parameters:
value
- the reportingOrganization
-
getUserGroups
public java.util.Set<B2BUserGroup> getUserGroups(SessionContext ctx)
Generated method - Getter of theB2BUnit.UserGroups
attribute.- Returns:
- the UserGroups
-
getUserGroups
public java.util.Set<B2BUserGroup> getUserGroups()
Generated method - Getter of theB2BUnit.UserGroups
attribute.- Returns:
- the UserGroups
-
setUserGroups
public void setUserGroups(SessionContext ctx, java.util.Set<B2BUserGroup> value)
Generated method - Setter of theB2BUnit.UserGroups
attribute.- Parameters:
value
- the UserGroups
-
setUserGroups
public void setUserGroups(java.util.Set<B2BUserGroup> value)
Generated method - Setter of theB2BUnit.UserGroups
attribute.- Parameters:
value
- the UserGroups
-
addToUserGroups
public void addToUserGroups(SessionContext ctx, B2BUserGroup value)
Generated method - Addsvalue
to UserGroups.- Parameters:
value
- the item to add to UserGroups
-
addToUserGroups
public void addToUserGroups(B2BUserGroup value)
Generated method - Addsvalue
to UserGroups.- Parameters:
value
- the item to add to UserGroups
-
removeFromUserGroups
public void removeFromUserGroups(SessionContext ctx, B2BUserGroup value)
Generated method - Removesvalue
from UserGroups.- Parameters:
value
- the item to remove from UserGroups
-
removeFromUserGroups
public void removeFromUserGroups(B2BUserGroup value)
Generated method - Removesvalue
from UserGroups.- Parameters:
value
- the item to remove from UserGroups
-
-