com.dotmarketing.portlets.htmlpages.model
Class HTMLPage

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.beans.WebAsset
          extended by com.dotmarketing.portlets.htmlpages.model.HTMLPage
All Implemented Interfaces:
UUIDable, Permissionable, Versionable, Categorizable, java.io.Serializable, java.lang.Comparable

public class HTMLPage
extends WebAsset
implements java.io.Serializable, java.lang.Comparable

Author:
Hibernate CodeGenerator
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode, owner
 
Constructor Summary
HTMLPage()
          default constructor
 
Method Summary
 java.util.List<PermissionSummary> acceptedPermissions()
          Returns the list of accepted permission of this permissionable (I.E.
 int compareTo(java.lang.Object compObject)
           
 void copy(HTMLPage currentHTMLPage)
           
 java.util.Date getEndDate()
          Returns the endDate.
 java.lang.String getInode()
          Returns the inode.
 java.util.Map<java.lang.String,java.lang.Object> getMap()
          Returns a map representation of the asset
 java.lang.String getMetadata()
          Returns the metadata.
 java.lang.String getPageUrl()
          Returns the pageUrl.
 java.lang.String getParent()
          Returns the parent.
 Permissionable getParentPermissionable()
          Retrieves the parent permissionable in the chain of permissions inheritance
 java.lang.String getRedirect()
          Returns the redirect.
 java.util.Date getStartDate()
          Returns the startDate.
 java.lang.String getURI()
           
 java.lang.String getURI(Folder folder)
           
 java.lang.String getWebEndDate()
          Returns the webEndDate.
 java.lang.String getWebStartDate()
          Returns the webStartDate.
 boolean isHttpsRequired()
          Returns the httpsRequired.
 void setEndDate(java.util.Date endDate)
          Sets the endDate.
 void setHttpsRequired(boolean httpsRequired)
          Sets the httpsRequired.
 void setInode(java.lang.String inode)
          Sets the inode.
 void setMetadata(java.lang.String metadata)
          Sets the metadata.
 void setPageUrl(java.lang.String pageUrl)
          Sets the pageUrl.
 void setParent(java.lang.String parent)
          Sets the parent.
 void setRedirect(java.lang.String redirect)
          Sets the redirect.
 void setStartDate(java.util.Date startDate)
          Sets the startDate.
 void setWebEndDate(java.lang.String webEndDate)
          Sets the webEndDate.
 void setWebStartDate(java.lang.String webStartDate)
          Sets the webStartDate.
 
Methods inherited from class com.dotmarketing.beans.WebAsset
copy, getFriendlyName, getModDate, getModUser, getOwner, getPermissionId, getSortOrder, getTitle, getVersionId, isArchived, isDeleted, isLive, isLocked, isShowOnMenu, isWorking, setDeleted, setFriendlyName, setLive, setLocked, setModDate, setModUser, setShowOnMenu, setSortOrder, setTitle, setWorking
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getCategoryId, getiDate, getIDate, getIdentifier, getPermissionType, getType, getVersionType, hasChildren, hashCode, hasParents, isNew, isParentPermissionable, permissionDependencies, setiDate, setIDate, setIDate, setIdentifier, setOwner, setParents, setType, setVersionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dotmarketing.business.Permissionable
getPermissionType, isParentPermissionable, permissionDependencies, setOwner
 
Methods inherited from interface com.dotmarketing.business.Versionable
getVersionType, setVersionId
 

Constructor Detail

HTMLPage

public HTMLPage()
default constructor

Method Detail

getURI

public java.lang.String getURI(Folder folder)
Specified by:
getURI in class WebAsset

getURI

public java.lang.String getURI()

copy

public void copy(HTMLPage currentHTMLPage)

getEndDate

public java.util.Date getEndDate()
Returns the endDate.

Returns:
java.util.Date

isHttpsRequired

public boolean isHttpsRequired()
Returns the httpsRequired.

Returns:
boolean

getInode

public java.lang.String getInode()
Returns the inode.

Specified by:
getInode in interface UUIDable
Specified by:
getInode in interface Versionable
Overrides:
getInode in class Inode
Returns:
String

getMetadata

public java.lang.String getMetadata()
Returns the metadata.

Returns:
String

getPageUrl

public java.lang.String getPageUrl()
Returns the pageUrl.

Returns:
String

getParent

public java.lang.String getParent()
Returns the parent.

Returns:
String

getRedirect

public java.lang.String getRedirect()
Returns the redirect.

Returns:
String

getStartDate

public java.util.Date getStartDate()
Returns the startDate.

Returns:
java.util.Date

setEndDate

public void setEndDate(java.util.Date endDate)
Sets the endDate.

Parameters:
endDate - The endDate to set

setHttpsRequired

public void setHttpsRequired(boolean httpsRequired)
Sets the httpsRequired.

Parameters:
httpsRequired - The httpsRequired to set

setInode

public void setInode(java.lang.String inode)
Sets the inode.

Specified by:
setInode in interface UUIDable
Overrides:
setInode in class Inode
Parameters:
inode - The inode to set

setMetadata

public void setMetadata(java.lang.String metadata)
Sets the metadata.

Parameters:
metadata - The metadata to set

setPageUrl

public void setPageUrl(java.lang.String pageUrl)
Sets the pageUrl.

Parameters:
pageUrl - The pageUrl to set

setParent

public void setParent(java.lang.String parent)
Sets the parent.

Parameters:
parent - The parent to set

setRedirect

public void setRedirect(java.lang.String redirect)
Sets the redirect.

Parameters:
redirect - The redirect to set

setStartDate

public void setStartDate(java.util.Date startDate)
Sets the startDate.

Parameters:
startDate - The startDate to set

getWebEndDate

public java.lang.String getWebEndDate()
Returns the webEndDate.

Returns:
String

getWebStartDate

public java.lang.String getWebStartDate()
Returns the webStartDate.

Returns:
String

setWebEndDate

public void setWebEndDate(java.lang.String webEndDate)
Sets the webEndDate.

Parameters:
webEndDate - The webEndDate to set

setWebStartDate

public void setWebStartDate(java.lang.String webStartDate)
Sets the webStartDate.

Parameters:
webStartDate - The webStartDate to set

compareTo

public int compareTo(java.lang.Object compObject)
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class Inode

getMap

public java.util.Map<java.lang.String,java.lang.Object> getMap()
Description copied from class: WebAsset
Returns a map representation of the asset

Overrides:
getMap in class WebAsset
Returns:
the map

acceptedPermissions

public java.util.List<PermissionSummary> acceptedPermissions()
Description copied from interface: Permissionable
Returns the list of accepted permission of this permissionable (I.E. content accepts permissions to view, edit, publish, and edit permissions)

Specified by:
acceptedPermissions in interface Permissionable
Overrides:
acceptedPermissions in class Inode
Returns:

getParentPermissionable

public Permissionable getParentPermissionable()
                                       throws DotDataException
Description copied from interface: Permissionable
Retrieves the parent permissionable in the chain of permissions inheritance

Specified by:
getParentPermissionable in interface Permissionable
Overrides:
getParentPermissionable in class Inode
Returns:
Throws:
DotDataException


Copyright © 2010 dotCMS Inc. All Rights Reserved.