examples.usermgmt
Interface UnifiedUser
- All Superinterfaces:
- BusinessPolicyManager, BusinessSmartComponent, ConfigurableEntity, ConfigurableEntityRemote, javax.ejb.EJBObject, Entity, java.rmi.Remote, RemoteRelationalReference, java.io.Serializable, User, UserRemote
- 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 com.beasys.commerce.foundation.ConfigurableEntity |
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor |
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 exceptionUserManagementException
- 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 exceptionUserManagementException
- error retrieving User Points
Copyright © 2000 BEA Systems, Inc. All Rights Reserved