public interface SingleAssetManager extends ManagedAesKey
Modifier and Type | Method and Description |
---|---|
void |
allowAccess(Collection<String> emails) |
void |
allowAccess(String... emails) |
void |
changeName(String name) |
void |
createKind(String kind,
String name) |
void |
createKind(String kind,
String name,
String cookie) |
String |
getCookie() |
void |
revokeAccess(Collection<String> emails) |
void |
revokeAccess(String... emails) |
void |
setAssetFeature(String name,
String compatibility)
Applies an asset feature with the given parameters to this asset.
|
void |
setAssetFeature(String name,
String compatibility,
String value)
Applies an asset feature with the given parameters to this asset.
|
void |
setAssetFeature(String name,
String compatibility,
String value,
String scope)
Applies an asset feature with the given parameters to this asset.
|
canManage, getDecryptionError, getEncryptionError, getFeatures, getHomeServer, getKeys, getKind, getName, getParticipants, getUrn
void createKind(String kind, String name) throws MetaClientException
MetaClientException
void createKind(String kind, String name, @Nullable String cookie) throws MetaClientException
MetaClientException
void allowAccess(String... emails)
void allowAccess(Collection<String> emails)
void revokeAccess(String... emails)
void revokeAccess(Collection<String> emails)
void setAssetFeature(String name, String compatibility) throws MetaClientException
compatibility
- One of SmartcryptProtocol::AssetFeature::COMPATIBILITY_MANDATORY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_READ_ONLY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_SUGGESTED,
and SmartcryptProtocol::AssetFeature::COMPATIBILITY_OPTIONALMetaClientException
void setAssetFeature(String name, String compatibility, @Nullable String value) throws MetaClientException
compatibility
- One of SmartcryptProtocol::AssetFeature::COMPATIBILITY_MANDATORY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_READ_ONLY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_SUGGESTED,
and SmartcryptProtocol::AssetFeature::COMPATIBILITY_OPTIONALMetaClientException
void setAssetFeature(String name, String compatibility, @Nullable String value, @Nullable String scope) throws MetaClientException
compatibility
- One of SmartcryptProtocol::AssetFeature::COMPATIBILITY_MANDATORY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_READ_ONLY,
SmartcryptProtocol::AssetFeature::COMPATIBILITY_SUGGESTED,
and SmartcryptProtocol::AssetFeature::COMPATIBILITY_OPTIONALMetaClientException
void changeName(@Nullable String name) throws MetaClientException
MetaClientException