public interface DomainManager extends Remote
Modifier and Type | Method and Description |
---|---|
Item |
getDefaultDomain(AttributeRequest[] attributes)
Returns the default
DOMAIN Item. |
Item |
updateDomain(long id,
NamedValue[] def,
AttributeRequest[] attributes)
Updates a
DOMAIN Item. |
Item updateDomain(long id, NamedValue[] def, AttributeRequest[] attributes) throws FdkException
DOMAIN
Item.id
- the ID of the DOMAIN
Item to updatedef
- the attributes to set:
- notation: {Attribute name, Attribute type}
- {Attributes.USER_WORKSPACES_ROOT, String}
- {Attributes.MOST_RECENT_DOCS_MAXITEMS, Integer}
- {Attributes.PERSONAL_WORKSPACES_ENABLED, Boolean}
- {Attributes.WORLD_GRANTS_ENABLED, Boolean}
- {Attributes.GROUP_CREATION_ACCESS_GROUP, Long}
- {Attributes.CREATE_WORKSPACE_REQUEST_ALLOWED,
Boolean}
- {Attributes.DEFAULT_WORKSPACE_ROLES, long[]}
- {Attributes.DEFAULT_GUARD_SECURITY_ROLES, long[]}
- {Attributes.GLOBAL_AUDIT_TYPE_LIST, Long}
- {Attributes.GLOBAL_AUDIT_HISTORY_EXPIRATION_PERIOD, Long}
attributes
- the attributes to retrieve for the returned
DOMAIN
Item, or nullFdkException
- if the operation failsItem getDefaultDomain(AttributeRequest[] attributes) throws FdkException
DOMAIN
Item.attributes
- the attributes to retrieve for the returned
DOMAIN
Item, or nullFdkException
- if the operation fails.Copyright © 2023. All rights reserved.