public interface ContentManager extends Remote
Modifier and Type | Method and Description |
---|---|
void |
calculateConsumedQuota(long id)
Initiate the calculation of consumed quota
|
Item |
getDefaultMedia(AttributeRequest[] attributes)
Return the default media defined in the system.
|
String |
getDefaultStorageGroup()
Return the default storage group name.
|
Item |
getMediaByName(String name,
AttributeRequest[] attributes)
Get media by name.
|
Item[] |
listMedias(AttributeRequest[] attributes)
List all media items defined in the system.
|
String[] |
listStorageGroups()
List all storage group names defined in the system.
|
Item |
requestQuotaUpdate(long id,
NamedValue[] wfParams,
NamedValue[] attrs,
AttributeRequest[] attributes)
Request an update to the existing quota on a workspace for non-admin user.
|
void |
updateQuota(long id,
NamedValue[] attrs)
Updates an existing quota.
|
Item[] listMedias(AttributeRequest[] attributes) throws FdkException
attributes
- Requested attributes of the medias.ItemTypes.MEDIA
type.FdkException
- if the opertaion fails.Item getDefaultMedia(AttributeRequest[] attributes) throws FdkException
attributes
- Requested attributes of the media.ItemTypes.MEDIA
.FdkException
- if the opertaion fails.Item getMediaByName(String name, AttributeRequest[] attributes) throws FdkException
name
- The name of the media to retrieve.attributes
- Requested attributes of the media.ItemTypes.MEDIA
.FdkException
- if the opertaion fails.String[] listStorageGroups() throws FdkException
FdkException
- if the operation fails.String getDefaultStorageGroup() throws FdkException
null
if a default is not defined.FdkException
- if the operation fails.void updateQuota(long id, NamedValue[] attrs) throws FdkException
id
- The id of the target to set the quota for;
must be the id of a Workspace or Domain.attrs
- The attributes to set .
must include one or more of the following Attributes:
FdkException
- if the operation fails.Item requestQuotaUpdate(long id, NamedValue[] wfParams, NamedValue[] attrs, AttributeRequest[] attributes) throws FdkException
id
- The id of the workspace to set the quota for.wfParams
- The parameters (name/value) needed to start workflow.attrs
- The attributes to set .
must include following Attributes:
attributes
- The requested attributesFdkException
- if the operation fails.void calculateConsumedQuota(long id) throws FdkException
id
- The id of the target to calculate the quota for;
must be the id of a Workspace or Domain.FdkException
- if the operation fails.Copyright © 2023. All rights reserved.