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

com.liferay.portal.kernel.googleapps.GUser Maven / Gradle / Ivy

Go to download

Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.

There is a newer version: 7.0.0-nightly
Show newest version
/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library 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 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library 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.
 */

package com.liferay.portal.kernel.googleapps;

import com.liferay.portal.kernel.util.StringPool;

/**
 * @author Brian Wing Shun Chan
 */
public class GUser {

	public String getFirstName() {
		return _firstName;
	}

	public String getFullName() {
		return _firstName.concat(StringPool.SPACE).concat(_lastName);
	}

	public String getLastName() {
		return _lastName;
	}

	public long getUserId() {
		return _userId;
	}

	public boolean isActive() {
		return _active;
	}

	public boolean isAdministrator() {
		return _administrator;
	}

	public boolean isAgreedToTermsOfUse() {
		return _agreedToTermsOfUse;
	}

	public void setActive(boolean active) {
		_active = active;
	}

	public void setAdministrator(boolean administrator) {
		_administrator = administrator;
	}

	public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse) {
		_agreedToTermsOfUse = agreedToTermsOfUse;
	}

	public void setFirstName(String firstName) {
		_firstName = firstName;
	}

	public void setLastName(String lastName) {
		_lastName = lastName;
	}

	public void setUserId(long userId) {
		_userId = userId;
	}

	private boolean _active;
	private boolean _administrator;
	private boolean _agreedToTermsOfUse;
	private String _firstName;
	private String _lastName;
	private long _userId;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy