Pointloyalty Manager; 3.3.0
Java REST access API

com.pointloyalty.loyalty.rest.beans
Class LoginBean

java.lang.Object
  extended by com.pointloyalty.loyalty.rest.beans.LoginBean
All Implemented Interfaces:
java.io.Serializable

public class LoginBean
extends java.lang.Object
implements java.io.Serializable

Client login info class. This information needs to be passed in every REST client invocation in order to authenticate the user. Before using REST client, client should create an account in PointLoyalty Manager system.

See Also:
Serialized Form

Constructor Summary
LoginBean()
           
 
Method Summary
 java.lang.String getLocale()
          Gets client locale.
 java.lang.String getName()
          Gets client name.
 java.lang.String getPassword()
          Gets client password.
 java.lang.String getTimeZoneId()
          Gets client timezone identifier.
 void setLocale(java.lang.String locale)
          Sets client locale.
 void setName(java.lang.String name)
          Sets client name.
 void setPassword(java.lang.String password)
          Sets client password.
 void setTimeZoneId(java.lang.String timeZoneId)
          Sets client timezone identifier.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginBean

public LoginBean()
Method Detail

getName

public java.lang.String getName()
Gets client name.

Returns:
Client name.

setName

public void setName(java.lang.String name)
Sets client name.

Parameters:
name - Client name

getPassword

public java.lang.String getPassword()
Gets client password.

Returns:
Client password.

setPassword

public void setPassword(java.lang.String password)
Sets client password.

Parameters:
password - Client password.

setTimeZoneId

public void setTimeZoneId(java.lang.String timeZoneId)
Sets client timezone identifier. See also TimeZone.getAvailableIDs().

Parameters:
timeZoneId - Timezone. String representation of java timezone.

getTimeZoneId

public java.lang.String getTimeZoneId()
Gets client timezone identifier. Timezone is string representation of java timezone. See also TimeZone.getAvailableIDs().

Returns:
Client timezone.

setLocale

public void setLocale(java.lang.String locale)
Sets client locale. It should be equal to one of following values: EN or RU. Default value - EN.

Parameters:
locale - Client locale.

getLocale

public java.lang.String getLocale()
Gets client locale. It should be equal following values: EN or RU. Default value - EN.

Returns:
Client locale.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

Pointloyalty Manager; 3.3.0
Java REST access API

Pointloyalty Manager, Loyalty solution software, ver. 3.3.0 (build 44)
2007-2009 Copyright © Pointloyalty, Inc. All Rights Reserved.