Liferay 7.0-ce-b4

com.liferay.portal.model
Interface ResourcePermission

All Superinterfaces:
BaseModel<ResourcePermission>, ClassedModel, Cloneable, Comparable<ResourcePermission>, MVCCModel, PersistedModel, ResourcePermissionModel, Serializable, ShardedModel
All Known Implementing Classes:
ResourcePermissionBaseImpl, ResourcePermissionImpl, ResourcePermissionWrapper

@ProviderType
public interface ResourcePermission
extends ResourcePermissionModel, PersistedModel

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

See Also:
ResourcePermissionModel, ResourcePermissionImpl, ResourcePermissionModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static Accessor<ResourcePermission,Long> RESOURCE_PERMISSION_ID_ACCESSOR
           
 
Method Summary
 void addResourceAction(String actionId)
           
 boolean hasAction(ResourceAction resourceAction)
           
 boolean hasActionId(String actionId)
           
 void removeResourceAction(String actionId)
           
 
Methods inherited from interface com.liferay.portal.model.ResourcePermissionModel
clone, compareTo, getActionIds, getCompanyId, getExpandoBridge, getMvccVersion, getName, getOwnerId, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getPrimKeyId, getResourcePermissionId, getRoleId, getScope, getViewActionId, hashCode, isCachedModel, isEscapedModel, isNew, isViewActionId, setActionIds, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setMvccVersion, setName, setNew, setOwnerId, setPrimaryKey, setPrimaryKeyObj, setPrimKey, setPrimKeyId, setResourcePermissionId, setRoleId, setScope, setViewActionId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Field Detail

RESOURCE_PERMISSION_ID_ACCESSOR

static final Accessor<ResourcePermission,Long> RESOURCE_PERMISSION_ID_ACCESSOR
Method Detail

addResourceAction

void addResourceAction(String actionId)
                       throws PortalException
Throws:
PortalException

hasAction

boolean hasAction(ResourceAction resourceAction)

hasActionId

boolean hasActionId(String actionId)

removeResourceAction

void removeResourceAction(String actionId)
                          throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4