|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
com.cassinidivision.oce.users.base._U_Actor
com.cassinidivision.oce.users.U_Actor
Abstract class for representing actors or "agents" who interact with a system.
Nested Class Summary |
Nested classes inherited from class com.webobjects.eocontrol.EOGenericRecord |
EOGenericRecord._DictionaryBinding, EOGenericRecord._LazyDictionaryBinding |
Nested classes inherited from class com.webobjects.eocontrol.EOCustomObject |
EOCustomObject._BooleanFieldBinding, EOCustomObject._FieldBinding, EOCustomObject._LazyFieldBinding, EOCustomObject._NumberFieldBinding |
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCodingAdditions |
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCoding |
EOKeyValueCoding._BestBindingCreation, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCoding._StoredForwardingBinding |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Nested classes inherited from class com.webobjects.eocontrol._EOPrivateMemento |
_EOPrivateMemento.DefaultImplementation |
Field Summary |
Fields inherited from class com.webobjects.eocontrol.EOGenericRecord |
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Constructor Summary | |
U_Actor()
|
Method Summary | |
static U_Actor |
actorWithUserNamePasswordEditingContext(String aUserName,
String aPassword,
EOEditingContext anEditingContext)
Retrieve an actor matching the username and password supplied. |
NSArray |
allPermissions()
Retrieve all the permission instances granted to the current actor. |
String |
coverPassword()
Implemented for internal reasons (currently returns a blank string). |
boolean |
currentlyActive()
Determines if the actor is registered active or disabled. |
boolean |
hasPermissionWithName(String name)
Determine if this actor has been granted with the named permission. |
boolean |
hasRoleWithName(String aName)
Determine if this actor is associated with the named role. |
boolean |
isTheSameActor(U_Actor actor)
Compare the current actor instance with another. |
boolean |
ownLock(U_Lock aLock)
Uncover if the current actor owns the requested lock (convenience method). |
void |
setCoverPassword(String value)
Specify an actor's unencrypted password (which will be stored encrypted). |
void |
setCurrentlyActive(boolean value)
Set the status of the actor (active or disabled). |
Methods inherited from class com.cassinidivision.oce.users.base._U_Actor |
addToLocks, addToRoles, className, isActive, locks, name, password, removeFromLocks, removeFromRoles, roles, setClassName, setIsActive, setLocks, setName, setPassword, setRoles, setUserName, userName |
Methods inherited from class com.webobjects.eocontrol.EOGenericRecord |
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _otherStorageBinding, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public U_Actor()
Method Detail |
public static U_Actor actorWithUserNamePasswordEditingContext(String aUserName, String aPassword, EOEditingContext anEditingContext)
aUserName
- The actor's login name.aPassword
- The actor's password.anEditingContext
- The editing context to fetch the actor instance within.
public String coverPassword()
public void setCoverPassword(String value)
value
- The unencrypted password value.public boolean hasRoleWithName(String aName)
aName
- The name of a role.
public boolean hasPermissionWithName(String name)
name
- The permission name.
public NSArray allPermissions()
U_Permission
instances.public boolean currentlyActive()
public void setCurrentlyActive(boolean value)
value
- The active status (true or false).public boolean ownLock(U_Lock aLock)
aLock
- A lock instance.
public boolean isTheSameActor(U_Actor actor)
actor
- Another actor instance.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |