com.skype.api
Enum Account.CommitStatus

java.lang.Object
  extended by java.lang.Enum<Account.CommitStatus>
      extended by com.skype.api.Account.CommitStatus
All Implemented Interfaces:
EnumConverting, java.io.Serializable, java.lang.Comparable<Account.CommitStatus>
Enclosing class:
Account

public static enum Account.CommitStatus
extends java.lang.Enum<Account.CommitStatus>
implements EnumConverting

The list of possible values of Account class COMMITSTATUS property. Note that this property and its values have nothing to do with (automatic) CBL synchronization. Rather, the COMMITSTATUS reflects commit status to account's server side properties initiated with calls to Account class SetServersideIntProperty and Account class SetServersideStrProperty methods. After those methods, your client UI may want to wait until the COMMITSTATUS becomes COMMITTING_TO_SERVER followed by COMMITTED and inform the user if the value becomes COMMIT_FAILED. SetServersideProperty methods are used for writing privacy policy related and call forwarding related Account properties to the server. Unlike CBL synchronization, those updates are executed immediately.


Enum Constant Summary
COMMIT_FAILED
          Server update has failed.
COMMITTED
          No pending updates to the server.
COMMITTING_TO_SERVER
          Update to the server in progress.
 
Field Summary
static int COMMIT_FAILED_VALUE
           
static int COMMITTED_VALUE
           
static int COMMITTING_TO_SERVER_VALUE
           
 
Method Summary
 EnumConverting convert(int from)
           
static Account.CommitStatus get(int from)
           
 EnumConverting[] getArray(int size)
           
 EnumConverting getDefault()
           
 int getId()
           
static Account.CommitStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Account.CommitStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COMMITTED

public static final Account.CommitStatus COMMITTED
No pending updates to the server.


COMMITTING_TO_SERVER

public static final Account.CommitStatus COMMITTING_TO_SERVER
Update to the server in progress.


COMMIT_FAILED

public static final Account.CommitStatus COMMIT_FAILED
Server update has failed.

Field Detail

COMMITTED_VALUE

public static final int COMMITTED_VALUE
See Also:
Constant Field Values

COMMITTING_TO_SERVER_VALUE

public static final int COMMITTING_TO_SERVER_VALUE
See Also:
Constant Field Values

COMMIT_FAILED_VALUE

public static final int COMMIT_FAILED_VALUE
See Also:
Constant Field Values
Method Detail

values

public static Account.CommitStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Account.CommitStatus c : Account.CommitStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Account.CommitStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()
Specified by:
getId in interface EnumConverting

getDefault

public EnumConverting getDefault()
Specified by:
getDefault in interface EnumConverting

convert

public EnumConverting convert(int from)
Specified by:
convert in interface EnumConverting

getArray

public EnumConverting[] getArray(int size)
Specified by:
getArray in interface EnumConverting

get

public static Account.CommitStatus get(int from)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.