ResourceActionModel.java |
1 /** 2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 3 * 4 * This library is free software; you can redistribute it and/or modify it under 5 * the terms of the GNU Lesser General Public License as published by the Free 6 * Software Foundation; either version 2.1 of the License, or (at your option) 7 * any later version. 8 * 9 * This library is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12 * details. 13 */ 14 15 package com.liferay.portal.model; 16 17 import java.io.Serializable; 18 19 /** 20 * <a href="ResourceActionModel.java.html"><b><i>View Source</i></b></a> 21 * 22 * <p> 23 * ServiceBuilder generated this class. Modifications in this class will be 24 * overwritten the next time is generated. 25 * </p> 26 * 27 * <p> 28 * This interface is a model that represents the ResourceAction table in the 29 * database. 30 * </p> 31 * 32 * @author Brian Wing Shun Chan 33 * @see ResourceAction 34 * @see com.liferay.portal.model.impl.ResourceActionImpl 35 * @see com.liferay.portal.model.impl.ResourceActionModelImpl 36 * @generated 37 */ 38 public interface ResourceActionModel extends BaseModel<ResourceAction> { 39 public long getPrimaryKey(); 40 41 public void setPrimaryKey(long pk); 42 43 public long getResourceActionId(); 44 45 public void setResourceActionId(long resourceActionId); 46 47 public String getName(); 48 49 public void setName(String name); 50 51 public String getActionId(); 52 53 public void setActionId(String actionId); 54 55 public long getBitwiseValue(); 56 57 public void setBitwiseValue(long bitwiseValue); 58 59 public ResourceAction toEscapedModel(); 60 61 public boolean isNew(); 62 63 public boolean setNew(boolean n); 64 65 public boolean isCachedModel(); 66 67 public void setCachedModel(boolean cachedModel); 68 69 public boolean isEscapedModel(); 70 71 public void setEscapedModel(boolean escapedModel); 72 73 public Serializable getPrimaryKeyObj(); 74 75 public Object clone(); 76 77 public int compareTo(ResourceAction resourceAction); 78 79 public int hashCode(); 80 81 public String toString(); 82 83 public String toXmlString(); 84 }