Package com.axemble.vdoc.sdk.impl
Class EzsContent
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.EzsContent
- All Implemented Interfaces:
IContent
,IElement
,IProtocolSupport
,Serializable
- Author:
- vlygeros
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.interfaces.IContent
IContent.IStatus
-
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
ConstructorDescriptionEzsContent
(IModule module, com.axemble.easysite.dao.domain.impl.ContentVersionImpl contentVersionImpl) -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()
Gets the root block of the content.Gets the content container object.Gets the creator of the content.Gets the created date.Gets the modified date.Gets the native object underneath.getOwner()
Gets the owner of the content.int
Gets the status of the content.boolean
Saves or updates the element.Methods inherited from class com.axemble.vdoc.sdk.impl.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, 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.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Constructor Details
-
EzsContent
public EzsContent(IModule module, com.axemble.easysite.dao.domain.impl.ContentVersionImpl contentVersionImpl) - Parameters:
module
-
-
-
Method Details
-
getNativeObject
Description copied from interface:IElement
Gets the native object underneath.- Specified by:
getNativeObject
in interfaceIElement
- Returns:
- an object.
-
getContentContainer
Description copied from interface:IContent
Gets the content container object.- Specified by:
getContentContainer
in interfaceIContent
- Returns:
- A
IContentContainer
object.
-
getStatus
public int getStatus()Description copied from interface:IContent
Gets the status of the content. -
getBlock
Description copied from interface:IContent
Gets the root block of the content. -
getCreatedBy
Description copied from interface:IContent
Gets the creator of the content.- Specified by:
getCreatedBy
in interfaceIContent
- Returns:
- a
IUser
object.
-
getCreatedDate
Description copied from interface:IContent
Gets the created date.- Specified by:
getCreatedDate
in interfaceIContent
- Returns:
- a
Date
object.
-
getModifiedDate
Description copied from interface:IContent
Gets the modified date.- Specified by:
getModifiedDate
in interfaceIContent
- Returns:
- A
Date
object.
-
getOwner
Description copied from interface:IContent
Gets the owner of the content. -
save
Description copied from interface:IElement
Saves or updates the element.- Specified by:
save
in interfaceIElement
- Overrides:
save
in classPortalElement
- Parameters:
context
- The Execution context.- Returns:
- return true if succeeded, false otherwise.
-