private void verifyAgreement(SessionInfo sessionInfo,
final Operation verifiedOperation)
{
// get the agreement (if any)
final Agreement agreement = sessionInfo.pendingAgreement();
// if there is an agreement then prompt user for agreement (otherwise just
// execute the verifiedOperation immediately)
if (agreement != null)
{
// append updated to the title if necessary
String title = agreement.getTitle();
if (agreement.getUpdated())
title += " (Updated)";
view_.showApplicationAgreement(
// title and contents
title,
agreement.getContents(),
// bail to sign in page if the user doesn't confirm
new Operation()
{
public void execute()