ItemPolicyBuilder
Builder for creating instances of ItemPolicy.
Constructors
ItemPolicyBuilder
Creates instance of ItemPolicyBuilder initialized with Bridge's default policy values.
ItemPolicyBuilder
Creates instance of ItemPolicyBuilder from existing ItemPolicy instance.
Params
itemPolicy
ItemPolicy
the existing ItemPolicy instance to copy values from.
Methods
build
Creates ItemPolicy from current state.
Returns
ItemPolicy
·
new ItemPolicy instance created from this builder policies.
setCreate
Sets ItemPolicy#create policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
setDelete
Sets ItemPolicy#delete policy value.
Params
policyValue
ItemPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
setGet
Sets ItemPolicy#get policy value.
Params
policyValue
ItemPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
setListAll
Sets ItemPolicy#listAll policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
setListMy
Sets ItemPolicy#listMy policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
setUpdate
Sets ItemPolicy#update policy value.
Params
policyValue
ItemPolicyValue
policy value to set
Returns
ItemPolicyBuilder
·
ItemPolicyBuilder instance to allow for method chaining.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.