001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.service.ServiceContext;
019    import com.liferay.portal.service.persistence.UserGroupRolePK;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * The base model interface for the UserGroupRole service. Represents a row in the "UserGroupRole" database table, with each column mapped to a property of this class.
027     *
028     * <p>
029     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.UserGroupRoleModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.UserGroupRoleImpl}.
030     * </p>
031     *
032     * <p>
033     * Never modify or reference this interface directly. All methods that expect a user group role model instance should use the {@link UserGroupRole} interface instead.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see UserGroupRole
038     * @see com.liferay.portal.model.impl.UserGroupRoleImpl
039     * @see com.liferay.portal.model.impl.UserGroupRoleModelImpl
040     * @generated
041     */
042    public interface UserGroupRoleModel extends BaseModel<UserGroupRole> {
043            /**
044             * Gets the primary key of this user group role.
045             *
046             * @return the primary key of this user group role
047             */
048            public UserGroupRolePK getPrimaryKey();
049    
050            /**
051             * Sets the primary key of this user group role
052             *
053             * @param pk the primary key of this user group role
054             */
055            public void setPrimaryKey(UserGroupRolePK pk);
056    
057            /**
058             * Gets the user id of this user group role.
059             *
060             * @return the user id of this user group role
061             */
062            public long getUserId();
063    
064            /**
065             * Sets the user id of this user group role.
066             *
067             * @param userId the user id of this user group role
068             */
069            public void setUserId(long userId);
070    
071            /**
072             * Gets the user uuid of this user group role.
073             *
074             * @return the user uuid of this user group role
075             * @throws SystemException if a system exception occurred
076             */
077            public String getUserUuid() throws SystemException;
078    
079            /**
080             * Sets the user uuid of this user group role.
081             *
082             * @param userUuid the user uuid of this user group role
083             */
084            public void setUserUuid(String userUuid);
085    
086            /**
087             * Gets the group id of this user group role.
088             *
089             * @return the group id of this user group role
090             */
091            public long getGroupId();
092    
093            /**
094             * Sets the group id of this user group role.
095             *
096             * @param groupId the group id of this user group role
097             */
098            public void setGroupId(long groupId);
099    
100            /**
101             * Gets the role id of this user group role.
102             *
103             * @return the role id of this user group role
104             */
105            public long getRoleId();
106    
107            /**
108             * Sets the role id of this user group role.
109             *
110             * @param roleId the role id of this user group role
111             */
112            public void setRoleId(long roleId);
113    
114            public boolean isNew();
115    
116            public void setNew(boolean n);
117    
118            public boolean isCachedModel();
119    
120            public void setCachedModel(boolean cachedModel);
121    
122            public boolean isEscapedModel();
123    
124            public void setEscapedModel(boolean escapedModel);
125    
126            public Serializable getPrimaryKeyObj();
127    
128            public ExpandoBridge getExpandoBridge();
129    
130            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
131    
132            public Object clone();
133    
134            public int compareTo(UserGroupRole userGroupRole);
135    
136            public int hashCode();
137    
138            public UserGroupRole toEscapedModel();
139    
140            public String toString();
141    
142            public String toXmlString();
143    }