GetObjectStoringLocation

ILinkEmbedController.GetObjectStoringLocation method

Determines where object should be stored. This method is called once for each object id. It is not guaranteed that there won’t be two objects with same data, semanticName and contentType but with different id.

public LinkEmbedDecision GetObjectStoringLocation(int id, byte[] entityData, string semanticName, 
    string contentType, string recomendedExtension)
ParameterTypeDescription
idInt32Object id. This id is saving operation-wide unique.
entityDataByte[]Object binary data. This parameter can be null, if object binary data is not generated yet.
semanticNameStringSome short text, describing meaning of object. Controller may use this as a part of external object name, but it is up to dispatcher to ensure that names will be unique and contain only allowed characters.
contentTypeStringMIME type of object.
recomendedExtensionStringFile name extension, recommended for this MIME type.

Return Value

Decision

See Also