1   /**
2    * Copyright (c) 2000-2007 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.model.impl;
24  
25  import com.liferay.portal.model.Account;
26  import com.liferay.portal.model.Contact;
27  import com.liferay.portal.model.ListType;
28  import com.liferay.portal.model.Organization;
29  
30  /**
31   * <a href="ListTypeImpl.java.html"><b><i>View Source</i></b></a>
32   *
33   * @author Brian Wing Shun Chan
34   *
35   */
36  public class ListTypeImpl extends ListTypeModelImpl implements ListType {
37  
38      // Common
39  
40      public static final String ADDRESS = ".address";
41  
42      public static final String EMAIL_ADDRESS = ".emailAddress";
43  
44      public static final String PHONE = ".phone";
45  
46      public static final String WEBSITE = ".website";
47  
48      // Account
49  
50      public static final String ACCOUNT_ADDRESS =
51          Account.class.getName() + ADDRESS;
52  
53      public static final int ACCOUNT_ADDRESS_DEFAULT = 10000;
54  
55      public static final String ACCOUNT_EMAIL_ADDRESS =
56          Account.class.getName() + EMAIL_ADDRESS;
57  
58      public static final int ACCOUNT_EMAIL_ADDRESS_DEFAULT = 10004;
59  
60      public static final String ACCOUNT_PHONE =
61          Account.class.getName() + PHONE;
62  
63      public static final String ACCOUNT_WEBSITE =
64          Account.class.getName() + WEBSITE;
65  
66      // Contact
67  
68      public static final String CONTACT_ADDRESS =
69          Contact.class.getName() + ADDRESS;
70  
71      public static final String CONTACT_EMAIL_ADDRESS =
72          Contact.class.getName() + EMAIL_ADDRESS;
73  
74      public static final int CONTACT_EMAIL_ADDRESS_DEFAULT = 11003;
75  
76      public static final String CONTACT_PHONE =
77          Contact.class.getName() + PHONE;
78  
79      public static final String CONTACT_PREFIX =
80          Contact.class.getName() + ".prefix";
81  
82      public static final String CONTACT_SUFFIX =
83          Contact.class.getName() + ".suffix";
84  
85      public static final String CONTACT_WEBSITE =
86          Contact.class.getName() + WEBSITE;
87  
88      // Organization
89  
90      public static final String ORGANIZATION_ADDRESS =
91          Organization.class.getName() + ADDRESS;
92  
93      public static final String ORGANIZATION_EMAIL_ADDRESS =
94          Organization.class.getName() + EMAIL_ADDRESS;
95  
96      public static final String ORGANIZATION_PHONE =
97          Organization.class.getName() + PHONE;
98  
99      public static final String ORGANIZATION_SERVICE =
100         Organization.class.getName() + ".service";
101 
102     public static final String ORGANIZATION_STATUS =
103         Organization.class.getName() + ".status";
104 
105     public static final int ORGANIZATION_STATUS_DEFAULT = 12017;
106 
107     public static final String ORGANIZATION_WEBSITE =
108         Organization.class.getName() + WEBSITE;
109 
110     public ListTypeImpl() {
111     }
112 
113 }