|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.rest.ARESTModel com.plumtree.portalpages.rest.ldap.UserIdLookupModel
public class UserIdLookupModel
Model that looks up user object id from LDAP auth name
Field Summary | |
---|---|
protected java.lang.String |
m_authName
|
protected AActivitySpace |
m_space
|
static int |
NO_USERID_FOUND
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portalpages.rest.ARESTModel |
---|
m_error |
Constructor Summary | |
---|---|
UserIdLookupModel()
|
Method Summary | |
---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
java.lang.String |
GetAuthName()
|
java.lang.String |
GetName()
Return the name of the MVC object. |
int |
GetUserIdFromCurrentAuthName()
Main method to lookup user id from auth name set by control |
void |
Init(AActivitySpace parent)
This method initializes the model. |
protected int |
LookupUserIdFromAuthName(java.lang.String authName)
|
void |
SetAuthName(java.lang.String name)
|
Methods inherited from class com.plumtree.portalpages.rest.ARESTModel |
---|
GetError, SetError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int NO_USERID_FOUND
protected AActivitySpace m_space
protected java.lang.String m_authName
Constructor Detail |
---|
public UserIdLookupModel()
Method Detail |
---|
public int GetUserIdFromCurrentAuthName()
protected int LookupUserIdFromAuthName(java.lang.String authName)
authName
- LDAP authentication name (without Portal Auth source prefix)
public void SetAuthName(java.lang.String name)
public java.lang.String GetAuthName()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
parent
- the parent Activity SpaceIModel.Init(com.plumtree.uiinfrastructure.activityspace.AActivitySpace)
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
IMVCObject.GetName()
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |