001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    /**
025     * <p>
026     * This interface is a model that represents the Organization_ table in the
027     * database.
028     * </p>
029     *
030     * @author    Brian Wing Shun Chan
031     * @see       Organization
032     * @see       com.liferay.portal.model.impl.OrganizationImpl
033     * @see       com.liferay.portal.model.impl.OrganizationModelImpl
034     * @generated
035     */
036    public interface OrganizationModel extends BaseModel<Organization> {
037            public long getPrimaryKey();
038    
039            public void setPrimaryKey(long pk);
040    
041            public long getOrganizationId();
042    
043            public void setOrganizationId(long organizationId);
044    
045            public long getCompanyId();
046    
047            public void setCompanyId(long companyId);
048    
049            public long getParentOrganizationId();
050    
051            public void setParentOrganizationId(long parentOrganizationId);
052    
053            public long getLeftOrganizationId();
054    
055            public void setLeftOrganizationId(long leftOrganizationId);
056    
057            public long getRightOrganizationId();
058    
059            public void setRightOrganizationId(long rightOrganizationId);
060    
061            @AutoEscape
062            public String getName();
063    
064            public void setName(String name);
065    
066            public String getType();
067    
068            public void setType(String type);
069    
070            public boolean getRecursable();
071    
072            public boolean isRecursable();
073    
074            public void setRecursable(boolean recursable);
075    
076            public long getRegionId();
077    
078            public void setRegionId(long regionId);
079    
080            public long getCountryId();
081    
082            public void setCountryId(long countryId);
083    
084            public int getStatusId();
085    
086            public void setStatusId(int statusId);
087    
088            @AutoEscape
089            public String getComments();
090    
091            public void setComments(String comments);
092    
093            public Organization toEscapedModel();
094    
095            public boolean isNew();
096    
097            public void setNew(boolean n);
098    
099            public boolean isCachedModel();
100    
101            public void setCachedModel(boolean cachedModel);
102    
103            public boolean isEscapedModel();
104    
105            public void setEscapedModel(boolean escapedModel);
106    
107            public Serializable getPrimaryKeyObj();
108    
109            public ExpandoBridge getExpandoBridge();
110    
111            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
112    
113            public Object clone();
114    
115            public int compareTo(Organization organization);
116    
117            public int hashCode();
118    
119            public String toString();
120    
121            public String toXmlString();
122    }