com.liferay.portal.model
Interface Resource
- All Superinterfaces:
- BaseModel<Resource>, Cloneable, Comparable<Resource>, ResourceModel, Serializable
- All Known Implementing Classes:
- ResourceImpl, ResourceWrapper
public interface Resource
- extends ResourceModel
The model interface for the Resource service. Represents a row in the "Resource_" database table, with each column mapped to a property of this class.
Never modify this interface directly. Add methods to ResourceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
Never reference this interface directly. All methods that expect a resource model instance should use the Resource
interface instead.
- See Also:
ResourceModel
,
ResourceImpl
,
ResourceModelImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Methods inherited from interface com.liferay.portal.model.ResourceModel |
clone, compareTo, getCodeId, getExpandoBridge, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCodeId, setEscapedModel, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimKey, setResourceId, toEscapedModel, toString, toXmlString |
getCompanyId
long getCompanyId()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getName
String getName()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getScope
int getScope()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setCompanyId
void setCompanyId(long companyId)
setName
void setName(String name)
setScope
void setScope(int scope)