|
Videoautomat | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--users.User
|
+--videoautomat.AutomatUser
This class implements the User of this application. It contains a StoringStock for
storing the actually rented videos and holds the information which capabilities the user has.
| Field Summary | |
static String |
CAPABILITY_ADMIN
Key used to get the ActionCapability used to start a SaleProcessAdmin. |
| Fields inherited from class users.User |
DEFAULT_PASSWORD_GARBLER, m_lhListeners |
| Constructor Summary | |
AutomatUser(String user_ID,
char[] passWd,
boolean admin)
Constructs a new AutomatUser. |
|
| Method Summary | |
data.ooimpl.StoringStockImpl |
getVideoStock()
|
| Methods inherited from class users.User |
addCapabilityDataListener, compareTo, equals, fireCapabilitiesAdded, fireCapabilitiesReplaced, garblePassWD, getCapability, getCapabilityCheckBox, getCharFromString, getGlobalPassWDGarbler, getName, getStringFromChar, isPassWd, loggedOff, loggedOn, removeCapabilityDataListener, setCapabilities, setCapability, setGlobalPassWDGarbler, setPassWd, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String CAPABILITY_ADMIN
ActionCapability used to start a SaleProcessAdmin.
| Constructor Detail |
public AutomatUser(String user_ID,
char[] passWd,
boolean admin)
AutomatUser.
user_ID - the ID of the new useradmin - boolean to decide, whether this user has administrator privileges or not| Method Detail |
public data.ooimpl.StoringStockImpl getVideoStock()
StoringStock containing the rented VideoCassettes of this user
|
Videoautomat | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||