All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aoindustries.website.signup.SignupCustomizeManagementForm Maven / Gradle / Ivy

Go to download

Core API for legacy Struts-based site framework with AOServ Platform control panels.

There is a newer version: 2.0.0
Show newest version
/*
 * aoweb-struts-core - Core API for legacy Struts-based site framework with AOServ Platform control panels.
 * Copyright (C) 2007-2009, 2016  AO Industries, Inc.
 *     [email protected]
 *     7262 Bull Pen Cir
 *     Mobile, AL 36695
 *
 * This file is part of aoweb-struts-core.
 *
 * aoweb-struts-core is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * aoweb-struts-core is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with aoweb-struts-core.  If not, see .
 */
package com.aoindustries.website.signup;

import com.aoindustries.website.SessionActionForm;
import java.io.Serializable;
import org.apache.struts.action.ActionForm;

/**
 * @author  AO Industries, Inc.
 */
public class SignupCustomizeManagementForm extends ActionForm implements Serializable, SessionActionForm {

	private static final long serialVersionUID = 1L;

	private int backupOnsiteOption;
	private int backupOffsiteOption;
	private String backupDvdOption;
	private int distributionScanOption;
	private int failoverOption;
	private String formCompleted;

	public SignupCustomizeManagementForm() {
		setBackupOnsiteOption(-1);
		setBackupOffsiteOption(-1);
		setBackupDvdOption("");
		setDistributionScanOption(-1);
		setFailoverOption(-1);
		setFormCompleted("false");
	}

	@Override
	public boolean isEmpty() {
		return
			backupOnsiteOption==-1
			&& backupOffsiteOption==-1
			&& "".equals(backupDvdOption)
			&& distributionScanOption==-1
			&& failoverOption==-1
			&& "false".equals(formCompleted)
		;
	}

	public int getBackupOnsiteOption() {
		return backupOnsiteOption;
	}

	public void setBackupOnsiteOption(int backupOnsiteOption) {
		this.backupOnsiteOption = backupOnsiteOption;
	}

	public int getBackupOffsiteOption() {
		return backupOffsiteOption;
	}

	public void setBackupOffsiteOption(int backupOffsiteOption) {
		this.backupOffsiteOption = backupOffsiteOption;
	}

	public String getBackupDvdOption() {
		return backupDvdOption;
	}

	public void setBackupDvdOption(String backupDvdOption) {
		this.backupDvdOption = backupDvdOption;
	}

	public int getDistributionScanOption() {
		return distributionScanOption;
	}

	public void setDistributionScanOption(int distributionScanOption) {
		this.distributionScanOption = distributionScanOption;
	}

	public int getFailoverOption() {
		return failoverOption;
	}

	public void setFailoverOption(int failoverOption) {
		this.failoverOption = failoverOption;
	}

	public String getFormCompleted() {
		return formCompleted;
	}

	public void setFormCompleted(String formCompleted) {
		this.formCompleted = formCompleted;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy