com.liferay.saml.persistence.model.SamlSpSessionSoap Maven / Gradle / Ivy
/**
* 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 SamlSpSessionSoap implements Serializable {
public static SamlSpSessionSoap toSoapModel(SamlSpSession model) {
SamlSpSessionSoap soapModel = new SamlSpSessionSoap();
soapModel.setSamlSpSessionId(model.getSamlSpSessionId());
soapModel.setCompanyId(model.getCompanyId());
soapModel.setUserId(model.getUserId());
soapModel.setUserName(model.getUserName());
soapModel.setCreateDate(model.getCreateDate());
soapModel.setModifiedDate(model.getModifiedDate());
soapModel.setSamlIdpEntityId(model.getSamlIdpEntityId());
soapModel.setSamlSpSessionKey(model.getSamlSpSessionKey());
soapModel.setAssertionXml(model.getAssertionXml());
soapModel.setJSessionId(model.getJSessionId());
soapModel.setNameIdFormat(model.getNameIdFormat());
soapModel.setNameIdNameQualifier(model.getNameIdNameQualifier());
soapModel.setNameIdSPNameQualifier(model.getNameIdSPNameQualifier());
soapModel.setNameIdValue(model.getNameIdValue());
soapModel.setSessionIndex(model.getSessionIndex());
soapModel.setTerminated(model.isTerminated());
return soapModel;
}
public static SamlSpSessionSoap[] toSoapModels(SamlSpSession[] models) {
SamlSpSessionSoap[] soapModels = new SamlSpSessionSoap[models.length];
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModel(models[i]);
}
return soapModels;
}
public static SamlSpSessionSoap[][] toSoapModels(SamlSpSession[][] models) {
SamlSpSessionSoap[][] soapModels = null;
if (models.length > 0) {
soapModels = new SamlSpSessionSoap[models.length][models[0].length];
}
else {
soapModels = new SamlSpSessionSoap[0][0];
}
for (int i = 0; i < models.length; i++) {
soapModels[i] = toSoapModels(models[i]);
}
return soapModels;
}
public static SamlSpSessionSoap[] toSoapModels(List models) {
List soapModels = new ArrayList(
models.size());
for (SamlSpSession model : models) {
soapModels.add(toSoapModel(model));
}
return soapModels.toArray(new SamlSpSessionSoap[soapModels.size()]);
}
public SamlSpSessionSoap() {
}
public long getPrimaryKey() {
return _samlSpSessionId;
}
public void setPrimaryKey(long pk) {
setSamlSpSessionId(pk);
}
public long getSamlSpSessionId() {
return _samlSpSessionId;
}
public void setSamlSpSessionId(long samlSpSessionId) {
_samlSpSessionId = samlSpSessionId;
}
public long getCompanyId() {
return _companyId;
}
public void setCompanyId(long companyId) {
_companyId = companyId;
}
public long getUserId() {
return _userId;
}
public void setUserId(long userId) {
_userId = userId;
}
public String getUserName() {
return _userName;
}
public void setUserName(String userName) {
_userName = userName;
}
public Date getCreateDate() {
return _createDate;
}
public void setCreateDate(Date createDate) {
_createDate = createDate;
}
public Date getModifiedDate() {
return _modifiedDate;
}
public void setModifiedDate(Date modifiedDate) {
_modifiedDate = modifiedDate;
}
public String getSamlIdpEntityId() {
return _samlIdpEntityId;
}
public void setSamlIdpEntityId(String samlIdpEntityId) {
_samlIdpEntityId = samlIdpEntityId;
}
public String getSamlSpSessionKey() {
return _samlSpSessionKey;
}
public void setSamlSpSessionKey(String samlSpSessionKey) {
_samlSpSessionKey = samlSpSessionKey;
}
public String getAssertionXml() {
return _assertionXml;
}
public void setAssertionXml(String assertionXml) {
_assertionXml = assertionXml;
}
public String getJSessionId() {
return _jSessionId;
}
public void setJSessionId(String jSessionId) {
_jSessionId = jSessionId;
}
public String getNameIdFormat() {
return _nameIdFormat;
}
public void setNameIdFormat(String nameIdFormat) {
_nameIdFormat = nameIdFormat;
}
public String getNameIdNameQualifier() {
return _nameIdNameQualifier;
}
public void setNameIdNameQualifier(String nameIdNameQualifier) {
_nameIdNameQualifier = nameIdNameQualifier;
}
public String getNameIdSPNameQualifier() {
return _nameIdSPNameQualifier;
}
public void setNameIdSPNameQualifier(String nameIdSPNameQualifier) {
_nameIdSPNameQualifier = nameIdSPNameQualifier;
}
public String getNameIdValue() {
return _nameIdValue;
}
public void setNameIdValue(String nameIdValue) {
_nameIdValue = nameIdValue;
}
public String getSessionIndex() {
return _sessionIndex;
}
public void setSessionIndex(String sessionIndex) {
_sessionIndex = sessionIndex;
}
public boolean getTerminated() {
return _terminated;
}
public boolean isTerminated() {
return _terminated;
}
public void setTerminated(boolean terminated) {
_terminated = terminated;
}
private long _samlSpSessionId;
private long _companyId;
private long _userId;
private String _userName;
private Date _createDate;
private Date _modifiedDate;
private String _samlIdpEntityId;
private String _samlSpSessionKey;
private String _assertionXml;
private String _jSessionId;
private String _nameIdFormat;
private String _nameIdNameQualifier;
private String _nameIdSPNameQualifier;
private String _nameIdValue;
private String _sessionIndex;
private boolean _terminated;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy