examples.usermgmt
Interface UnifiedUser
- public interface UnifiedUser
- extends UserRemote
Interface to an example UnifiedUser ejb. For implementation
details, refer to the UnifiedUserBean source.
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 javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
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
Copyright © 2000 BEA Systems, Inc. All Rights Reserved