Liferay 6.0.5

com.liferay.portal.model
Interface Permission

All Superinterfaces:
BaseModel<Permission>, Cloneable, Comparable<Permission>, PermissionModel, Serializable
All Known Implementing Classes:
PermissionImpl, PermissionWrapper

public interface Permission
extends PermissionModel

The model interface for the Permission service. Represents a row in the "Permission_" database table, with each column mapped to a property of this class.

Never modify this interface directly. Add methods to PermissionImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a permission model instance should use the Permission interface instead.

See Also:
PermissionModel, PermissionImpl, PermissionModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 String getName()
           
 String getPrimKey()
           
 int getScope()
           
 void setName(String name)
           
 void setPrimKey(String primKey)
           
 void setScope(int scope)
           
 
Methods inherited from interface com.liferay.portal.model.PermissionModel
clone, compareTo, getActionId, getCompanyId, getExpandoBridge, getPermissionId, getPrimaryKey, getPrimaryKeyObj, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setActionId, setCachedModel, setCompanyId, setEscapedModel, setExpandoBridgeAttributes, setNew, setPermissionId, setPrimaryKey, setResourceId, toEscapedModel, toString, toXmlString
 

Method Detail

getName

String getName()

getPrimKey

String getPrimKey()

getScope

int getScope()

setName

void setName(String name)

setPrimKey

void setPrimKey(String primKey)

setScope

void setScope(int scope)

Liferay 6.0.5