Liferay 6.0.3

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

This interface is a model that represents the Resource_ table in the database.

Customize ResourceImpl and rerun the ServiceBuilder to generate the new methods.

See Also:
ResourceModel, ResourceImpl, ResourceModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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, setEscapedModel, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimKey, setResourceId, toEscapedModel, toString, toXmlString
 

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.0.3