public interface ISite extends IElement, IUriSupport, ISecuritySupport, IProtocolSupport, IDeletionSupport, ISeoSupport
Modifier and Type | Method and Description |
---|---|
void |
delete(IContext context,
boolean deleteLinkedLibrary)
Deletes a site and allows to specify if the linked
ILibrary object should be deleted. |
String |
getBodyTagCode()
Gets the body tag code.
|
Date |
getCreatedDate()
Gets the created date.
|
String |
getCssClassRules()
Gets the CSS class rules.
|
String |
getDescription()
Gets the description of the site.
|
Collection |
getDomains()
Returns all the domains associated with this site.
|
String |
getHeadTagCode()
Gets the head tag code.
|
String |
getLabel() |
Collection |
getLibraries()
Gets all the additional libraries.
|
ILibrary |
getLibrary()
Gets the associated
ILibrary object. |
String |
getName() |
IOrganization |
getOrganization()
Gets the organization object.
|
void |
setBodyTagCode(String bodyTagCode)
Sets the body tag code.
|
void |
setCreatedDate(Date date)
Sets the created date.
|
void |
setCssClassRules(String cssClassRules)
Sets the CSS class rules.
|
void |
setDescription(String description)
Sets the description of the site.
|
void |
setDomains(Collection domains)
Sets the domains associated with this site.
|
void |
setHeadTagCode(String headTagCode)
Sets the head tag code.
|
void |
setLabel(String label)
Sets the label of the site.
|
void |
setName(String name)
Sets the name of the site.
|
getId, getModule, getNativeObject, getPath, save
getURI
getProtocolURI, getProtocolURI
delete
getSEO, setSEO
String getName()
void setName(String name)
name
- the new name to set.String getLabel()
void setLabel(String label)
label
- the new label to set.String getDescription()
void setDescription(String description)
description
- the new description to set.void setCreatedDate(Date date)
date
- The Date
to set.Collection getLibraries()
ILibrary
objects.IOrganization getOrganization()
IOrganization
object.void delete(IContext context, boolean deleteLinkedLibrary)
ILibrary
object should be deleted.context
- The execution context.deleteLinkedLibrary
- Flag to specify if the linked library should be deleted.String getHeadTagCode()
void setHeadTagCode(String headTagCode)
headTagCode
- The head tag code.String getBodyTagCode()
void setBodyTagCode(String bodyTagCode)
bodyTagCode
- The body tag code.String getCssClassRules()
void setCssClassRules(String cssClassRules)
cssClassRules
- The CSS class rules to set.Collection getDomains()
void setDomains(Collection domains)
domains
- A java.util.Collection of java.lang.String domain namesCopyright © 2022 Visiativ. All rights reserved.