|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.user.Entity
@Deprecated public abstract class Entity
Superclass for User and Group.
Methods common to both User and Group are defined here.
When an entity is modified the store() method has to be called to force the provider to persist changes. This is a convenience for Providers and they may choose to write data before then.
Field Summary | |
---|---|
protected boolean |
mutable
Deprecated. Whether this entity is mutable (i.e. |
protected String |
name
Deprecated. Name of entity (unique). |
Constructor Summary | |
---|---|
protected |
Entity(String name,
ProviderAccessor providerAccessor)
Deprecated. Constructor to be called by User or Group. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated. Compare name. |
AccessProvider |
getAccessProvider()
Deprecated. Retrieve pluggable AccessProvider for this entity. |
CredentialsProvider |
getCredentialsProvider()
Deprecated. Retrieve pluggable CredentialsProvider for this entity. |
String |
getName()
Deprecated. Name (unique identifier) of entity. |
ProfileProvider |
getProfileProvider()
Deprecated. Retrieve pluggable ProfileProvider for this entity. |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet()
Deprecated. Extra properties associated with entity. |
UserManager |
getUserManager()
Deprecated. Retrieve underlying UserManager that this User is handled by. |
int |
hashCode()
Deprecated. Hashcode of name. |
boolean |
isMutable()
Deprecated. Determine if entity is mutable. |
abstract void |
remove()
Deprecated. Remove this entity from existence. |
void |
store()
Deprecated. Force update to underlying data-stores. |
String |
toString()
Deprecated. String representation returns name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String name
protected boolean mutable
Constructor Detail |
---|
protected Entity(String name, ProviderAccessor providerAccessor)
Method Detail |
---|
public CredentialsProvider getCredentialsProvider()
public String getName()
public ProfileProvider getProfileProvider()
public com.opensymphony.module.propertyset.PropertySet getPropertySet()
public abstract void remove() throws ImmutableException
ImmutableException
public AccessProvider getAccessProvider()
public boolean isMutable()
public UserManager getUserManager()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void store() throws ImmutableException
ImmutableException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |