Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Interface Resource

All Superinterfaces:
BaseModel<Resource>, ClassedModel, Cloneable, Comparable<Resource>, PersistedModel, ResourceModel, Serializable
All Known Implementing Classes:
ResourceWrapper

public interface Resource
extends ResourceModel, PersistedModel

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

See Also:
ResourceModel, ResourceImpl, ResourceModelImpl

Method Summary
 long getCompanyId()
           
 String getName()
           
 int getScope()
           
 void setCompanyId(long companyId)
           
 void setName(String name)
           
 void setScope(int scope)
           
 
Methods inherited from interface com.liferay.portal.model.ResourceModel
clone, compareTo, getCodeId, getExpandoBridge, getPrimaryKey, getPrimaryKeyObj, getPrimKey, getResourceId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCodeId, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimaryKeyObj, setPrimKey, setResourceId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

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)

Liferay 6.1.2-ce-ga3