com.liferay.portal.model
Interface PortletModel

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
All Known Subinterfaces:
Portlet

public interface PortletModel
extends BaseModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Portlet, com.liferay.portal.service.model.impl.PortletImpl, com.liferay.portal.service.model.impl.PortletModelImpl

Method Summary
 boolean getActive()
           
 long getCompanyId()
           
 long getId()
           
 java.lang.String getPortletId()
           
 long getPrimaryKey()
           
 java.lang.String getRoles()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setCompanyId(long companyId)
           
 void setId(long id)
           
 void setPortletId(java.lang.String portletId)
           
 void setPrimaryKey(long pk)
           
 void setRoles(java.lang.String roles)
           
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getId

public long getId()

setId

public void setId(long id)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getPortletId

public java.lang.String getPortletId()

setPortletId

public void setPortletId(java.lang.String portletId)

getRoles

public java.lang.String getRoles()

setRoles

public void setRoles(java.lang.String roles)

getActive

public boolean getActive()

isActive

public boolean isActive()

setActive

public void setActive(boolean active)