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.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     * <p>
027     * This interface is a model that represents the UserGroupRole table in the
028     * database.
029     * </p>
030     *
031     * @author    Brian Wing Shun Chan
032     * @see       UserGroupRole
033     * @see       com.liferay.portal.model.impl.UserGroupRoleImpl
034     * @see       com.liferay.portal.model.impl.UserGroupRoleModelImpl
035     * @generated
036     */
037    public interface UserGroupRoleModel extends BaseModel<UserGroupRole> {
038            public UserGroupRolePK getPrimaryKey();
039    
040            public void setPrimaryKey(UserGroupRolePK pk);
041    
042            public long getUserId();
043    
044            public void setUserId(long userId);
045    
046            public String getUserUuid() throws SystemException;
047    
048            public void setUserUuid(String userUuid);
049    
050            public long getGroupId();
051    
052            public void setGroupId(long groupId);
053    
054            public long getRoleId();
055    
056            public void setRoleId(long roleId);
057    
058            public UserGroupRole toEscapedModel();
059    
060            public boolean isNew();
061    
062            public void setNew(boolean n);
063    
064            public boolean isCachedModel();
065    
066            public void setCachedModel(boolean cachedModel);
067    
068            public boolean isEscapedModel();
069    
070            public void setEscapedModel(boolean escapedModel);
071    
072            public Serializable getPrimaryKeyObj();
073    
074            public ExpandoBridge getExpandoBridge();
075    
076            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
077    
078            public Object clone();
079    
080            public int compareTo(UserGroupRole userGroupRole);
081    
082            public int hashCode();
083    
084            public String toString();
085    
086            public String toXmlString();
087    }