Zimlet JavaScript API Reference - ZmSignature

Class ZmSignature


This class represents a signature.

Defined in: ZmSignature.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a signature.
Field Summary
Field Attributes Field Name and Description
 
The content type property.
 
The name property.
 
The value property.
Method Summary
Method Attributes Method Name and Description
 
create(callback, errorCallback, batchCmd)
Creates the signature.
 
doDelete(callback, errorCallback, batchCmd)
Deletes the signature.
 
Gets the content type.
 
save(callback, errorCallback, batchCmd)
Saves the signature.
 
Sets the content type.
 
setFromJson(object)
Sets the signature from JSON object.
Class Detail
ZmSignature(id)
Creates a signature.
Parameters:
id
Field Detail
{String} contentType
The content type property.
See:
ZmMimeTable

{String} name
The name property.

{String} value
The value property.
Method Detail
create(callback, errorCallback, batchCmd)
Creates the signature.
Parameters:
{AjxCallback} callback
the callback
{AjxCallback} errorCallback
the error callback
{ZmBatchCommand} batchCmd
the batch command

doDelete(callback, errorCallback, batchCmd)
Deletes the signature.
Parameters:
{AjxCallback} callback
the callback
{AjxCallback} errorCallback
the error callback
{ZmBatchCommand} batchCmd
the batch command

{String} getContentType()
Gets the content type.
Returns:
{String} the content type

save(callback, errorCallback, batchCmd)
Saves the signature.
Parameters:
{AjxCallback} callback
the callback
{AjxCallback} errorCallback
the error callback
{ZmBatchCommand} batchCmd
the batch command

setContentType(ct)
Sets the content type.
Parameters:
{String} ct
the content type
See:
ZmMimeTable

setFromJson(object)
Sets the signature from JSON object.
Parameters:
{Object} object
the object

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:36 GMT-0400 (EDT)