org.romaframework.module.users.domain
Class BaseProfile
java.lang.Object
org.romaframework.module.users.domain.BaseProfile
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal
public class BaseProfile
- extends java.lang.Object
- implements java.io.Serializable, java.security.Principal
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MODE_ALLOW_ALL_BUT
public static final byte MODE_ALLOW_ALL_BUT
- See Also:
- Constant Field Values
MODE_DENY_ALL_BUT
public static final byte MODE_DENY_ALL_BUT
- See Also:
- Constant Field Values
BaseProfile
public BaseProfile()
BaseProfile
public BaseProfile(java.lang.String iName,
BaseProfile iParent,
BaseProfile.Mode iMode,
java.lang.String iHomePage)
onParent
public void onParent()
toString
public java.lang.String toString()
- Specified by:
toString in interface java.security.Principal- Overrides:
toString in class java.lang.Object
getMode
public BaseProfile.Mode getMode()
setMode
public BaseProfile setMode(BaseProfile.Mode iInheritMode)
getName
public java.lang.String getName()
- Specified by:
getName in interface java.security.Principal
setName
public BaseProfile setName(java.lang.String name)
getParent
public BaseProfile getParent()
setParent
public BaseProfile setParent(BaseProfile parent)
getFunctions
public java.util.Map<java.lang.String,BaseFunction> getFunctions()
setFunctions
public BaseProfile setFunctions(java.util.Map<java.lang.String,BaseFunction> functions)
addFunction
public BaseProfile addFunction(java.lang.String iName,
boolean iAllowed)
removeFunction
public BaseProfile removeFunction(java.lang.String iKey)
getNotes
public java.lang.String getNotes()
setNotes
public BaseProfile setNotes(java.lang.String notes)
getHomePage
public java.lang.String getHomePage()
setHomePage
public BaseProfile setHomePage(java.lang.String homePage)
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.security.Principal- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface java.security.Principal- Overrides:
equals in class java.lang.Object