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

com.liferay.saml.persistence.model.SamlSpAuthRequestSoap Maven / Gradle / Ivy

There is a newer version: 13.0.0
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * The contents of this file are subject to the terms of the Liferay Enterprise
 * Subscription License ("License"). You may not use this file except in
 * compliance with the License. You can obtain a copy of the License by
 * contacting Liferay, Inc. See the License for the specific language governing
 * permissions and limitations under the License, including but not limited to
 * distribution rights of the Software.
 *
 *
 *
 */

package com.liferay.saml.persistence.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author Mika Koivisto
 * @deprecated As of Athanasius (7.3.x), with no direct replacement
 * @generated
 */
@Deprecated
public class SamlSpAuthRequestSoap implements Serializable {

	public static SamlSpAuthRequestSoap toSoapModel(SamlSpAuthRequest model) {
		SamlSpAuthRequestSoap soapModel = new SamlSpAuthRequestSoap();

		soapModel.setSamlSpAuthnRequestId(model.getSamlSpAuthnRequestId());
		soapModel.setCompanyId(model.getCompanyId());
		soapModel.setCreateDate(model.getCreateDate());
		soapModel.setSamlIdpEntityId(model.getSamlIdpEntityId());
		soapModel.setSamlSpAuthRequestKey(model.getSamlSpAuthRequestKey());

		return soapModel;
	}

	public static SamlSpAuthRequestSoap[] toSoapModels(
		SamlSpAuthRequest[] models) {

		SamlSpAuthRequestSoap[] soapModels =
			new SamlSpAuthRequestSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static SamlSpAuthRequestSoap[][] toSoapModels(
		SamlSpAuthRequest[][] models) {

		SamlSpAuthRequestSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels =
				new SamlSpAuthRequestSoap[models.length][models[0].length];
		}
		else {
			soapModels = new SamlSpAuthRequestSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static SamlSpAuthRequestSoap[] toSoapModels(
		List models) {

		List soapModels =
			new ArrayList(models.size());

		for (SamlSpAuthRequest model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new SamlSpAuthRequestSoap[soapModels.size()]);
	}

	public SamlSpAuthRequestSoap() {
	}

	public long getPrimaryKey() {
		return _samlSpAuthnRequestId;
	}

	public void setPrimaryKey(long pk) {
		setSamlSpAuthnRequestId(pk);
	}

	public long getSamlSpAuthnRequestId() {
		return _samlSpAuthnRequestId;
	}

	public void setSamlSpAuthnRequestId(long samlSpAuthnRequestId) {
		_samlSpAuthnRequestId = samlSpAuthnRequestId;
	}

	public long getCompanyId() {
		return _companyId;
	}

	public void setCompanyId(long companyId) {
		_companyId = companyId;
	}

	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	public String getSamlIdpEntityId() {
		return _samlIdpEntityId;
	}

	public void setSamlIdpEntityId(String samlIdpEntityId) {
		_samlIdpEntityId = samlIdpEntityId;
	}

	public String getSamlSpAuthRequestKey() {
		return _samlSpAuthRequestKey;
	}

	public void setSamlSpAuthRequestKey(String samlSpAuthRequestKey) {
		_samlSpAuthRequestKey = samlSpAuthRequestKey;
	}

	private long _samlSpAuthnRequestId;
	private long _companyId;
	private Date _createDate;
	private String _samlIdpEntityId;
	private String _samlSpAuthRequestKey;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy