com.liferay.portal.model.User Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* 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.model;
/**
* The extended model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
*
* @author Brian Wing Shun Chan
* @see UserModel
* @see com.liferay.portal.model.impl.UserImpl
* @see com.liferay.portal.model.impl.UserModelImpl
* @generated
*/
public interface User extends UserModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.UserImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public void addRemotePreference(
com.liferay.portal.kernel.util.RemotePreference remotePreference);
public java.util.List getAddresses()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.Date getBirthday()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getCompanyMx()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.model.Contact getContact()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getDigest(java.lang.String password);
public java.lang.String getDisplayEmailAddress();
public java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath, boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getDisplayURL(
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getDisplayURL(
com.liferay.portal.theme.ThemeDisplay themeDisplay,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getEmailAddresses()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean getFemale()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
@com.liferay.portal.kernel.bean.AutoEscape()
public java.lang.String getFullName();
public com.liferay.portal.model.Group getGroup()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public long getGroupId()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public long[] getGroupIds()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getGroups()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.Locale getLocale();
public java.lang.String getLogin()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean getMale()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getMySiteGroups()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getMySiteGroups(
boolean includeControlPanel, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getMySiteGroups(
int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getMySiteGroups(
java.lang.String[] classNames, boolean includeControlPanel, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getMySiteGroups(
java.lang.String[] classNames, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups}
*/
public java.util.List getMySites()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(boolean,
int)}
*/
public java.util.List getMySites(
boolean includeControlPanel, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(int)}
*/
public java.util.List getMySites(int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(String[],
boolean, int)}
*/
public java.util.List getMySites(
java.lang.String[] classNames, boolean includeControlPanel, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
/**
* @deprecated As of 6.2.0, replaced by {@link #getMySiteGroups(String[],
int)}
*/
public java.util.List getMySites(
java.lang.String[] classNames, int max)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public long[] getOrganizationIds()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public long[] getOrganizationIds(boolean includeAdministrative)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getOrganizations()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getOrganizations(
boolean includeAdministrative)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean getPasswordModified();
public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getPasswordUnencrypted();
public java.util.List getPhones()
throws com.liferay.portal.kernel.exception.SystemException;
public java.lang.String getPortraitURL(
com.liferay.portal.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public int getPrivateLayoutsPageCount()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public int getPublicLayoutsPageCount()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.Set getReminderQueryQuestions()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
java.lang.String name);
public java.lang.Iterable getRemotePreferences();
public long[] getRoleIds()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getRoles()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getSiteGroups()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public java.util.List getSiteGroups(
boolean includeAdministrative)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public long[] getTeamIds()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getTeams()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.TimeZone getTimeZone();
public long[] getUserGroupIds()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getUserGroups()
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List getWebsites()
throws com.liferay.portal.kernel.exception.SystemException;
public boolean hasCompanyMx()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasCompanyMx(java.lang.String emailAddress)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasMySites()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasOrganization()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasPrivateLayouts()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasPublicLayouts()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean hasReminderQuery();
public boolean isActive();
public boolean isFemale()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isMale()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;
public boolean isPasswordModified();
public void setPasswordModified(boolean passwordModified);
public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
}