Package de.hybris.platform.b2b.model
Class B2BUnitModel
java.lang.Object
- All Implemented Interfaces:
Serializable
Generated model class for type B2BUnit first defined at extension b2bcommerce.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofB2BUnit.accountManagerattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BUnit.Approversattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BUnit.Budgetsattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.CostCentersattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.documentattribute defined at extensionaccountsummaryaddon.static final StringGenerated constant - Attribute key ofB2BUnit.Ordersattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.static final StringGenerated constant - Attribute key ofB2BUnit.UserGroupsattribute defined at extensionb2bcommerce.Fields inherited from class de.hybris.platform.commerceservices.model.OrgUnitModel
ACTIVE, PATHFields inherited from class de.hybris.platform.catalog.model.CompanyModel
ADDRESSES, BILLINGADDRESS, BILLINGADDRESSES, BUYER, BUYERSPECIFICID, CARRIER, CONTACT, CONTACTADDRESS, CONTACTADDRESSES, COUNTRY, DUNSID, ID, ILNID, LINEOFBUISNESS, MANUFACTURER, MEDIAS, PROVIDEDCATALOGS, PURCHASEDCATALOGS, RESPONSIBLECOMPANY, SHIPPINGADDRESS, SHIPPINGADDRESSES, SUPPLIER, SUPPLIERSPECIFICID, UNLOADINGADDRESS, UNLOADINGADDRESSES, VATIDFields inherited from class de.hybris.platform.core.model.user.UserGroupModel
_BACKOFFICESAVEDQUERY2USERGROUPRELATION, _SAMLUSERGROUPTOUSERGROUPRELATION, _USERGROUPSFORRESTRICTION, _VENDOR2USERGROUPRELATION, DENYWRITEPERMISSIONFORALLLANGUAGES, HMCXML, READABLELANGUAGES, RESTRICTIONS, SAMLUSERGROUPS, SAVEDQUERIES, USERDISCOUNTGROUP, USERPRICEGROUP, USERTAXGROUP, VENDOR, WRITEABLELANGUAGESFields inherited from class de.hybris.platform.core.model.security.PrincipalGroupModel
_PRINCIPALGROUPRELATION, LOCNAME, MAXBRUTEFORCELOGINATTEMPTS, MEMBERSFields inherited from class de.hybris.platform.core.model.security.PrincipalModel
_CATEGORY2PRINCIPALRELATION, _COMMENTWATCHERRELATION, _PRINCIPAL2COCKPITUICOMPONENTREADACCESSRELATION, _PRINCIPAL2COCKPITUICOMPONENTWRITEACCESSRELATION, _SYNCITEMJOB2PRINCIPAL, _WORKFLOWTEMPLATE2PRINCIPALRELATION, ACCESSIBLECATEGORIES, ALLGROUPS, ALLSEARCHRESTRICTIONS, BACKOFFICELOGINDISABLED, CN, COCKPITUICONFIGURATIONS, DESCRIPTION, DISPLAYNAME, DN, GROUPS, LDAPSEARCHBASE, NAME, PROFILEPICTURE, READABLECATALOGVERSIONS, READABLECOCKPITUICOMPONENTS, READCOLLECTIONS, READSAVEDQUERIES, SEARCHRESTRICTIONS, SYNCJOBS, UID, VISIBLETEMPLATES, WATCHEDCOMMENTS, WRITABLECATALOGVERSIONS, WRITABLECOCKPITUICOMPONENTS, WRITECOLLECTIONSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.B2BUnitModel(ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing contextB2BUnitModel(String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theB2BUnit.accountManagerattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BUnit.Approversattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BUnit.Budgetsattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.CostCentersattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.documentattribute defined at extensionaccountsummaryaddon.Generated method - Getter of theB2BUnit.Ordersattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.Generated method - Getter of theB2BUnit.UserGroupsattribute defined at extensionb2bcommerce.voidsetAccountManager(EmployeeModel value) Generated method - Setter ofB2BUnit.accountManagerattribute defined at extensionb2bcommerce.voidsetAccountManagerGroups(Set<UserGroupModel> value) Generated method - Setter ofB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce.voidsetApprovalProcessCode(String value) Generated method - Setter ofB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.voidsetApproverGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess.voidsetApprovers(Set<B2BCustomerModel> value) Generated method - Setter ofB2BUnit.Approversattribute defined at extensionb2bapprovalprocess.voidsetBudgets(List<B2BBudgetModel> value) Generated method - Setter ofB2BUnit.Budgetsattribute defined at extensionb2bcommerce.voidsetCostCenters(List<B2BCostCenterModel> value) Generated method - Setter ofB2BUnit.CostCentersattribute defined at extensionb2bcommerce.voidGenerated method - Setter ofB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.voidsetDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BUnit.documentattribute defined at extensionaccountsummaryaddon.voidsetOrders(Set<AbstractOrderModel> value) Generated method - Setter ofB2BUnit.Ordersattribute defined at extensionb2bcommerce.voidsetPermissions(Set<B2BPermissionModel> value) Generated method - Setter ofB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess.voidsetQuoteLimit(B2BQuoteLimitModel value) Generated method - Setter ofB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.voidGenerated method - Setter ofB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.voidsetUserGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BUnit.UserGroupsattribute defined at extensionb2bcommerce.Methods inherited from class de.hybris.platform.commerceservices.model.OrgUnitModel
getActive, getPath, setActive, setPathMethods inherited from class de.hybris.platform.catalog.model.CompanyModel
getAddresses, getBillingAddress, getBillingAddresses, getBuyer, getBuyerSpecificID, getCarrier, getContact, getContactAddress, getContactAddresses, getCountry, getDunsID, getId, getIlnID, getLineOfBuisness, getManufacturer, getMedias, getProvidedCatalogs, getPurchasedCatalogs, getResponsibleCompany, getShippingAddress, getShippingAddresses, getSupplier, getSupplierSpecificID, getUnloadingAddress, getUnloadingAddresses, getVatID, setAddresses, setBillingAddress, setBuyer, setBuyerSpecificID, setCarrier, setContact, setContactAddress, setCountry, setDunsID, setId, setIlnID, setLineOfBuisness, setManufacturer, setMedias, setResponsibleCompany, setShippingAddress, setSupplier, setSupplierSpecificID, setUnloadingAddress, setVatIDMethods inherited from class de.hybris.platform.core.model.user.UserGroupModel
getDenyWritePermissionForAllLanguages, getHmcXML, getReadableLanguages, getRestrictions, getSavedQueries, getUserDiscountGroup, getUserPriceGroup, getUserTaxGroup, getVendor, getWriteableLanguages, setDenyWritePermissionForAllLanguages, setHmcXML, setReadableLanguages, setRestrictions, setSavedQueries, setUserDiscountGroup, setUserPriceGroup, setUserTaxGroup, setVendor, setWriteableLanguagesMethods inherited from class de.hybris.platform.core.model.security.PrincipalGroupModel
getLocname, getLocname, getLocName, getLocName, getMaxBruteForceLoginAttempts, getMembers, setLocname, setLocname, setLocName, setLocName, setMaxBruteForceLoginAttempts, setMembersMethods inherited from class de.hybris.platform.core.model.security.PrincipalModel
getAccessibleCategories, getAllgroups, getAllGroups, getAllsearchrestrictions, getAllSearchRestrictions, getBackOfficeLoginDisabled, getCN, getCockpitUIConfigurations, getDescription, getDisplayName, getDisplayName, getDN, getGroups, getLdapsearchbase, getName, getProfilePicture, getReadableCatalogVersions, getReadableCockpitUIComponents, getReadCollections, getReadSavedQueries, getSearchrestrictions, getSearchRestrictions, getSyncJobs, getUid, getVisibleTemplates, getWatchedComments, getWritableCatalogVersions, getWritableCockpitUIComponents, getWriteCollections, setBackOfficeLoginDisabled, setCN, setCockpitUIConfigurations, setDescription, setDN, setGroups, setLdapsearchbase, setName, setProfilePicture, setReadableCatalogVersions, setReadableCockpitUIComponents, setReadCollections, setReadSavedQueries, setSyncJobs, setUid, setVisibleTemplates, setWatchedComments, setWritableCatalogVersions, setWritableCockpitUIComponents, setWriteCollectionsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
REPORTINGORGANIZATION
Generated constant - Attribute key ofB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.- See Also:
-
USERGROUPS
Generated constant - Attribute key ofB2BUnit.UserGroupsattribute defined at extensionb2bcommerce.- See Also:
-
COSTCENTERS
Generated constant - Attribute key ofB2BUnit.CostCentersattribute defined at extensionb2bcommerce.- See Also:
-
BUDGETS
Generated constant - Attribute key ofB2BUnit.Budgetsattribute defined at extensionb2bcommerce.- See Also:
-
ORDERS
Generated constant - Attribute key ofB2BUnit.Ordersattribute defined at extensionb2bcommerce.- See Also:
-
CREDITLIMIT
Generated constant - Attribute key ofB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.- See Also:
-
QUOTELIMIT
Generated constant - Attribute key ofB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.- See Also:
-
ACCOUNTMANAGER
Generated constant - Attribute key ofB2BUnit.accountManagerattribute defined at extensionb2bcommerce.- See Also:
-
ACCOUNTMANAGERGROUPS
Generated constant - Attribute key ofB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce.- See Also:
-
APPROVALPROCESSCODE
Generated constant - Attribute key ofB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.- See Also:
-
APPROVERGROUPS
Generated constant - Attribute key ofB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- See Also:
-
PERMISSIONS
Generated constant - Attribute key ofB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess.- See Also:
-
APPROVERS
Generated constant - Attribute key ofB2BUnit.Approversattribute defined at extensionb2bapprovalprocess.- See Also:
-
DOCUMENT
Generated constant - Attribute key ofB2BUnit.documentattribute defined at extensionaccountsummaryaddon.- See Also:
-
-
Constructor Details
-
B2BUnitModel
public B2BUnitModel()Generated constructor - Default constructor for generic creation. -
B2BUnitModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
B2BUnitModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_uid- initial attribute declared by typePrincipalat extensioncore
-
B2BUnitModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
-
Method Details
-
getAccountManager
Generated method - Getter of theB2BUnit.accountManagerattribute defined at extensionb2bcommerce.- Returns:
- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
getAccountManagerGroups
@Accessor(qualifier="AccountManagerGroups", type=GETTER) public Set<UserGroupModel> getAccountManagerGroups()Generated method - Getter of theB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
getApprovalProcessCode
Generated method - Getter of theB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.- Returns:
- the approvalProcessCode - A name of the process to be consumed by process engine for b2b order approval as defined in the process definition file.
-
getApproverGroups
@Accessor(qualifier="ApproverGroups", type=GETTER) public Set<B2BUserGroupModel> getApproverGroups()Generated method - Getter of theB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ApproverGroups - User groups associated to a B2BUnit that hold other employees who can approve orders
-
getApprovers
Generated method - Getter of theB2BUnit.Approversattribute defined at extensionb2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Approvers - Approvers associated to a customer
-
getBudgets
Generated method - Getter of theB2BUnit.Budgetsattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Budgets - Budgets associated to a Parent B2BUnit
-
getCostCenters
Generated method - Getter of theB2BUnit.CostCentersattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the CostCenters - CostCenters associated to a Parent B2BUnit
-
getCreditLimit
Generated method - Getter of theB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.- Returns:
- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
getDocument
Generated method - Getter of theB2BUnit.documentattribute defined at extensionaccountsummaryaddon. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the document
-
getOrders
Generated method - Getter of theB2BUnit.Ordersattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Orders
-
getPermissions
Generated method - Getter of theB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the Permissions - Permissions associated to a unit B2BUnit
-
getQuoteLimit
Generated method - Getter of theB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.- Returns:
- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
getReportingOrganization
@Accessor(qualifier="reportingOrganization", type=GETTER) public B2BUnitModel getReportingOrganization()Generated method - Getter of theB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.- Returns:
- the reportingOrganization
-
getUserGroups
Generated method - Getter of theB2BUnit.UserGroupsattribute defined at extensionb2bcommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the UserGroups
-
setAccountManager
@Accessor(qualifier="accountManager", type=SETTER) public void setAccountManager(EmployeeModel value) Generated method - Setter ofB2BUnit.accountManagerattribute defined at extensionb2bcommerce.- Parameters:
value- the accountManager - Employee-Account Manager associated to a Parent B2BUnit
-
setAccountManagerGroups
@Accessor(qualifier="AccountManagerGroups", type=SETTER) public void setAccountManagerGroups(Set<UserGroupModel> value) Generated method - Setter ofB2BUnit.AccountManagerGroupsattribute defined at extensionb2bcommerce.- Parameters:
value- the AccountManagerGroups - User groups associated to a B2BUnit that hold other employees who can approve quotes
-
setApprovalProcessCode
@Accessor(qualifier="approvalProcessCode", type=SETTER) public void setApprovalProcessCode(String value) Generated method - Setter ofB2BUnit.approvalProcessCodeattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the approvalProcessCode - A name of the process to be consumed by process engine for b2b order approval as defined in the process definition file.
-
setApproverGroups
@Accessor(qualifier="ApproverGroups", type=SETTER) public void setApproverGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BUnit.ApproverGroupsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the ApproverGroups - User groups associated to a B2BUnit that hold other employees who can approve orders
-
setApprovers
Generated method - Setter ofB2BUnit.Approversattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the Approvers - Approvers associated to a customer
-
setBudgets
Generated method - Setter ofB2BUnit.Budgetsattribute defined at extensionb2bcommerce.- Parameters:
value- the Budgets - Budgets associated to a Parent B2BUnit
-
setCostCenters
@Accessor(qualifier="CostCenters", type=SETTER) public void setCostCenters(List<B2BCostCenterModel> value) Generated method - Setter ofB2BUnit.CostCentersattribute defined at extensionb2bcommerce.- Parameters:
value- the CostCenters - CostCenters associated to a Parent B2BUnit
-
setCreditLimit
@Accessor(qualifier="CreditLimit", type=SETTER) public void setCreditLimit(B2BCreditLimitModel value) Generated method - Setter ofB2BUnit.CreditLimitattribute defined at extensionb2bcommerce.- Parameters:
value- the CreditLimit - Merchant Check associated to a Parent B2BUnit
-
setDocument
@Accessor(qualifier="document", type=SETTER) public void setDocument(Collection<B2BDocumentModel> value) Generated method - Setter ofB2BUnit.documentattribute defined at extensionaccountsummaryaddon.- Parameters:
value- the document
-
setOrders
Generated method - Setter ofB2BUnit.Ordersattribute defined at extensionb2bcommerce.- Parameters:
value- the Orders
-
setPermissions
@Accessor(qualifier="Permissions", type=SETTER) public void setPermissions(Set<B2BPermissionModel> value) Generated method - Setter ofB2BUnit.Permissionsattribute defined at extensionb2bapprovalprocess.- Parameters:
value- the Permissions - Permissions associated to a unit B2BUnit
-
setQuoteLimit
Generated method - Setter ofB2BUnit.QuoteLimitattribute defined at extensionb2bcommerce.- Parameters:
value- the QuoteLimit - Minimum Amount on Cart for qualifying for Quote Request
-
setReportingOrganization
@Accessor(qualifier="reportingOrganization", type=SETTER) public void setReportingOrganization(B2BUnitModel value) Generated method - Setter ofB2BUnit.reportingOrganizationattribute defined at extensionb2bcommerce.- Parameters:
value- the reportingOrganization
-
setUserGroups
@Accessor(qualifier="UserGroups", type=SETTER) public void setUserGroups(Set<B2BUserGroupModel> value) Generated method - Setter ofB2BUnit.UserGroupsattribute defined at extensionb2bcommerce.- Parameters:
value- the UserGroups
-