Package com.axemble.vdoc.sdk.impl
Class EzsSite
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.EzsSite
- All Implemented Interfaces:
IElement
,ISite
,IDeletionSupport
,IProtocolSupport
,ISecuritySupport
,ISeoSupport
,IUriSupport
,Serializable
- Author:
- vlygeros
- See Also:
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKey
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes theIElement
object.void
Deletes a site and allows to specify if the linkedILibrary
object should be deleted.final String
Gets the body tag code.Gets the created date.final String
Gets the CSS class rules.Gets the description of the site.Returns all the domains associated with this site.final String
Gets the head tag code.getLabel()
Gets all the additional libraries.Gets the associatedILibrary
object.getName()
Gets the native object underneath.Gets the organization object.getSEO()
getURI()
Gets the URI of the object supporting this interfaceboolean
save()
final void
setBodyTagCode
(String bodyTagCode) Sets the body tag code.void
setCreatedDate
(Date date) Sets the created date.final 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.final void
setHeadTagCode
(String headTagCode) Sets the head tag code.void
Sets the label of the site.void
setModifiedBy
(IUser user) void
setModifiedDate
(Date date) void
Sets the name of the site.void
Methods inherited from class com.axemble.vdoc.sdk.impl.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setId
Methods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Constructor Details
-
EzsSite
Site constructor- Parameters:
module
- The site modulesiteImpl
- The native object
-
-
Method Details
-
getCreatedBy
-
getCreatedDate
Description copied from interface:ISite
Gets the created date.- Specified by:
getCreatedDate
in interfaceISite
- Returns:
- a
Date
object.
-
getDescription
Description copied from interface:ISite
Gets the description of the site.- Specified by:
getDescription
in interfaceISite
- Returns:
- a String of the site.
-
getLabel
-
getModifiedBy
-
getModifiedDate
-
getName
-
setName
Description copied from interface:ISite
Sets the name of the site. -
setCreatedDate
Description copied from interface:ISite
Sets the created date.- Specified by:
setCreatedDate
in interfaceISite
- Parameters:
date
- TheDate
to set.
-
setDescription
Description copied from interface:ISite
Sets the description of the site.- Specified by:
setDescription
in interfaceISite
- Parameters:
description
- the new description to set.
-
setLabel
Description copied from interface:ISite
Sets the label of the site. -
setModifiedBy
-
setModifiedDate
-
getNativeObject
Description copied from interface:IElement
Gets the native object underneath.- Specified by:
getNativeObject
in interfaceIElement
- Returns:
- an object.
-
getURI
Description copied from interface:IUriSupport
Gets the URI of the object supporting this interface- Specified by:
getURI
in interfaceIUriSupport
- Returns:
- A String object.
-
save
public boolean save() -
delete
Description copied from interface:IDeletionSupport
Deletes theIElement
object.- Specified by:
delete
in interfaceIDeletionSupport
- Parameters:
context
- The Execution context.
-
getLibrary
Description copied from interface:ISite
Gets the associatedILibrary
object.- Specified by:
getLibrary
in interfaceISite
- Returns:
- A
ILibrary
object.
-
getLibraries
Description copied from interface:ISite
Gets all the additional libraries.- Specified by:
getLibraries
in interfaceISite
- Returns:
- A java.util.Collection of
ILibrary
objects.
-
getOrganization
Description copied from interface:ISite
Gets the organization object.- Specified by:
getOrganization
in interfaceISite
- Returns:
- A
IOrganization
object.
-
delete
Description copied from interface:ISite
Deletes a site and allows to specify if the linkedILibrary
object should be deleted. -
getHeadTagCode
Description copied from interface:ISite
Gets the head tag code.- Specified by:
getHeadTagCode
in interfaceISite
- Returns:
- the headTagCode
-
setHeadTagCode
Description copied from interface:ISite
Sets the head tag code.- Specified by:
setHeadTagCode
in interfaceISite
- Parameters:
headTagCode
- the headTagCode to set
-
getBodyTagCode
Description copied from interface:ISite
Gets the body tag code.- Specified by:
getBodyTagCode
in interfaceISite
- Returns:
- the bodyTagCode
-
setBodyTagCode
Description copied from interface:ISite
Sets the body tag code.- Specified by:
setBodyTagCode
in interfaceISite
- Parameters:
bodyTagCode
- the bodyTagCode to set
-
getCssClassRules
Description copied from interface:ISite
Gets the CSS class rules.- Specified by:
getCssClassRules
in interfaceISite
- Returns:
- the cssClassRules
-
setCssClassRules
Description copied from interface:ISite
Sets the CSS class rules.- Specified by:
setCssClassRules
in interfaceISite
- Parameters:
cssClassRules
- the cssClassRules to set
-
getDomains
Description copied from interface:ISite
Returns all the domains associated with this site.- Specified by:
getDomains
in interfaceISite
- Returns:
- A java.util.Collection of java.lang.String domain names.
-
setDomains
Description copied from interface:ISite
Sets the domains associated with this site.- Specified by:
setDomains
in interfaceISite
- Parameters:
domains
- A java.util.Collection of java.lang.String domain names
-
getSEO
- Specified by:
getSEO
in interfaceISeoSupport
-
setSEO
- Specified by:
setSEO
in interfaceISeoSupport
-