com.dynamide.datatypes
Class PublishParamsDatatype

java.lang.Object
  extended by com.dynamide.DynamideObject
      extended by com.dynamide.datatypes.Datatype
          extended by com.dynamide.datatypes.PublishParamsDatatype
All Implemented Interfaces:
IGet

public class PublishParamsDatatype
extends Datatype

A datatype to encapsulate all the parameters required to publish a Dynamide application. Publishing is saving the dynamic application as a static set of web pages.

Defines the following elements:

Sample properties element:

    <property name="publishParams">
      <datatype>com.dynamide.datatypes.PublishParamsDatatype</datatype>
      <value>
        <URL></URL>
        <URIPrefix></URIPrefix>
        <outputDir></outputDir>
        <protocolHostPort></protocolHostPort>
        <defaultExtension></defaultExtension>
        <publishPagesList></publishPagesList>
        <hideApplicationPath></hideApplicationPath>
        <skipResourcesCopy></skipResourcesCopy>
      </value>
    </property>


Field Summary
 
Fields inherited from class com.dynamide.DynamideObject
m_id
 
Constructor Summary
PublishParamsDatatype()
           
PublishParamsDatatype(DynamideObject owner, Session session)
           
 
Method Summary
 void addXMLContentTo(org.jdom.Element container)
           
 java.lang.String getDefaultExtension()
           
 java.lang.String getHideApplicationPath()
           
 java.lang.String getOutputDir()
           
 java.lang.String getProtocolHostPort()
           
 java.lang.String getPublishPagesList()
           
 java.lang.String getSkipResourcesCopy()
           
 java.lang.String getURIPrefix()
           
 java.lang.String getURL()
           
 void init(org.jdom.Element element, java.lang.String ownerID)
           
 void setDefaultExtension(java.lang.String val)
           
 void setHideApplicationPath(java.lang.String val)
           
 void setOutputDir(java.lang.String val)
           
 void setProtocolHostPort(java.lang.String val)
           
 void setPublishPagesList(java.lang.String val)
           
 void setSkipResourcesCopy(java.lang.String val)
           
 void setURIPrefix(java.lang.String val)
           
 void setURL(java.lang.String val)
           
 java.lang.String toString()
           
 ValidationResult validate()
           
 
Methods inherited from class com.dynamide.datatypes.Datatype
clone, createClone, dump, dumpHTML, finalize, get, getAsStored, getDatatypeClassName, getDatatypeClassName, getDatatypeClassName, getDatatypeInstance, getProperty, getSession, insertItemDatatype, set, setProperty, setSession
 
Methods inherited from class com.dynamide.DynamideObject
clearProfiler, dump, expand, findParentExpander, findParentPage, findParentSession, findTopParentPage, getCategoryID, getDotName, getID, getNextGetter, getObjectID, getOwner, getProfiler, isDebugEnabled, isInfoEnabled, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logWarn, logWarn, logWarn, logWarn, popLogContext, printf, printProfiler, profileEnter, profileLeave, pushLogContext, setDotName, setID, setNextGetter, setObjectID, setOwner, sprintf, useProfiler, walkParents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublishParamsDatatype

public PublishParamsDatatype()

PublishParamsDatatype

public PublishParamsDatatype(DynamideObject owner,
                             Session session)
Method Detail

init

public void init(org.jdom.Element element,
                 java.lang.String ownerID)
Overrides:
init in class Datatype

addXMLContentTo

public void addXMLContentTo(org.jdom.Element container)
Specified by:
addXMLContentTo in class Datatype

getURL

public java.lang.String getURL()

setURL

public void setURL(java.lang.String val)

getURIPrefix

public java.lang.String getURIPrefix()

setURIPrefix

public void setURIPrefix(java.lang.String val)

getOutputDir

public java.lang.String getOutputDir()

setOutputDir

public void setOutputDir(java.lang.String val)

getProtocolHostPort

public java.lang.String getProtocolHostPort()

setProtocolHostPort

public void setProtocolHostPort(java.lang.String val)

getDefaultExtension

public java.lang.String getDefaultExtension()

setDefaultExtension

public void setDefaultExtension(java.lang.String val)

getPublishPagesList

public java.lang.String getPublishPagesList()

setPublishPagesList

public void setPublishPagesList(java.lang.String val)

getHideApplicationPath

public java.lang.String getHideApplicationPath()

setHideApplicationPath

public void setHideApplicationPath(java.lang.String val)

getSkipResourcesCopy

public java.lang.String getSkipResourcesCopy()

setSkipResourcesCopy

public void setSkipResourcesCopy(java.lang.String val)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public ValidationResult validate()
Overrides:
validate in class Datatype


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.