/** * Copyright (c) 2000-present 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 org.oep.usermgt.model; import com.liferay.portal.kernel.bean.AutoEscape; import com.liferay.portal.kernel.exception.SystemException; import com.liferay.portal.model.BaseModel; import com.liferay.portal.model.CacheModel; import com.liferay.portal.service.ServiceContext; import com.liferay.portlet.expando.model.ExpandoBridge; import java.io.Serializable; import java.util.Date; /** * The base model interface for the Employee service. Represents a row in the "oep_usermgt_employee" database table, with each column mapped to a property of this class. * * <p> * This interface and its corresponding implementation {@link org.oep.usermgt.model.impl.EmployeeModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link org.oep.usermgt.model.impl.EmployeeImpl}. * </p> * * @author NQMINH * @see Employee * @see org.oep.usermgt.model.impl.EmployeeImpl * @see org.oep.usermgt.model.impl.EmployeeModelImpl * @generated */ public interface EmployeeModel extends BaseModel<Employee> { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. All methods that expect a employee model instance should use the {@link Employee} interface instead. */ /** * Returns the primary key of this employee. * * @return the primary key of this employee */ public long getPrimaryKey(); /** * Sets the primary key of this employee. * * @param primaryKey the primary key of this employee */ public void setPrimaryKey(long primaryKey); /** * Returns the employee ID of this employee. * * @return the employee ID of this employee */ public long getEmployeeId(); /** * Sets the employee ID of this employee. * * @param employeeId the employee ID of this employee */ public void setEmployeeId(long employeeId); /** * Returns the company ID of this employee. * * @return the company ID of this employee */ public long getCompanyId(); /** * Sets the company ID of this employee. * * @param companyId the company ID of this employee */ public void setCompanyId(long companyId); /** * Returns the group ID of this employee. * * @return the group ID of this employee */ public long getGroupId(); /** * Sets the group ID of this employee. * * @param groupId the group ID of this employee */ public void setGroupId(long groupId); /** * Returns the user ID of this employee. * * @return the user ID of this employee */ public long getUserId(); /** * Sets the user ID of this employee. * * @param userId the user ID of this employee */ public void setUserId(long userId); /** * Returns the user uuid of this employee. * * @return the user uuid of this employee * @throws SystemException if a system exception occurred */ public String getUserUuid() throws SystemException; /** * Sets the user uuid of this employee. * * @param userUuid the user uuid of this employee */ public void setUserUuid(String userUuid); /** * Returns the create date of this employee. * * @return the create date of this employee */ public Date getCreateDate(); /** * Sets the create date of this employee. * * @param createDate the create date of this employee */ public void setCreateDate(Date createDate); /** * Returns the modified date of this employee. * * @return the modified date of this employee */ public Date getModifiedDate(); /** * Sets the modified date of this employee. * * @param modifiedDate the modified date of this employee */ public void setModifiedDate(Date modifiedDate); /** * Returns the mapping user ID of this employee. * * @return the mapping user ID of this employee */ public long getMappingUserId(); /** * Sets the mapping user ID of this employee. * * @param mappingUserId the mapping user ID of this employee */ public void setMappingUserId(long mappingUserId); /** * Returns the mapping user uuid of this employee. * * @return the mapping user uuid of this employee * @throws SystemException if a system exception occurred */ public String getMappingUserUuid() throws SystemException; /** * Sets the mapping user uuid of this employee. * * @param mappingUserUuid the mapping user uuid of this employee */ public void setMappingUserUuid(String mappingUserUuid); /** * Returns the working unit ID of this employee. * * @return the working unit ID of this employee */ public long getWorkingUnitId(); /** * Sets the working unit ID of this employee. * * @param workingUnitId the working unit ID of this employee */ public void setWorkingUnitId(long workingUnitId); /** * Returns the main job pos ID of this employee. * * @return the main job pos ID of this employee */ public long getMainJobPosId(); /** * Sets the main job pos ID of this employee. * * @param mainJobPosId the main job pos ID of this employee */ public void setMainJobPosId(long mainJobPosId); /** * Returns the employee no of this employee. * * @return the employee no of this employee */ @AutoEscape public String getEmployeeNo(); /** * Sets the employee no of this employee. * * @param employeeNo the employee no of this employee */ public void setEmployeeNo(String employeeNo); /** * Returns the full name of this employee. * * @return the full name of this employee */ @AutoEscape public String getFullName(); /** * Sets the full name of this employee. * * @param fullName the full name of this employee */ public void setFullName(String fullName); /** * Returns the office tel of this employee. * * @return the office tel of this employee */ @AutoEscape public String getOfficeTel(); /** * Sets the office tel of this employee. * * @param officeTel the office tel of this employee */ public void setOfficeTel(String officeTel); /** * Returns the home tel of this employee. * * @return the home tel of this employee */ @AutoEscape public String getHomeTel(); /** * Sets the home tel of this employee. * * @param homeTel the home tel of this employee */ public void setHomeTel(String homeTel); /** * Returns the mobile of this employee. * * @return the mobile of this employee */ @AutoEscape public String getMobile(); /** * Sets the mobile of this employee. * * @param mobile the mobile of this employee */ public void setMobile(String mobile); /** * Returns the email of this employee. * * @return the email of this employee */ @AutoEscape public String getEmail(); /** * Sets the email of this employee. * * @param email the email of this employee */ public void setEmail(String email); /** * Returns the short name of this employee. * * @return the short name of this employee */ @AutoEscape public String getShortName(); /** * Sets the short name of this employee. * * @param shortName the short name of this employee */ public void setShortName(String shortName); /** * Returns the personel doc no of this employee. * * @return the personel doc no of this employee */ @AutoEscape public String getPersonelDocNo(); /** * Sets the personel doc no of this employee. * * @param personelDocNo the personel doc no of this employee */ public void setPersonelDocNo(String personelDocNo); /** * Returns the gender of this employee. * * @return the gender of this employee */ public int getGender(); /** * Sets the gender of this employee. * * @param gender the gender of this employee */ public void setGender(int gender); /** * Returns the birthdate of this employee. * * @return the birthdate of this employee */ public Date getBirthdate(); /** * Sets the birthdate of this employee. * * @param birthdate the birthdate of this employee */ public void setBirthdate(Date birthdate); @Override public boolean isNew(); @Override public void setNew(boolean n); @Override public boolean isCachedModel(); @Override public void setCachedModel(boolean cachedModel); @Override public boolean isEscapedModel(); @Override public Serializable getPrimaryKeyObj(); @Override public void setPrimaryKeyObj(Serializable primaryKeyObj); @Override public ExpandoBridge getExpandoBridge(); @Override public void setExpandoBridgeAttributes(BaseModel<?> baseModel); @Override public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); @Override public void setExpandoBridgeAttributes(ServiceContext serviceContext); @Override public Object clone(); @Override public int compareTo(Employee employee); @Override public int hashCode(); @Override public CacheModel<Employee> toCacheModel(); @Override public Employee toEscapedModel(); @Override public Employee toUnescapedModel(); @Override public String toString(); @Override public String toXmlString(); }