Package com.axemble.vdoc.sdk.interfaces
Interface ISite
- All Superinterfaces:
IDeletionSupport,IElement,IProtocolSupport,ISecuritySupport,ISeoSupport,IUriSupport,Serializable
- All Known Implementing Classes:
EzsSite
public interface ISite
extends IElement, IUriSupport, ISecuritySupport, IProtocolSupport, IDeletionSupport, ISeoSupport
This class represents a site.
- Since:
- 2.1
- Version:
- 1.0, 16/06/2009
- Author:
- vlygeros
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes a site and allows to specify if the linkedILibraryobject should be deleted.Gets the body tag code.Gets the created date.Gets the CSS class rules.Gets the description of the site.Returns all the domains associated with this site.Gets the head tag code.getLabel()Gets all the additional libraries.Gets the associatedILibraryobject.getName()Gets the organization object.voidsetBodyTagCode(String bodyTagCode) Sets the body tag code.voidsetCreatedDate(Date date) Sets the created date.voidsetCssClassRules(String cssClassRules) Sets the CSS class rules.voidsetDescription(String description) Sets the description of the site.voidsetDomains(Collection domains) Sets the domains associated with this site.voidsetHeadTagCode(String headTagCode) Sets the head tag code.voidSets the label of the site.voidSets the name of the site.Methods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupport
deleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.supports.ISeoSupport
getSEO, setSEOMethods inherited from interface com.axemble.vdoc.sdk.supports.IUriSupport
getURI
-
Method Details
-
getName
String getName()- Returns:
- The system name of the site
-
setName
Sets the name of the site.- Parameters:
name- the new name to set.
-
getLabel
String getLabel()- Returns:
- The label of the site
-
setLabel
Sets the label of the site.- Parameters:
label- the new label to set.
-
getDescription
String getDescription()Gets the description of the site.- Returns:
- a String of the site.
-
setDescription
Sets the description of the site.- Parameters:
description- the new description to set.
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- a
Dateobject.
-
setCreatedDate
Sets the created date.- Parameters:
date- TheDateto set.
-
getLibrary
ILibrary getLibrary()Gets the associatedILibraryobject.- Returns:
- A
ILibraryobject.
-
getLibraries
Collection getLibraries()Gets all the additional libraries.- Returns:
- A java.util.Collection of
ILibraryobjects.
-
getOrganization
IOrganization getOrganization()Gets the organization object.- Returns:
- A
IOrganizationobject.
-
delete
Deletes a site and allows to specify if the linkedILibraryobject should be deleted.- Parameters:
context- The execution context.deleteLinkedLibrary- Flag to specify if the linked library should be deleted.
-
getHeadTagCode
String getHeadTagCode()Gets the head tag code.- Returns:
- A java.lang.String value.
-
setHeadTagCode
Sets the head tag code.- Parameters:
headTagCode- The head tag code.
-
getBodyTagCode
String getBodyTagCode()Gets the body tag code.- Returns:
- A java.lang.String value.
-
setBodyTagCode
Sets the body tag code.- Parameters:
bodyTagCode- The body tag code.
-
getCssClassRules
String getCssClassRules()Gets the CSS class rules.- Returns:
- A java.lang.String value.
-
setCssClassRules
Sets the CSS class rules.- Parameters:
cssClassRules- The CSS class rules to set.
-
getDomains
Collection getDomains()Returns all the domains associated with this site.- Returns:
- A java.util.Collection of java.lang.String domain names.
-
setDomains
Sets the domains associated with this site.- Parameters:
domains- A java.util.Collection of java.lang.String domain names
-