1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.model;
16  
17  import java.io.Serializable;
18  
19  /**
20   * <a href="OrganizationModel.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * <p>
28   * This interface is a model that represents the Organization_ table in the
29   * database.
30   * </p>
31   *
32   * @author    Brian Wing Shun Chan
33   * @see       Organization
34   * @see       com.liferay.portal.model.impl.OrganizationImpl
35   * @see       com.liferay.portal.model.impl.OrganizationModelImpl
36   * @generated
37   */
38  public interface OrganizationModel extends BaseModel<Organization> {
39      public long getPrimaryKey();
40  
41      public void setPrimaryKey(long pk);
42  
43      public long getOrganizationId();
44  
45      public void setOrganizationId(long organizationId);
46  
47      public long getCompanyId();
48  
49      public void setCompanyId(long companyId);
50  
51      public long getParentOrganizationId();
52  
53      public void setParentOrganizationId(long parentOrganizationId);
54  
55      public long getLeftOrganizationId();
56  
57      public void setLeftOrganizationId(long leftOrganizationId);
58  
59      public long getRightOrganizationId();
60  
61      public void setRightOrganizationId(long rightOrganizationId);
62  
63      public String getName();
64  
65      public void setName(String name);
66  
67      public boolean getLocation();
68  
69      public boolean isLocation();
70  
71      public void setLocation(boolean location);
72  
73      public boolean getRecursable();
74  
75      public boolean isRecursable();
76  
77      public void setRecursable(boolean recursable);
78  
79      public long getRegionId();
80  
81      public void setRegionId(long regionId);
82  
83      public long getCountryId();
84  
85      public void setCountryId(long countryId);
86  
87      public int getStatusId();
88  
89      public void setStatusId(int statusId);
90  
91      public String getComments();
92  
93      public void setComments(String comments);
94  
95      public Organization toEscapedModel();
96  
97      public boolean isNew();
98  
99      public boolean setNew(boolean n);
100 
101     public boolean isCachedModel();
102 
103     public void setCachedModel(boolean cachedModel);
104 
105     public boolean isEscapedModel();
106 
107     public void setEscapedModel(boolean escapedModel);
108 
109     public Serializable getPrimaryKeyObj();
110 
111     public Object clone();
112 
113     public int compareTo(Organization organization);
114 
115     public int hashCode();
116 
117     public String toString();
118 
119     public String toXmlString();
120 }