Interface Permission
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
Permission.PermissionEnum
Permissions grant granular access to Business Units, Carts, Orders, Quotes, and Quote Requests.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of Permission -
Field Summary
Modifier and TypeFieldDescriptionstatic final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
static final Permission
-
Method Summary
Modifier and TypeMethodDescriptionstatic Permission
factory method for a enum value of Permission if no enum has been found an anonymous instance will be createdstatic Optional<Permission>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic Permission[]
values()
possible enum values
-
Field Details
-
ADD_CHILD_UNITS
-
UPDATE_ASSOCIATES
-
UPDATE_BUSINESS_UNIT_DETAILS
-
UPDATE_PARENT_UNIT
-
VIEW_MY_CARTS
-
VIEW_OTHERS_CARTS
-
UPDATE_MY_CARTS
-
UPDATE_OTHERS_CARTS
-
CREATE_MY_CARTS
-
CREATE_OTHERS_CARTS
-
DELETE_MY_CARTS
-
DELETE_OTHERS_CARTS
-
VIEW_MY_ORDERS
-
VIEW_OTHERS_ORDERS
-
UPDATE_MY_ORDERS
-
UPDATE_OTHERS_ORDERS
-
CREATE_MY_ORDERS_FROM_MY_CARTS
-
CREATE_MY_ORDERS_FROM_MY_QUOTES
-
CREATE_ORDERS_FROM_OTHERS_CARTS
-
CREATE_ORDERS_FROM_OTHERS_QUOTES
-
VIEW_MY_QUOTES
-
VIEW_OTHERS_QUOTES
-
ACCEPT_MY_QUOTES
-
ACCEPT_OTHERS_QUOTES
-
DECLINE_MY_QUOTES
-
DECLINE_OTHERS_QUOTES
-
RENEGOTIATE_MY_QUOTES
-
RENEGOTIATE_OTHERS_QUOTES
-
REASSIGN_MY_QUOTES
-
REASSIGN_OTHERS_QUOTES
-
VIEW_MY_QUOTE_REQUESTS
-
VIEW_OTHERS_QUOTE_REQUESTS
-
UPDATE_MY_QUOTE_REQUESTS
-
UPDATE_OTHERS_QUOTE_REQUESTS
-
CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS
-
CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of Permission if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-