edu.internet2.middleware.grouper.grouperUi.beans.inviteExternalSubjects
Class InviteExternalSubjectsContainer

java.lang.Object
  extended by edu.internet2.middleware.grouper.grouperUi.beans.inviteExternalSubjects.InviteExternalSubjectsContainer

public class InviteExternalSubjectsContainer
extends Object

request container for inviting external subjects

Author:
mchyzer

Constructor Summary
InviteExternalSubjectsContainer()
           
 
Method Summary
 String getDefaultEmailMessage()
           
 String getDefaultEmailSubject()
           
 Group getDefaultGroup()
          if there is a group passed in the URL, make sure it is ok for security, and return it
 String getFirstComboDefaultText()
          if there is a group passed in via URL, set it on the screen
 String getFirstComboDefaultValue()
          if there is a group passed in via URL, set it on the screen
 boolean isAllowInviteByIdentifier()
          if we should allow invite by identifier (if the inviter knows the identifier, and no attributes on the external subject are mandatory by the application)
 boolean isShowLinksToUi()
          if we should show links to the UI
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

InviteExternalSubjectsContainer

public InviteExternalSubjectsContainer()
Method Detail

retrieveFromRequest

public static ExternalRegisterContainer retrieveFromRequest()
retrieveFromSession, cannot be null

Returns:
the app state in request scope

storeToRequest

public void storeToRequest()
store to session scope


isAllowInviteByIdentifier

public boolean isAllowInviteByIdentifier()
if we should allow invite by identifier (if the inviter knows the identifier, and no attributes on the external subject are mandatory by the application)

Returns:
true if allow invite by identifier

isShowLinksToUi

public boolean isShowLinksToUi()
if we should show links to the UI

Returns:
if show links

getDefaultGroup

public Group getDefaultGroup()
if there is a group passed in the URL, make sure it is ok for security, and return it

Returns:
the group

getFirstComboDefaultText

public String getFirstComboDefaultText()
if there is a group passed in via URL, set it on the screen

Returns:
the group text

getFirstComboDefaultValue

public String getFirstComboDefaultValue()
if there is a group passed in via URL, set it on the screen

Returns:
the group value

getDefaultEmailSubject

public String getDefaultEmailSubject()
Returns:
default email subject for form

getDefaultEmailMessage

public String getDefaultEmailMessage()
Returns:
default email message for form