public class JDBCDAOManager extends Object implements DAOManager
DAOManager
to obtain access to the object representations of various
data stored on a back-end JDBC-based database.Constructor and Description |
---|
JDBCDAOManager() |
Modifier and Type | Method and Description |
---|---|
AssociationDAO |
getAssociationDAO()
Method to obtain an instance of an association data access object.
|
CommentsDAO |
getCommentsDAO(boolean isVersioned)
Method to obtain an instance of a comments data access object.
|
LogsDAO |
getLogsDAO()
Method to obtain an instance of a logs data access object.
|
RatingsDAO |
getRatingsDAO(boolean isVersioned)
Method to obtain an instance of a ratings data access object.
|
ResourceDAO |
getResourceDAO()
Method to obtain an instance of a resource data access object.
|
ResourceVersionDAO |
getResourceVersionDAO()
Method to obtain an instance of a versioned-resource data access object.
|
TagsDAO |
getTagsDAO(boolean isVersioned)
Method to obtain an instance of a tags data access object.
|
public AssociationDAO getAssociationDAO()
DAOManager
getAssociationDAO
in interface DAOManager
public CommentsDAO getCommentsDAO(boolean isVersioned)
DAOManager
getCommentsDAO
in interface DAOManager
isVersioned
- whether the returned data access object should handle versioned data or
non-versioned data. Versioning can be enabled by setting a parameter on
the XML-based registry configuration.public RatingsDAO getRatingsDAO(boolean isVersioned)
DAOManager
getRatingsDAO
in interface DAOManager
isVersioned
- whether the returned data access object should handle versioned data or
non-versioned data. Versioning can be enabled by setting a parameter on
the XML-based registry configuration.public TagsDAO getTagsDAO(boolean isVersioned)
DAOManager
getTagsDAO
in interface DAOManager
isVersioned
- whether the returned data access object should handle versioned data or
non-versioned data. Versioning can be enabled by setting a parameter on
the XML-based registry configuration.public LogsDAO getLogsDAO()
DAOManager
getLogsDAO
in interface DAOManager
public ResourceDAO getResourceDAO()
DAOManager
getResourceDAO
in interface DAOManager
DAOManager.getResourceVersionDAO()
method. Automatic versioning of resources can be
disabled by setting a parameter on the XML-based registry configuration.public ResourceVersionDAO getResourceVersionDAO()
DAOManager
getResourceVersionDAO
in interface DAOManager
DAOManager.getResourceDAO()
method. Automatic versioning of resources can be enabled
by setting a parameter on the XML-based registry configuration.Copyright © 2016 WSO2 Inc. All Rights Reserved.