org.opencms.db.jpa.persistence
Class CmsDAOOfflineStructure

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOOfflineStructure
All Implemented Interfaces:
I_CmsDAOStructure

@Entity
public class CmsDAOOfflineStructure
extends java.lang.Object
implements I_CmsDAOStructure

This data access object represents a offline structure entry inside the table "cms_offline_structure".

Since:
8.0.0

Constructor Summary
CmsDAOOfflineStructure()
          The default constructor.
CmsDAOOfflineStructure(java.lang.String structureId)
          A public constructor for generating a new structure object with an unique id.
 
Method Summary
 long getDateExpired()
          Returns the date expired.
 long getDateReleased()
          Returns the date released.
 java.lang.String getParentId()
          Returns the parent id.
 java.lang.String getResourceId()
          Returns the resource id.
 java.lang.String getResourcePath()
          Returns the resource path.
 java.lang.String getStructureId()
          Returns the structure id.
 int getStructureState()
          Returns the structure state.
 int getStructureVersion()
          Returns the structure version.
 void setDateExpired(long dateExpired)
          Sets the date expired.
 void setDateReleased(long dateReleased)
          Sets the date released.
 void setParentId(java.lang.String parentId)
          Sets the parent id.
 void setResourceId(java.lang.String resourceId)
          Sets the resource id.
 void setResourcePath(java.lang.String resourcePath)
          Sets the resource path.
 void setStructureId(java.lang.String structureId)
          Sets the structure id.
 void setStructureState(int structureState)
          Sets the structure state.
 void setStructureVersion(int structureVersion)
          Sets the structure version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOOfflineStructure

public CmsDAOOfflineStructure()
The default constructor.


CmsDAOOfflineStructure

public CmsDAOOfflineStructure(java.lang.String structureId)
A public constructor for generating a new structure object with an unique id.

Parameters:
structureId - the id
Method Detail

getDateExpired

public long getDateExpired()
Description copied from interface: I_CmsDAOStructure
Returns the date expired.

Specified by:
getDateExpired in interface I_CmsDAOStructure
Returns:
the date expired
See Also:
I_CmsDAOStructure.getDateExpired()

getDateReleased

public long getDateReleased()
Description copied from interface: I_CmsDAOStructure
Returns the date released.

Specified by:
getDateReleased in interface I_CmsDAOStructure
Returns:
the date released
See Also:
I_CmsDAOStructure.getDateReleased()

getParentId

public java.lang.String getParentId()
Description copied from interface: I_CmsDAOStructure
Returns the parent id.

Specified by:
getParentId in interface I_CmsDAOStructure
Returns:
the parent id
See Also:
I_CmsDAOStructure.getParentId()

getResourceId

public java.lang.String getResourceId()
Description copied from interface: I_CmsDAOStructure
Returns the resource id.

Specified by:
getResourceId in interface I_CmsDAOStructure
Returns:
the resource id
See Also:
I_CmsDAOStructure.getResourceId()

getResourcePath

public java.lang.String getResourcePath()
Description copied from interface: I_CmsDAOStructure
Returns the resource path.

Specified by:
getResourcePath in interface I_CmsDAOStructure
Returns:
the resource path
See Also:
I_CmsDAOStructure.getResourcePath()

getStructureId

public java.lang.String getStructureId()
Description copied from interface: I_CmsDAOStructure
Returns the structure id.

Specified by:
getStructureId in interface I_CmsDAOStructure
Returns:
the structure id
See Also:
I_CmsDAOStructure.getStructureId()

getStructureState

public int getStructureState()
Description copied from interface: I_CmsDAOStructure
Returns the structure state.

Specified by:
getStructureState in interface I_CmsDAOStructure
Returns:
the structure state
See Also:
I_CmsDAOStructure.getStructureState()

getStructureVersion

public int getStructureVersion()
Description copied from interface: I_CmsDAOStructure
Returns the structure version.

Specified by:
getStructureVersion in interface I_CmsDAOStructure
Returns:
the structure version
See Also:
I_CmsDAOStructure.getStructureVersion()

setDateExpired

public void setDateExpired(long dateExpired)
Description copied from interface: I_CmsDAOStructure
Sets the date expired.

Specified by:
setDateExpired in interface I_CmsDAOStructure
Parameters:
dateExpired - the date to set
See Also:
I_CmsDAOStructure.setDateExpired(long)

setDateReleased

public void setDateReleased(long dateReleased)
Description copied from interface: I_CmsDAOStructure
Sets the date released.

Specified by:
setDateReleased in interface I_CmsDAOStructure
Parameters:
dateReleased - the date to set
See Also:
I_CmsDAOStructure.setDateReleased(long)

setParentId

public void setParentId(java.lang.String parentId)
Description copied from interface: I_CmsDAOStructure
Sets the parent id.

Specified by:
setParentId in interface I_CmsDAOStructure
Parameters:
parentId - the id to set
See Also:
I_CmsDAOStructure.setParentId(java.lang.String)

setResourceId

public void setResourceId(java.lang.String resourceId)
Description copied from interface: I_CmsDAOStructure
Sets the resource id.

Specified by:
setResourceId in interface I_CmsDAOStructure
Parameters:
resourceId - the id to set
See Also:
I_CmsDAOStructure.setResourceId(java.lang.String)

setResourcePath

public void setResourcePath(java.lang.String resourcePath)
Description copied from interface: I_CmsDAOStructure
Sets the resource path.

Specified by:
setResourcePath in interface I_CmsDAOStructure
Parameters:
resourcePath - the path to set
See Also:
I_CmsDAOStructure.setResourcePath(java.lang.String)

setStructureId

public void setStructureId(java.lang.String structureId)
Description copied from interface: I_CmsDAOStructure
Sets the structure id.

Specified by:
setStructureId in interface I_CmsDAOStructure
Parameters:
structureId - the id to set
See Also:
I_CmsDAOStructure.setStructureId(java.lang.String)

setStructureState

public void setStructureState(int structureState)
Description copied from interface: I_CmsDAOStructure
Sets the structure state.

Specified by:
setStructureState in interface I_CmsDAOStructure
Parameters:
structureState - the state to set
See Also:
I_CmsDAOStructure.setStructureState(int)

setStructureVersion

public void setStructureVersion(int structureVersion)
Description copied from interface: I_CmsDAOStructure
Sets the structure version.

Specified by:
setStructureVersion in interface I_CmsDAOStructure
Parameters:
structureVersion - the version to set
See Also:
I_CmsDAOStructure.setStructureVersion(int)