com.plumtree.portalpages.browsing.portalsettings.passwordmanager
Class PasswordManagerSectionModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorHelperModel
      extended by com.plumtree.portalpages.browsing.portalsettings.passwordmanager.PasswordManagerSectionModel
All Implemented Interfaces:
IPasswordManagerSectionModelRO, IManagedObject, IModel, IModelRO, IMVCObject

public class PasswordManagerSectionModel
extends EditorHelperModel
implements IPasswordManagerSectionModelRO

Author:
jennifersu

Field Summary
protected  int m_nPasswordPropID
           
protected  int m_nUsernamePropID
           
protected  IPTProperty m_objPasswordProp
           
protected  IPTProperty m_objUsernameProp
           
protected  IPTProfileSection m_ptLockbox
           
protected  IPTSession m_ptSession
           
protected  java.lang.String m_strPasswordValue
           
protected  java.lang.String m_strUsernameValue
           
static java.lang.String STR_MVC_CLASS_NAME
          object name
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
m_asOwner
 
Constructor Summary
PasswordManagerSectionModel()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetLockboxName()
          Get lockbox name
 java.lang.String GetName()
          Returns the Class name.
 int GetPasswordPropID()
          Get password property ID
 java.lang.String GetPasswordPropName()
          Get name of password property
 java.lang.String GetPasswordValue()
          Get value for password
 int GetUsernamePropID()
          Get username property ID
 java.lang.String GetUsernamePropName()
          Get name of username property
 java.lang.String GetUsernameValue()
          Get value for username
 void Init(IPTProfileSection _ptLockbox)
          Initialize member variables
 int SaveSection(XPHashtable _htFormData)
          Code to save the section represented by this Model.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel
CleanupAllData, CleanupTempData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
object name

See Also:
Constant Field Values

m_nUsernamePropID

protected int m_nUsernamePropID

m_nPasswordPropID

protected int m_nPasswordPropID

m_ptSession

protected IPTSession m_ptSession

m_objUsernameProp

protected IPTProperty m_objUsernameProp

m_objPasswordProp

protected IPTProperty m_objPasswordProp

m_strUsernameValue

protected java.lang.String m_strUsernameValue

m_strPasswordValue

protected java.lang.String m_strPasswordValue

m_ptLockbox

protected IPTProfileSection m_ptLockbox
Constructor Detail

PasswordManagerSectionModel

public PasswordManagerSectionModel()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorHelperModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorHelperModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Init

public void Init(IPTProfileSection _ptLockbox)
Initialize member variables

Specified by:
Init in interface IModel
Overrides:
Init in class EditorHelperModel
Parameters:
_ptLockbox - - IPTProfileSection that this lockbox represents.

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorHelperModel
Returns:
String

SaveSection

public int SaveSection(XPHashtable _htFormData)
Description copied from class: EditorHelperModel
Code to save the section represented by this Model.

Specified by:
SaveSection in class EditorHelperModel
Parameters:
_htFormData - Form posted data.
Returns:
int Status for server side validation

GetUsernameValue

public java.lang.String GetUsernameValue()
Description copied from interface: IPasswordManagerSectionModelRO
Get value for username

Specified by:
GetUsernameValue in interface IPasswordManagerSectionModelRO
Returns:

GetPasswordValue

public java.lang.String GetPasswordValue()
Description copied from interface: IPasswordManagerSectionModelRO
Get value for password

Specified by:
GetPasswordValue in interface IPasswordManagerSectionModelRO
Returns:

GetUsernamePropName

public java.lang.String GetUsernamePropName()
Description copied from interface: IPasswordManagerSectionModelRO
Get name of username property

Specified by:
GetUsernamePropName in interface IPasswordManagerSectionModelRO
Returns:

GetPasswordPropName

public java.lang.String GetPasswordPropName()
Description copied from interface: IPasswordManagerSectionModelRO
Get name of password property

Specified by:
GetPasswordPropName in interface IPasswordManagerSectionModelRO
Returns:

GetLockboxName

public java.lang.String GetLockboxName()
Description copied from interface: IPasswordManagerSectionModelRO
Get lockbox name

Specified by:
GetLockboxName in interface IPasswordManagerSectionModelRO
Returns:

GetUsernamePropID

public int GetUsernamePropID()
Description copied from interface: IPasswordManagerSectionModelRO
Get username property ID

Specified by:
GetUsernamePropID in interface IPasswordManagerSectionModelRO
Returns:

GetPasswordPropID

public int GetPasswordPropID()
Description copied from interface: IPasswordManagerSectionModelRO
Get password property ID

Specified by:
GetPasswordPropID in interface IPasswordManagerSectionModelRO
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.