edu.internet2.middleware.grouper.grouperUi.beans.externalSubjectSelfRegister
Class ExternalRegisterContainer

java.lang.Object
  extended by edu.internet2.middleware.grouper.grouperUi.beans.externalSubjectSelfRegister.ExternalRegisterContainer
All Implemented Interfaces:
Serializable

public class ExternalRegisterContainer
extends Object
implements Serializable

bean for simple membership update. holds all state for this module

See Also:
Serialized Form

Constructor Summary
ExternalRegisterContainer()
           
 
Method Summary
 List<RegisterField> getRegisterFields()
          list of fields to show on screen
 String getUserLoggedInIdentifier()
          get the identifier of the user logged in
 boolean isInsert()
          if this record exists in the DB then it is an update.
 boolean isShowDeleteButton()
          if should show delete button
static ExternalRegisterContainer retrieveFromRequest()
          retrieveFromSession, cannot be null
 void storeToRequest()
          store to session scope
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalRegisterContainer

public ExternalRegisterContainer()
Method Detail

isShowDeleteButton

public boolean isShowDeleteButton()
if should show delete button

Returns:
if should show

isInsert

public boolean isInsert()
if this record exists in the DB then it is an update. Else it is an insert

Returns:
if this is an insert or update

getUserLoggedInIdentifier

public String getUserLoggedInIdentifier()
get the identifier of the user logged in

Returns:
the identifier

getRegisterFields

public List<RegisterField> getRegisterFields()
list of fields to show on screen

Returns:
regsiter fields

storeToRequest

public void storeToRequest()
store to session scope


retrieveFromRequest

public static ExternalRegisterContainer retrieveFromRequest()
retrieveFromSession, cannot be null

Returns:
the app state in request scope