Package com.axemble.vdoc.sdk.interfaces
Interface IContentContainer
- All Superinterfaces:
IDeletionSupport,IElement,IProtocolSupport,ISecuritySupport,IUriSupport,Serializable
- All Known Subinterfaces:
IBlockTemplateContainer,IPageContainer,ISharedBlockContainer
- All Known Implementing Classes:
com.axemble.vdoc.sdk.impl.base.BaseContentContainer,EzsBlockTemplateContainer,EzsPageContainer,EzsSharedBlockContainer
public interface IContentContainer
extends IElement, ISecuritySupport, IDeletionSupport, IUriSupport, IProtocolSupport
This interface represents the base content container.
- Since:
- 2.1
- Version:
- 1.0, 16/06/2009
- Author:
- vlygeros
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the activated date.getContent(int status) Retrieves aIContentby theIContentContainer.IStatus.Retrieves the available contents.Gets the description of the container.Gets the expired date.getLabel()getName()getSite()Gets the site of the content.intGets the status of the content container.voidincludeToIndex(boolean include) Allows to include the content container to the index.voidincludeToStats(boolean include) Allows to include the content container to the statistics.booleanisActive()Checks if the content container is active.booleanChecks if the content container is included to the index.booleanChecks if the content container is included to the statistics.voidsetActive(boolean active) Allows to activate the content container.voidsetDescription(String description) Sets the description of the container.voidSets the label of the container.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.IUriSupport
getURI
-
Method Details
-
getName
String getName()- Returns:
- The system name of the container.
-
getLabel
String getLabel()- Returns:
- The label of the container.
-
setLabel
Sets the label of the container.- Parameters:
label- the new label to set.
-
getDescription
String getDescription()Gets the description of the container.- Returns:
- a String of the container.
-
setDescription
Sets the description of the container.- Parameters:
description- the new description to set.
-
getStatus
int getStatus()Gets the status of the content container.- Returns:
- An int value.
-
getContents
Collection getContents()Retrieves the available contents.- Returns:
- A java.util.Collection of
IContentobjects.
-
getContent
Retrieves aIContentby theIContentContainer.IStatus.- Parameters:
status- The status to search with.- Returns:
- A
IContentobject.
-
getSite
ISite getSite()Gets the site of the content.- Returns:
- A
ISiteobject.
-
getActivatedDate
Date getActivatedDate()Gets the activated date.- Returns:
- A
Dateobject.
-
getExpiredDate
Date getExpiredDate()Gets the expired date.- Returns:
- A
Dateobject.
-
isActive
boolean isActive()Checks if the content container is active.- Returns:
- true if the content container is active, false otherwise.
-
setActive
void setActive(boolean active) Allows to activate the content container.- Parameters:
active- The active parameter.
-
isIncludedToIndex
boolean isIncludedToIndex()Checks if the content container is included to the index.- Returns:
- true if the content container is included to the index, false otherwise.
-
includeToIndex
void includeToIndex(boolean include) Allows to include the content container to the index.- Parameters:
include- The include parameter.
-
isIncludedToStats
boolean isIncludedToStats()Checks if the content container is included to the statistics.- Returns:
- true if the content container is included to the statistics, false otherwise.
-
includeToStats
void includeToStats(boolean include) Allows to include the content container to the statistics.- Parameters:
include- The include parameter.
-