org.outerj.daisy.repository.clientimpl.schema
Class RemoteSchemaStrategy

java.lang.Object
  extended byorg.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
      extended byorg.outerj.daisy.repository.clientimpl.schema.RemoteSchemaStrategy
All Implemented Interfaces:
org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy

public class RemoteSchemaStrategy
extends AbstractRemoteStrategy
implements org.outerj.daisy.repository.commonimpl.schema.SchemaStrategy


Field Summary
 
Fields inherited from class org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
context
 
Constructor Summary
RemoteSchemaStrategy(RemoteRepositoryManager.Context context)
           
 
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 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 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 org.outerj.daisy.repository.clientimpl.infrastructure.AbstractRemoteStrategy
encodeNameForUseInPath, getBranchLangParams, getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSchemaStrategy

public RemoteSchemaStrategy(RemoteRepositoryManager.Context context)
Method Detail

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

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

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

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

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

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

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

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

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


Copyright © -2005 . All Rights Reserved.