001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.model;
022:
023: /**
024: * <a href="GroupModel.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface is a model that represents the <code>Group</code>
033: * table in the database.
034: * </p>
035: *
036: * @author Brian Wing Shun Chan
037: *
038: * @see com.liferay.portal.service.model.Group
039: * @see com.liferay.portal.service.model.impl.GroupImpl
040: * @see com.liferay.portal.service.model.impl.GroupModelImpl
041: *
042: */
043: public interface GroupModel extends BaseModel {
044: public long getPrimaryKey();
045:
046: public void setPrimaryKey(long pk);
047:
048: public long getGroupId();
049:
050: public void setGroupId(long groupId);
051:
052: public long getCompanyId();
053:
054: public void setCompanyId(long companyId);
055:
056: public long getCreatorUserId();
057:
058: public void setCreatorUserId(long creatorUserId);
059:
060: public long getClassNameId();
061:
062: public void setClassNameId(long classNameId);
063:
064: public long getClassPK();
065:
066: public void setClassPK(long classPK);
067:
068: public long getParentGroupId();
069:
070: public void setParentGroupId(long parentGroupId);
071:
072: public long getLiveGroupId();
073:
074: public void setLiveGroupId(long liveGroupId);
075:
076: public String getName();
077:
078: public void setName(String name);
079:
080: public String getDescription();
081:
082: public void setDescription(String description);
083:
084: public int getType();
085:
086: public void setType(int type);
087:
088: public String getTypeSettings();
089:
090: public void setTypeSettings(String typeSettings);
091:
092: public String getFriendlyURL();
093:
094: public void setFriendlyURL(String friendlyURL);
095:
096: public boolean getActive();
097:
098: public boolean isActive();
099:
100: public void setActive(boolean active);
101:
102: public Group toEscapedModel();
103: }
|