索引
- PersistentCategoryKeyValueContent
- ITreeContent
- ItemContent
- InstantaneousTreeContent
- ICodedTreeContent
- IKeyValueContent
- InstantaneousCodedTreeContent
- InstantaneousKeyValueContent
- IGlobalizationContent
- EntityUtil
- EntityStore
- ICategoryTreeContent
- ICategoryKeyValueContent
- ICodedCategoryTreeContent
- EntityJoin
- EntityCapsule
- CacheKeyValueContent
- CacheTreeContent
- ClassContent
- ProxySupport
- CacheCodedTreeContent
- Business
- ValidationSupport
- Validation
- IFinallyAspect
- Intercept
- InvokeContext
- IProxyLoader
- ProxyFactory
- IAspect
- IAroundAspect
- FinallyAspectSupport
- AroundAspectSupport
- AOPUnknownBreak
- AOPBreak
- AOPTransactionBreak
- GridView
- JSONOut
- Galleria
- package-frame
- package-summary
- package-tree
- package-use
- LoginSessionListener
- ApplicationContextListener
- TransactionFilter
- FileUploader.FileUploaderStatus
- FileUploader
- CharacterEncodingFilter
- ImageRedirectFilter
- FileUploader.FileUploaderListener
- PrintWriterDecorator
- IFormatter
- TokenPool
- HttpServletResponseDecorator
- HttpServletRequestDecorator
- ICryptography
- DynamicSecret
- CryptographySupport
- OrmTransactionContext
- OrmPersistenceFactory
- OrmPersistenceCollection
- CryptographyFactory
- OrmContexts
- OrmDatabaseTransaction
- OrmDefinitionContext
- OrmManipulationQueryContext
- OrmPersistence
- IOrmPersistence
- IOrmManipulationQuery
- IOrmTransaction
- Order
- OrmConstant
- IOrmDefinition
- DatabaseHelperSupport
- Entity
- FieldProperty
- Fields
- XMLFormatter
- SetList
- AggregateField
- Condition
- DatabaseHelper
- JSONFormatter
- ISetList
- MapList
- Names
- NameValue
- ServiceRouter
- StreamView
- TextView
- XMLView
- IMapList
- ServiceController
- RouterSupport
- Router
- RedirectView
- MVCRenderException
- MVCNotFoundException
- MVCInternalException
- JSPRouter
- JSPView
- Model
- MVCException
- MVCInstantiationException
- IModel
- IRouter
- IView
- JSONView
- JSPController
- ImageView
- IController
- HTMLView
- ForwardView
- Controller
- MailSender
- RandomGenerator
- ReflectionUtil
- ReservedWord
- QRCode
- LoggerSupport
- ChinesePinYin
- HttpExecuter
- IdCardValidator
- ImageValidateCode
- User32.RECT
- User32.SIZE
- KCLInformation
- IAppender
- Logger
- User32.POINT
- User32
- Identify
- FacadeDirectory
- FacadeIO
- TextReader
- TextWriter
- LocalizationLanguage
- Convert
- Comments
- WinFormInstallationBuilder
- WebFormInstallationBuilder
- PersistentTreeContent
- ServiceBusiness
- TreeContent
- CallingOnly
- CodeBuilder
- PersistentCategoryTreeContent
- PersistentCodedCategoryTreeContent
- PersistentCodedTreeContent
- PersistentGlobalizationContent
- PersistentKeyValueContent
- XMLDocumentEx
- WxOAuthAdapter
- WxPayAdapter
- WxSupport
- KCLConfig
- XMLDocument
- WxOAthAdapter
- WxAdapterSupport
- WxBasicAdapter
- WxMenuAdapter
- WxMessageDispatcher
- IWxReceivedListener
- TreeNode
- TreeLeaf
- Tree
- Train
- IWxEventListener
- ITreeNode
- MapQueue
- DateTime
- Forest
- ICache
- IMapQueue
- ThreadUnsafe
- UnimplementedException
- Untested
- ThreadSafe
- Cache
- MultiThreadUnitTest
- Debugger
- IUnitTest
- UnitTest
- Tested
- UploadView
- TreeView
- Paging
- StringHelper
- RichText
- Video
- Music
- ListView
- Label
- KCLTag
com.knots.kcl.orm
Class OrmPersistenceCollection
java.lang.Object com.knots.kcl.orm.OrmPersistence com.knots.kcl.orm.OrmPersistenceCollection
- All Implemented Interfaces:
- IOrmPersistence, IOrmTransaction
public class OrmPersistenceCollection
- extends OrmPersistence
Constructor Summary | |
---|---|
OrmPersistenceCollection() |
Method Summary | |
---|---|
void | abortTransaction() |
void | addContexts(java.lang.String accessType) |
void | addContexts(java.lang.String accessType, DatabaseHelper helper) |
void | beginTransaction() |
void | changeMainPersistence(java.lang.String accessType) |
void | endTransaction() |
DatabaseHelper | getDatabaseHelper(java.lang.String accessType) |
OrmDefinitionContext | getDefinition(java.lang.String accessType) |
OrmManipulationQueryContext | getManipulationQuery(java.lang.String accessType) |
OrmTransactionContext | getTransaction(java.lang.String accessType) |
Methods inherited from class com.knots.kcl.orm.OrmPersistence |
---|
countEntity, countEntity, findEntity, findEntity, getAutoCreation, getAutoQueryForLastId, getDatabaseHelper, getDefinitionContext, getManipulationQueryContext, getTransactionContext, loadEntity, loadEntity, removeEntity, removeEntity, saveEntity, setAutoCreation, setAutoQueryForLastId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
OrmPersistenceCollection
public OrmPersistenceCollection()
Method Detail |
---|
changeMainPersistence
public void changeMainPersistence(java.lang.String accessType)
addContexts
public void addContexts(java.lang.String accessType) throws java.lang.Exception
- Throws:
java.lang.Exception
addContexts
public void addContexts(java.lang.String accessType, DatabaseHelper helper) throws java.lang.Exception
- Throws:
java.lang.Exception
getDatabaseHelper
public DatabaseHelper getDatabaseHelper(java.lang.String accessType)
getDefinition
public OrmDefinitionContext getDefinition(java.lang.String accessType)
getManipulationQuery
public OrmManipulationQueryContext getManipulationQuery(java.lang.String accessType)
getTransaction
public OrmTransactionContext getTransaction(java.lang.String accessType)
beginTransaction
public void beginTransaction() throws java.lang.Exception
- Specified by:
beginTransaction
in interfaceIOrmTransaction
- Overrides:
beginTransaction
in classOrmPersistence
- Throws:
java.lang.Exception
abortTransaction
public void abortTransaction() throws java.lang.Exception
- Specified by:
abortTransaction
in interfaceIOrmTransaction
- Overrides:
abortTransaction
in classOrmPersistence
- Throws:
java.lang.Exception
endTransaction
public void endTransaction() throws java.lang.Exception
- Specified by:
endTransaction
in interfaceIOrmTransaction
- Overrides:
endTransaction
in classOrmPersistence
- Throws:
java.lang.Exception