| Modifier and Type | Class and Description |
|---|---|
class |
DefaultB2BOrgUnitDao<T extends OrgUnitModel>
Overrides the implementation of commerceservice's
DefaultOrgUnitDao method by
using B2B specific B2B_QUOTE_TO_EMPLOYEE_JOINS clause to build a query string. |
| Modifier and Type | Class and Description |
|---|---|
class |
B2BUnitModel
Generated model class for type B2BUnit first defined at extension b2bcommerce.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
OrgUnitCustomersLogicHandler.handleSaveMembers(WidgetInstanceManager widgetInstanceManager,
OrgUnitModel unit) |
void |
OrgUnitCustomersEditor.render(Component parent,
CustomPanel customPanel,
OrgUnitModel currentObject,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
| Modifier and Type | Method and Description |
|---|---|
protected OrgUnitModel |
DefaultB2BUnitFacadeIntegrationTest.getUnitForUid(java.lang.String uid) |
protected OrgUnitModel |
DefaultB2BUnitFacadeSkipPathGenerationIntegrationTest.getUnitForUid(java.lang.String uid) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
OrgUnitLogicHandler.handleSaveMembers(WidgetInstanceManager widgetInstanceManager,
OrgUnitModel unit) |
void |
OrgUnitEmployeesEditor.render(Component parent,
CustomPanel customPanel,
OrgUnitModel currentObject,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
EnableOrgUnitAction.canActivate(OrgUnitModel orgUnitModel)
Checks if a parent orgunit is active
|
| Constructor and Description |
|---|
GenerateOrgUnitPathsJob(java.lang.Class<? extends OrgUnitModel> type)
Constructor setting the type to generate unit paths for
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
OrgUnitDao<T extends OrgUnitModel>
Interface for
OrgUnitModel related paged data access. |
| Modifier and Type | Method and Description |
|---|---|
<U extends OrgUnitModel> |
OrgUnitDao.findAllUnits(java.util.List<U> units,
PageableData pageableData)
Find all units in the branches.
|
<U extends OrgUnitModel> |
OrgUnitDao.findRootUnits(java.lang.Class<U> type,
PageableData pageableData)
Find all root units of the given type, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
<U extends PrincipalModel> |
OrgUnitDao.findMembersOfType(OrgUnitModel unit,
java.lang.Class<U> memberType,
PageableData pageableData)
Find all unit members of a given type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultOrgUnitDao<T extends OrgUnitModel>
Default implementation of the
OrgUnitDao interface extending DefaultPagedGenericDao. |
| Modifier and Type | Method and Description |
|---|---|
<U extends OrgUnitModel> |
DefaultOrgUnitDao.findAllUnits(java.util.List<U> units,
PageableData pageableData) |
<U extends OrgUnitModel> |
DefaultOrgUnitDao.findRootUnits(java.lang.Class<U> type,
PageableData pageableData) |
| Modifier and Type | Method and Description |
|---|---|
<U extends PrincipalModel> |
DefaultOrgUnitDao.findMembersOfType(OrgUnitModel unit,
java.lang.Class<U> memberType,
PageableData pageableData) |
| Constructor and Description |
|---|
OrgUnitAfterInitializationEndEventListener(java.lang.Class<? extends OrgUnitModel> unitType)
Constructor setting the type to generate unit paths for
|
| Modifier and Type | Method and Description |
|---|---|
<T extends OrgUnitModel> |
OrgUnitHierarchyService.generateUnitPaths(java.lang.Class<T> unitType)
Generates the
path value of all OrgUnitModel objects of the given unit type. |
| Modifier and Type | Method and Description |
|---|---|
OrgUnitModel |
OrgUnitParameter.getOrgUnit() |
OrgUnitModel |
OrgUnitParameter.getParentUnit() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<OrgUnitModel> |
OrgUnitService.getParent(OrgUnitModel orgUnit)
Gets the parent unit of a unit.
|
java.util.Optional<OrgUnitModel> |
OrgUnitService.getUnitForUid(java.lang.String uid)
Get the organizational unit with the given uid.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OrgUnitService.activateUnit(OrgUnitModel orgUnit)
Activate the organizational unit with the given orgUnit.
|
void |
OrgUnitService.deactivateUnit(OrgUnitModel orgUnit)
Deactivate the organizational unit and all of its child units with the given orgUnit.
|
java.util.Optional<OrgUnitModel> |
OrgUnitService.getParent(OrgUnitModel orgUnit)
Gets the parent unit of a unit.
|
void |
OrgUnitHierarchyService.saveChangesAndUpdateUnitPath(OrgUnitModel unit)
Saves all changes to the given
OrgUnitModel and updates its path value as well as the
path values for all its descendants of the same type subsequently. |
void |
OrgUnitParameter.setOrgUnit(OrgUnitModel orgUnit) |
void |
OrgUnitParameter.setParentUnit(OrgUnitModel parentUnit) |
| Modifier and Type | Method and Description |
|---|---|
<T extends OrgUnitModel> |
DefaultOrgUnitHierarchyService.generateUnitPaths(java.lang.Class<T> unitType)
Generates the
path value of all OrgUnitModel objects of the given unit type. |
| Modifier and Type | Method and Description |
|---|---|
protected OrgUnitModel |
DefaultOrgUnitHierarchyService.getParentUnit(OrgUnitModel unit) |
static OrgUnitModel |
OrgUnitServiceTestUtil.getParentUnit(OrgUnitModel unit,
DefaultOrgUnitService defaultOrgUnitService) |
static OrgUnitModel |
OrgUnitServiceTestUtil.getUnit(java.lang.String uid,
DefaultOrgUnitService defaultOrgUnitService) |
protected OrgUnitModel |
DefaultOrgUnitHierarchyServiceIntegrationTest.getUnitForUid(java.lang.String uid) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitHierarchyService.generatePathForUnit(OrgUnitModel unit,
OrgUnitModel parentUnit) |
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitHierarchyService.getChildrenOfSameType(OrgUnitModel unit) |
protected OrgUnitDao<OrgUnitModel> |
DefaultOrgUnitQuoteService.getOrgUnitDao() |
java.util.Optional<OrgUnitModel> |
DefaultOrgUnitService.getParent(OrgUnitModel orgUnit) |
java.util.Optional<OrgUnitModel> |
DefaultOrgUnitService.getUnitForUid(java.lang.String uid) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOrgUnitService.activateUnit(OrgUnitModel orgUnit) |
protected void |
DefaultOrgUnitHierarchyService.beforeUpdate(OrgUnitModel unit,
OrgUnitModel parentUnit) |
static OrgUnitParameter |
OrgUnitServiceTestUtil.createOrgUnitParam(OrgUnitModel orgUnit,
OrgUnitModel parentUnit,
java.lang.String uid,
java.lang.String name,
java.lang.Boolean active,
java.lang.String description) |
void |
DefaultOrgUnitService.deactivateUnit(OrgUnitModel orgUnit) |
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitHierarchyService.generatePathForUnit(OrgUnitModel unit,
OrgUnitModel parentUnit) |
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitHierarchyService.getChildrenOfSameType(OrgUnitModel unit) |
java.util.Optional<OrgUnitModel> |
DefaultOrgUnitService.getParent(OrgUnitModel orgUnit) |
protected OrgUnitModel |
DefaultOrgUnitHierarchyService.getParentUnit(OrgUnitModel unit) |
static OrgUnitModel |
OrgUnitServiceTestUtil.getParentUnit(OrgUnitModel unit,
DefaultOrgUnitService defaultOrgUnitService) |
void |
DefaultOrgUnitHierarchyService.saveChangesAndUpdateUnitPath(OrgUnitModel unit)
Saves all changes to the given
OrgUnitModel and updates its path value as well as the
path values for all its descendants of the same type subsequently. |
protected boolean |
DefaultOrgUnitService.setParentUnit(OrgUnitModel orgUnit,
OrgUnitModel newParentUnit) |
protected void |
DefaultOrgUnitHierarchyService.updateUnitPath(OrgUnitModel unit) |
protected void |
DefaultOrgUnitHierarchyService.validatePath(OrgUnitModel parentUnit) |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends PrincipalModel> |
DefaultOrgUnitService.addRemoveMembers(OrgUnitMemberParameter<T> parameter,
java.util.function.BiConsumer<java.util.Set<PrincipalGroupModel>,OrgUnitModel> consumer) |
void |
DefaultOrgUnitQuoteService.setOrgUnitDao(OrgUnitDao<OrgUnitModel> orgUnitDao) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OrgUnitActivationStrategy<T extends OrgUnitModel>
Strategy for activating and deactivating an
OrgUnitModel. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitActivationStrategy.getBranch(OrgUnitModel node) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOrgUnitActivationStrategy.activateUnit(OrgUnitModel unit) |
void |
DefaultOrgUnitActivationStrategy.deactivateUnit(OrgUnitModel unit) |
protected java.util.Set<OrgUnitModel> |
DefaultOrgUnitActivationStrategy.getBranch(OrgUnitModel node) |
protected void |
DefaultOrgUnitActivationStrategy.toggleUnit(OrgUnitModel unit,
boolean activate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultOrgUnitActivationStrategy.processBranch(java.util.Set<OrgUnitModel> branchUnits,
Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
OrgUnitModel |
OrgUnitResource.getOrgUnitModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected OrgUnitModel |
OrgUnitResource.readResource(java.lang.String resourceId)
Gets the
OrgUnitModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<OrgUnitModel> |
OrgUnitsResource.getOrgUnitsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrgUnitResource.setOrgUnitModel(OrgUnitModel value)
Convenience method which just delegates to
#setResourceValue(OrgUnitModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrgUnitsResource.setOrgUnitsCollection(java.util.Collection<OrgUnitModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
Copyright © 2018 SAP SE. All Rights Reserved.