Class BaseIndividualTemplateModel
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.web.templatemodels.BaseTemplateModel
-
- edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.BaseIndividualTemplateModel
-
- Direct Known Subclasses:
IndividualTemplateModel
public abstract class BaseIndividualTemplateModel extends BaseTemplateModel
-
-
Field Summary
Fields Modifier and Type Field Description protected Individualindividualprotected LoginStatusBeanloginStatusBeanprotected GroupedPropertyListpropertyListprotected VitroRequestvreq
-
Constructor Summary
Constructors Constructor Description BaseIndividualTemplateModel(Individual individual, VitroRequest vreq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcontrolPanelUrl()StringgetDeleteUrl()StringgetImageUrl()StringgetLocalName()Collection<String>getMostSpecificTypes()StringgetName()NameStatementTemplateModelgetNameStatement()StringgetProfileUrl()GroupedPropertyListgetPropertyList()StringgetRdfUrl()booleangetShowAdminPanel()StringgetThumbUrl()StringgetUri()booleanisEditable()This page is editable if the user is authorized to add a data property or an object property to the Individual being shown.protected booleanisVClass(String vClassUri)StringselfEditingId()-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.web.templatemodels.BaseTemplateModel
cleanMapValuesForDisplay, cleanTextForDisplay, cleanURIForDisplay, getUrl, getUrl, getUrl, simpleScriptStripper
-
-
-
-
Field Detail
-
individual
protected final Individual individual
-
loginStatusBean
protected final LoginStatusBean loginStatusBean
-
vreq
protected final VitroRequest vreq
-
propertyList
protected GroupedPropertyList propertyList
-
-
Constructor Detail
-
BaseIndividualTemplateModel
public BaseIndividualTemplateModel(Individual individual, VitroRequest vreq)
-
-
Method Detail
-
isVClass
protected boolean isVClass(String vClassUri)
-
getProfileUrl
public String getProfileUrl()
-
getImageUrl
public String getImageUrl()
-
getThumbUrl
public String getThumbUrl()
-
getRdfUrl
public String getRdfUrl()
-
getPropertyList
public GroupedPropertyList getPropertyList()
-
isEditable
public boolean isEditable()
This page is editable if the user is authorized to add a data property or an object property to the Individual being shown.
-
getShowAdminPanel
public boolean getShowAdminPanel()
-
getNameStatement
public NameStatementTemplateModel getNameStatement()
-
getName
public String getName()
-
getDeleteUrl
public String getDeleteUrl()
-
getMostSpecificTypes
public Collection<String> getMostSpecificTypes()
-
getUri
public String getUri()
-
getLocalName
public String getLocalName()
-
selfEditingId
public String selfEditingId()
-
controlPanelUrl
public String controlPanelUrl()
-
-