org.outerj.daisy.repository.serverimpl.model
Class LocalSchemaStrategy
java.lang.Object
org.outerj.daisy.repository.serverimpl.model.LocalSchemaStrategy
- All Implemented Interfaces:
- org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- public class LocalSchemaStrategy
- extends java.lang.Object
- implements org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
Method Summary |
void |
deleteDocumentType(long documentTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
deleteFieldType(long fieldTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
deletePartType(long partTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
java.util.Collection |
getAllDocumentTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
java.util.Collection |
getAllFieldTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
java.util.Collection |
getAllOfSomething(java.lang.String idColumnName,
java.lang.String tableName,
java.lang.String name,
org.outerj.daisy.repository.serverimpl.model.LocalSchemaStrategy.IdGettable idGettable)
|
java.util.Collection |
getAllPartTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl |
getDocumentTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl |
getDocumentTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl |
getFieldTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl |
getFieldTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl |
getPartTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl |
getPartTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
|
void |
loadLocalizedStrings(long id,
java.sql.Connection conn,
org.outerj.daisy.repository.commonimpl.schema.LocaleMap localizedStrings)
|
void |
store(org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl documentType)
|
void |
store(org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl fieldType)
|
void |
store(org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl partType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalSchemaStrategy
public LocalSchemaStrategy(LocalRepositoryManager.Context context,
org.outerj.daisy.jdbcutil.JdbcHelper jdbcHelper)
store
public void store(org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl fieldType)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteFieldType
public void deleteFieldType(long fieldTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteFieldType
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
store
public void store(org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl documentType)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deleteDocumentType
public void deleteDocumentType(long documentTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deleteDocumentType
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
store
public void store(org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl partType)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
store
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
deletePartType
public void deletePartType(long partTypeId,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
deletePartType
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getPartTypeById
public org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl getPartTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getPartTypeById
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getPartTypeByName
public org.outerj.daisy.repository.commonimpl.schema.PartTypeImpl getPartTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getPartTypeByName
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
loadLocalizedStrings
public void loadLocalizedStrings(long id,
java.sql.Connection conn,
org.outerj.daisy.repository.commonimpl.schema.LocaleMap localizedStrings)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getFieldTypeById
public org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl getFieldTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getFieldTypeById
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getFieldTypeByName
public org.outerj.daisy.repository.commonimpl.schema.FieldTypeImpl getFieldTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getFieldTypeByName
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getDocumentTypeById
public org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl getDocumentTypeById(long id,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getDocumentTypeById
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getDocumentTypeByName
public org.outerj.daisy.repository.commonimpl.schema.DocumentTypeImpl getDocumentTypeByName(java.lang.String name,
org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getDocumentTypeByName
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllPartTypes
public java.util.Collection getAllPartTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAllPartTypes
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllFieldTypes
public java.util.Collection getAllFieldTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAllFieldTypes
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllDocumentTypes
public java.util.Collection getAllDocumentTypes(org.outerj.daisy.repository.commonimpl.AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
- Specified by:
getAllDocumentTypes
in interface org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy
- Throws:
org.outerj.daisy.repository.RepositoryException
getAllOfSomething
public java.util.Collection getAllOfSomething(java.lang.String idColumnName,
java.lang.String tableName,
java.lang.String name,
org.outerj.daisy.repository.serverimpl.model.LocalSchemaStrategy.IdGettable idGettable)
throws org.outerj.daisy.repository.RepositoryException
- Throws:
org.outerj.daisy.repository.RepositoryException
Copyright © -2005 . All Rights Reserved.