org.opencms.db.jpa.persistence
Interface I_CmsDAOResources

All Known Implementing Classes:
CmsDAOOfflineResources, CmsDAOOnlineResources

public interface I_CmsDAOResources

This interface declares the getters and setters for the resource data access objects.

Since:
8.0.0
See Also:
CmsResource

Method Summary
 long getDateContent()
          Returns the date content.
 long getDateCreated()
          Returns the date created.
 long getDateLastModified()
          Returns the date last modified.
 java.lang.String getProjectLastModified()
          Returns the project last modified.
 int getResourceFlags()
          Returns the resource flags.
 java.lang.String getResourceId()
          Returns the resource id.
 int getResourceSize()
          Returns the resource size.
 int getResourceState()
          Returns the resource state.
 int getResourceType()
          Returns the resource type.
 int getResourceVersion()
          Returns the resource version.
 int getSiblingCount()
          Returns the count of siblings.
 java.lang.String getUserCreated()
          Returns the user created.
 java.lang.String getUserLastModified()
          Returns the user last modified.
 void setDateContent(long dateContent)
          Sets the date content.
 void setDateCreated(long dateCreated)
          Sets the date created.
 void setDateLastModified(long dateLastmodified)
          Sets the date last modified.
 void setProjectLastModified(java.lang.String projectLastmodified)
          Sets the project last modified.
 void setResourceFlags(int resourceFlags)
          Sets the resource flags.
 void setResourceId(java.lang.String resourceId)
          Sets the resource id.
 void setResourceSize(int resourceSize)
          Sets the resource size.
 void setResourceState(int resourceState)
          Sets the resource state.
 void setResourceType(int resourceType)
          Sets the resource type.
 void setResourceVersion(int resourceVersion)
          Sets the resource version.
 void setSiblingCount(int siblingCount)
          Sets the count of siblings.
 void setUserCreated(java.lang.String userCreated)
          Sets the user created.
 void setUserLastModified(java.lang.String userLastmodified)
          Sets the user last modified.
 

Method Detail

getDateContent

long getDateContent()
Returns the date content.

Returns:
the date content

setDateContent

void setDateContent(long dateContent)
Sets the date content.

Parameters:
dateContent - the date to set

getDateCreated

long getDateCreated()
Returns the date created.

Returns:
the date created

setDateCreated

void setDateCreated(long dateCreated)
Sets the date created.

Parameters:
dateCreated - the date created to set

getDateLastModified

long getDateLastModified()
Returns the date last modified.

Returns:
the date last modified

setDateLastModified

void setDateLastModified(long dateLastmodified)
Sets the date last modified.

Parameters:
dateLastmodified - the date to set

getProjectLastModified

java.lang.String getProjectLastModified()
Returns the project last modified.

Returns:
the project last modified

setProjectLastModified

void setProjectLastModified(java.lang.String projectLastmodified)
Sets the project last modified.

Parameters:
projectLastmodified - the project to set

getResourceFlags

int getResourceFlags()
Returns the resource flags.

Returns:
the resource flags

setResourceFlags

void setResourceFlags(int resourceFlags)
Sets the resource flags.

Parameters:
resourceFlags - the resource flags to set

getResourceId

java.lang.String getResourceId()
Returns the resource id.

Returns:
the resource id

setResourceId

void setResourceId(java.lang.String resourceId)
Sets the resource id.

Parameters:
resourceId - the id to set

getResourceSize

int getResourceSize()
Returns the resource size.

Returns:
the resource size

setResourceSize

void setResourceSize(int resourceSize)
Sets the resource size.

Parameters:
resourceSize - the resource size to set

getResourceState

int getResourceState()
Returns the resource state.

Returns:
the resource state

setResourceState

void setResourceState(int resourceState)
Sets the resource state.

Parameters:
resourceState - the state to set

getResourceType

int getResourceType()
Returns the resource type.

Returns:
the resource type

setResourceType

void setResourceType(int resourceType)
Sets the resource type.

Parameters:
resourceType - the type to set

getResourceVersion

int getResourceVersion()
Returns the resource version.

Returns:
the resource version

setResourceVersion

void setResourceVersion(int resourceVersion)
Sets the resource version.

Parameters:
resourceVersion - the version to set

getSiblingCount

int getSiblingCount()
Returns the count of siblings.

Returns:
the count of siblings

setSiblingCount

void setSiblingCount(int siblingCount)
Sets the count of siblings.

Parameters:
siblingCount - the count to set

getUserCreated

java.lang.String getUserCreated()
Returns the user created.

Returns:
the user created

setUserCreated

void setUserCreated(java.lang.String userCreated)
Sets the user created.

Parameters:
userCreated - the user to set

getUserLastModified

java.lang.String getUserLastModified()
Returns the user last modified.

Returns:
the user last modified

setUserLastModified

void setUserLastModified(java.lang.String userLastmodified)
Sets the user last modified.

Parameters:
userLastmodified - the user to set