BEA Systems, Inc.

examples.usermgmt
Interface UnifiedUser


public interface UnifiedUser
extends UserRemote

Interface to an example UnifiedUser ejb. For implementation details, refer to the UnifiedUserBean source.


Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Method Summary
 java.lang.Long getUserPoints()
          Gets the amount of 'User Points' the user has earned.
 void setUserPoints(java.lang.Long points)
          Sets amount of 'User Points' the user has earned.
 
Methods inherited from interface com.beasys.commerce.axiom.contact.User
getIdentifier, getUserByValue, setUserByValue
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey
 

Method Detail

setUserPoints

public void setUserPoints(java.lang.Long points)
                   throws java.rmi.RemoteException,
                          UserManagementException
Sets amount of 'User Points' the user has earned. When the user earns 2 billion User Points, the user earns a free weekend getaway to Jackson, Mississippi.
Parameters:
points - the number of User Points earned by the user
Throws:
java.rmi.RemoteException - bean contract exception
UserManagementException - error updating User Points

getUserPoints

public java.lang.Long getUserPoints()
                             throws java.rmi.RemoteException,
                                    UserManagementException
Gets the amount of 'User Points' the user has earned. When the user earns 2 billion User Points, the user earns a free weekend getaway to Jackson, Mississippi.
Returns:
the number of User Points earned by the user
Throws:
java.rmi.RemoteException - bean contract exception
UserManagementException - error retrieving User Points

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved