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.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * <p>
027     * This interface is a model that represents the Group_ table in the
028     * database.
029     * </p>
030     *
031     * @author    Brian Wing Shun Chan
032     * @see       Group
033     * @see       com.liferay.portal.model.impl.GroupImpl
034     * @see       com.liferay.portal.model.impl.GroupModelImpl
035     * @generated
036     */
037    public interface GroupModel extends BaseModel<Group> {
038            public long getPrimaryKey();
039    
040            public void setPrimaryKey(long pk);
041    
042            public long getGroupId();
043    
044            public void setGroupId(long groupId);
045    
046            public long getCompanyId();
047    
048            public void setCompanyId(long companyId);
049    
050            public long getCreatorUserId();
051    
052            public void setCreatorUserId(long creatorUserId);
053    
054            public String getCreatorUserUuid() throws SystemException;
055    
056            public void setCreatorUserUuid(String creatorUserUuid);
057    
058            public String getClassName();
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            @AutoEscape
077            public String getName();
078    
079            public void setName(String name);
080    
081            @AutoEscape
082            public String getDescription();
083    
084            public void setDescription(String description);
085    
086            public int getType();
087    
088            public void setType(int type);
089    
090            @AutoEscape
091            public String getTypeSettings();
092    
093            public void setTypeSettings(String typeSettings);
094    
095            @AutoEscape
096            public String getFriendlyURL();
097    
098            public void setFriendlyURL(String friendlyURL);
099    
100            public boolean getActive();
101    
102            public boolean isActive();
103    
104            public void setActive(boolean active);
105    
106            public Group toEscapedModel();
107    
108            public boolean isNew();
109    
110            public void setNew(boolean n);
111    
112            public boolean isCachedModel();
113    
114            public void setCachedModel(boolean cachedModel);
115    
116            public boolean isEscapedModel();
117    
118            public void setEscapedModel(boolean escapedModel);
119    
120            public Serializable getPrimaryKeyObj();
121    
122            public ExpandoBridge getExpandoBridge();
123    
124            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
125    
126            public Object clone();
127    
128            public int compareTo(Group group);
129    
130            public int hashCode();
131    
132            public String toString();
133    
134            public String toXmlString();
135    }