Modifier and Type | Field and Description |
---|---|
private I18nizableText |
_description |
private String |
_id |
private String |
_lang |
private String |
_name |
private String |
_parentId |
private String |
_siteName |
private String |
_template |
private I18nizableText |
_title |
Constructor and Description |
---|
Category(String id)
Constructor
|
Category(String id,
String name,
String parentId,
I18nizableText title,
I18nizableText description,
String template,
String siteName,
String lang)
Constructor
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Retrieves the description.
|
String |
getId()
Get the category unique id.
|
String |
getLang()
Get the language
|
String |
getName()
Get the category unique id.
|
String |
getParentId()
Get the parent id.
|
String |
getSiteName()
Get the the site name
|
String |
getTemplate()
Get the template name
|
I18nizableText |
getTitle()
Retrieves the title.
|
void |
setDescription(I18nizableText description)
Set the description.
|
void |
setLang(String lang)
Set the language
|
void |
setSiteName(String siteName)
Set the site name
|
void |
setTemplate(String templateName)
Set the template
|
void |
setTitle(I18nizableText title)
Set the title.
|
private I18nizableText _title
private I18nizableText _description
public Category(String id)
id
- The id of the tag. The id must be unique.public Category(String id, String name, String parentId, I18nizableText title, I18nizableText description, String template, String siteName, String lang)
id
- The id of the category. The id must be unique.name
- The name of the category. The name must be unique. The name is the same as the id except for JCR category.parentId
- The parent category idtitle
- the category titledescription
- the category descriptiontemplate
- the templatesiteName
- the category site namelang
- the category languagepublic String getParentId()
public I18nizableText getTitle()
AmetysRepositoryException
- if an error occurs.public void setTitle(I18nizableText title)
title
- the title to set.public I18nizableText getDescription()
public void setDescription(I18nizableText description)
description
- the description to set.public String getTemplate()
public void setTemplate(String templateName)
templateName
- the templatepublic String getSiteName()
public void setSiteName(String siteName)
siteName
- the site name to set