public class SponsoredLinkTemplate extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_TYPE
Unique name of the resource type implemented by this class
|
Constructor and Description |
---|
SponsoredLinkTemplate() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
fr.paris.lutece.portal.service.insert.InsertService |
getInsertService() |
int |
getOrder() |
String |
getSubCategory()
The subcategory that might be used to filter resources.
|
void |
setDescription(String description)
Sets a description of the link
|
void |
setInsertService(fr.paris.lutece.portal.service.insert.InsertService insertService)
Sets the InsertService of this template
|
fr.paris.lutece.portal.service.insert.InsertService |
setInsertService(String strId)
Sets the InsertService of this template from its identifier.
|
void |
setOrder(int order)
Sets the order of the link in the set
|
void |
setSubCategory(String strSubCategory)
The subcategory that might be used to filter resources.
|
public static final String RESOURCE_TYPE
public String getSubCategory()
public void setSubCategory(String strSubCategory)
strSubCategory
- The subcategory that might be used to filter resources, empty string otherwise.public int getOrder()
public void setOrder(int order)
order
- The orderpublic String getDescription()
public void setDescription(String description)
description
- A descriptionpublic fr.paris.lutece.portal.service.insert.InsertService getInsertService()
public void setInsertService(fr.paris.lutece.portal.service.insert.InsertService insertService)
insertService
- the InsertService to associate with this templatepublic fr.paris.lutece.portal.service.insert.InsertService setInsertService(String strId)
strId
- the id of the InsertService to associate with this templateCopyright © 2017 City of Paris. All rights reserved.