public interface Category extends Service, CategoryTypes
Category
interface provides methods to create, read, update, delete,
and enumerate categories.CategoryTypes.CreateSpec, CategoryTypes.UpdateSpec
Modifier and Type | Method and Description |
---|---|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
|
void |
addToUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
java.lang.String |
create(CategoryTypes.CreateSpec createSpec)
Creates a category.
|
void |
create(CategoryTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback)
Creates a category.
|
void |
create(CategoryTypes.CreateSpec createSpec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Creates a category.
|
java.lang.String |
create(CategoryTypes.CreateSpec createSpec,
InvocationConfig invocationConfig)
Creates a category.
|
void |
delete(java.lang.String categoryId)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes an existing category.
|
void |
delete(java.lang.String categoryId,
InvocationConfig invocationConfig)
Deletes an existing category.
|
CategoryModel |
get(java.lang.String categoryId)
Fetches the category information for the given category identifier.
|
void |
get(java.lang.String categoryId,
AsyncCallback<CategoryModel> asyncCallback)
Fetches the category information for the given category identifier.
|
void |
get(java.lang.String categoryId,
AsyncCallback<CategoryModel> asyncCallback,
InvocationConfig invocationConfig)
Fetches the category information for the given category identifier.
|
CategoryModel |
get(java.lang.String categoryId,
InvocationConfig invocationConfig)
Fetches the category information for the given category identifier.
|
java.util.List<java.lang.String> |
list()
Enumerates the categories in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates the categories in the system.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates the categories in the system.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Enumerates the categories in the system.
|
java.util.List<java.lang.String> |
listUsedCategories(java.lang.String usedByEntity)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
listUsedCategories(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
listUsedCategories(java.lang.String usedByEntity,
AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
java.util.List<java.lang.String> |
listUsedCategories(java.lang.String usedByEntity,
InvocationConfig invocationConfig)
Enumerates all categories for which the
usedByEntity is part of the
CategoryModel.getUsedBy() subscribers Set . |
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
|
void |
removeFromUsedBy(java.lang.String categoryId,
java.lang.String usedByEntity,
InvocationConfig invocationConfig)
|
void |
revokePropagatingPermissions(java.lang.String categoryId)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given category.
|
void |
revokePropagatingPermissions(java.lang.String categoryId,
InvocationConfig invocationConfig)
Revokes all propagating permissions on the given category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates an existing category.
|
void |
update(java.lang.String categoryId,
CategoryTypes.UpdateSpec updateSpec,
InvocationConfig invocationConfig)
Updates an existing category.
|
java.lang.String create(CategoryTypes.CreateSpec createSpec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
createSpec
- Specification for the new category to be created.com.vmware.cis.tagging.Category
.AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.InvalidArgument
- if any of the information in the createSpec
is invalid.Unauthorized
- if you do not have the privilege to create a category.java.lang.String create(CategoryTypes.CreateSpec createSpec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
createSpec
- Specification for the new category to be created.invocationConfig
- Configuration for the method invocation.com.vmware.cis.tagging.Category
.AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.InvalidArgument
- if any of the information in the createSpec
is invalid.Unauthorized
- if you do not have the privilege to create a category.void create(CategoryTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The identifier of the created category.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Category
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the createSpec
is invalid.
Unauthorized
- if you do not have the privilege to create a category.
createSpec
- Specification for the new category to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(CategoryTypes.CreateSpec createSpec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The identifier of the created category.
The return value will be an identifier for the resource type: com.vmware.cis.tagging.Category
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.CreateSpec.getName()
provided
in the createSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the createSpec
is invalid.
Unauthorized
- if you do not have the privilege to create a category.
createSpec
- Specification for the new category to be created.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.CategoryModel get(java.lang.String categoryId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.CategoryModel
that corresponds to categoryId
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to read the category.CategoryModel get(java.lang.String categoryId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.CategoryModel
that corresponds to categoryId
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to read the category.void get(java.lang.String categoryId, AsyncCallback<CategoryModel> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The CategoryModel
that corresponds to categoryId
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String categoryId, AsyncCallback<CategoryModel> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The CategoryModel
that corresponds to categoryId
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to read the category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.InvalidArgument
- if any of the information in the updateSpec
is invalid.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to update the category.void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.invocationConfig
- Configuration for the method invocation.AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.InvalidArgument
- if any of the information in the updateSpec
is invalid.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to update the category.void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the updateSpec
is invalid.
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the category.
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String categoryId, CategoryTypes.UpdateSpec updateSpec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists
- if the CategoryTypes.UpdateSpec.getName()
provided
in the updateSpec
is the name of an already existing category.
InvalidArgument
- if any of the information in the updateSpec
is invalid.
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to update the category.
categoryId
- The identifier of the category to be updated.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.updateSpec
- Specification to update the category.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String categoryId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of category to be deleted.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to delete the category.void delete(java.lang.String categoryId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of category to be deleted.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to delete the category.void delete(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the category.
categoryId
- The identifier of category to be deleted.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to delete the category.
categoryId
- The identifier of category to be deleted.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> list()
List
will
only contain those categories for which you have read privileges.
Synchronous method overload. Result of the invocation will be reported as a method return value.
List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
List
will
only contain those categories for which you have read privileges.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
List
will
only contain those categories for which you have read privileges.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
List
will
only contain those categories for which you have read privileges.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The List
of resource identifiers for the categories in the
system.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<java.lang.String> listUsedCategories(java.lang.String usedByEntity)
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Synchronous method overload. Result of the invocation will be reported as a method return value.
usedByEntity
- The field on which the results will be filtered.List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.java.util.List<java.lang.String> listUsedCategories(java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
usedByEntity
- The field on which the results will be filtered.invocationConfig
- Configuration for the method invocation.List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.void listUsedCategories(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void listUsedCategories(java.lang.String usedByEntity, AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
is part of the
CategoryModel.getUsedBy()
subscribers Set
. To invoke this method, you need the read privilege on the
individual categories.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The List
of resource identifiers for the categories in the
system that are used by usedByEntity
.
The return value will contain identifiers for the resource type: com.vmware.cis.tagging.Category
.
usedByEntity
- The field on which the results will be filtered.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity)
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void addToUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
to the CategoryModel.getUsedBy()
subscribers Set
for the specified category. If the usedByEntity
is
already in the Set
, then this becomes an idempotent no-op. To
invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to add an entity to the CategoryModel.getUsedBy()
field.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be added to the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity)
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, InvocationConfig invocationConfig)
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.invocationConfig
- Configuration for the method invocation.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback)
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void removeFromUsedBy(java.lang.String categoryId, java.lang.String usedByEntity, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
usedByEntity
from the CategoryModel.getUsedBy()
subscribers Set
. If the usedByEntity
is not using this category, then
this becomes a no-op. To invoke this method, you need the modify CategoryModel.getUsedBy()
privilege on the category.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to remove an entity from the CategoryModel.getUsedBy()
field.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.usedByEntity
- The name of the user to be removed from the CategoryModel.getUsedBy()
Set
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void revokePropagatingPermissions(java.lang.String categoryId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.void revokePropagatingPermissions(java.lang.String categoryId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.invocationConfig
- Configuration for the method invocation.NotFound
- if the category for the given categoryId
does not exist in the system.Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.void revokePropagatingPermissions(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void revokePropagatingPermissions(java.lang.String categoryId, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
NotFound
- if the category for the given categoryId
does not exist in the system.
Unauthorized
- if you do not have the privilege to revoke propagating permissions on the
category.
categoryId
- The identifier of the input category.
The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.