org.seasar.tuigwaa.model
インタフェース ModelService

既知の実装クラスの一覧:
ModelServiceImpl

public interface ModelService

作成者:
nishioka

メソッドの概要
 Collection alterEntity(TgwEntity entity, boolean isChangedEntityStructure)
           
 void copyDomain(String srcDomainName, String destDomainName)
           
 void createDomain(String domainName)
           
 void createEntities(String schema, List entityList)
           
 void createEntity(TgwEntity entity)
           
 EntityInfo createEntityInfo(String schema, String entityName)
           
 List createEntityInfoList(String schema)
           
 void deleteDomain(String domainName)
           
 void dropEntity(String schema, String entityName)
           
 TgwDomain getDomain(String domainName)
           
 TgwEntity getEntity(String domainName, String entityName)
           
 TgwEntity getEntityByDisplayName(String domainName, String displayName)
           
 Iterator getEntityIterator(String schema)
           
 List getEntityList(String schema)
           
 Iterator getEntityNameInterator(String schema)
           
 List getNewRefList(TgwEntity fromEntity)
           
 void loadDomain(String domain)
           
 String nextEntityName(String domainName)
           
 List readDatabase(String domainName)
           
 TgwEntity readJavaClass(String domainName, String entityName, Class clazz)
           
 void saveDomain(String domain)
           
 void updateEntity(TgwEntity entity)
           
 

メソッドの詳細

loadDomain

public void loadDomain(String domain)

saveDomain

public void saveDomain(String domain)

getDomain

public TgwDomain getDomain(String domainName)

createDomain

public void createDomain(String domainName)

deleteDomain

public void deleteDomain(String domainName)

copyDomain

public void copyDomain(String srcDomainName,
                       String destDomainName)

createEntity

public void createEntity(TgwEntity entity)
                  throws ClassNotFoundException,
                         javassist.CannotCompileException
例外:
ClassNotFoundException
javassist.CannotCompileException

createEntities

public void createEntities(String schema,
                           List entityList)

dropEntity

public void dropEntity(String schema,
                       String entityName)
                throws Exception
例外:
Exception

updateEntity

public void updateEntity(TgwEntity entity)
                  throws TgwServiceException
例外:
TgwServiceException

getEntity

public TgwEntity getEntity(String domainName,
                           String entityName)

getEntityByDisplayName

public TgwEntity getEntityByDisplayName(String domainName,
                                        String displayName)

alterEntity

public Collection alterEntity(TgwEntity entity,
                              boolean isChangedEntityStructure)
                       throws Exception
例外:
Exception

readDatabase

public List readDatabase(String domainName)

readJavaClass

public TgwEntity readJavaClass(String domainName,
                               String entityName,
                               Class clazz)

getEntityNameInterator

public Iterator getEntityNameInterator(String schema)

createEntityInfoList

public List createEntityInfoList(String schema)

createEntityInfo

public EntityInfo createEntityInfo(String schema,
                                   String entityName)

getEntityIterator

public Iterator getEntityIterator(String schema)

getEntityList

public List getEntityList(String schema)

getNewRefList

public List getNewRefList(TgwEntity fromEntity)

nextEntityName

public String nextEntityName(String domainName)


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.