Zimlet JavaScript API Reference - ZmIdentity

Class ZmIdentity


This class represents an identity.

Defined in: ZmIdentity.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmIdentity(name)
Creates an identity.
Method Summary
Method Attributes Method Name and Description
 
create(callback, errorCallback, batchCmd)
Creates the identity.
 
doDelete(callback, errorCallback, batchCmd)
Deletes the identity.
 
getField(fieldId)
Gets the field.
 
Clears this identity's fields.
 
save(callback, errorCallback, batchCmd)
Saves the identity.
 
setField(fieldId, value)
Sets the field.
Class Detail
ZmIdentity(name)
Creates an identity.
Parameters:
{String} name
the identity name
Method Detail
create(callback, errorCallback, batchCmd)
Creates the identity.
Parameters:
{AjxCallback} callback
the callback
{AjxCallback} errorCallback
the error callback
{ZmBatchCommand} batchCmd
the batch command

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

{Object} getField(fieldId)
Gets the field.
Parameters:
{constant} fieldId
the id
Returns:
{Object} the value

reset()
Clears this identity's fields.

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

setField(fieldId, value)
Sets the field.
Parameters:
{constant} fieldId
the id
{Object} value
the value

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