索引
- 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
Interface IOrmPersistence
- All Superinterfaces:
- IOrmTransaction
- All Known Implementing Classes:
- OrmPersistence, OrmPersistenceCollection
public interface IOrmPersistence
- extends IOrmTransaction
Persistence Interface
Method Summary | |
---|---|
int | countEntity(java.lang.String entityName) |
int | countEntity(java.lang.String entityName, Condition condition) |
boolean | findEntity(java.lang.String entityName, Condition condition) |
boolean | findEntity(java.lang.String entityName, int entityId) |
boolean | getAutoCreation() |
boolean | getAutoQueryForLastId() |
Entity[] | loadEntity(java.lang.String entityName, Condition condition, java.lang.String fields, Order[] orders, java.lang.Integer start, java.lang.Integer length) |
Entity | loadEntity(java.lang.String entityName, int entityId, java.lang.String fields) |
void | removeEntity(java.lang.String entityName, Condition condition) |
void | removeEntity(java.lang.String entityName, int entityId) |
int | saveEntity(Entity... entity) |
void | setAutoCreation(boolean auto) |
void | setAutoQueryForLastId(boolean auto) |
Methods inherited from interface com.knots.kcl.orm.IOrmTransaction |
---|
abortTransaction, beginTransaction, endTransaction |
Method Detail |
---|
getAutoCreation
boolean getAutoCreation()
setAutoCreation
void setAutoCreation(boolean auto)
getAutoQueryForLastId
boolean getAutoQueryForLastId()
setAutoQueryForLastId
void setAutoQueryForLastId(boolean auto)
countEntity
int countEntity(java.lang.String entityName) throws java.lang.Exception
- Throws:
java.lang.Exception
countEntity
int countEntity(java.lang.String entityName, Condition condition) throws java.lang.Exception
- Throws:
java.lang.Exception
findEntity
boolean findEntity(java.lang.String entityName, int entityId) throws java.lang.Exception
- Throws:
java.lang.Exception
findEntity
boolean findEntity(java.lang.String entityName, Condition condition) throws java.lang.Exception
- Throws:
java.lang.Exception
saveEntity
int saveEntity(Entity... entity) throws java.lang.Exception
- Throws:
java.lang.Exception
removeEntity
void removeEntity(java.lang.String entityName, int entityId) throws java.lang.Exception
- Throws:
java.lang.Exception
removeEntity
void removeEntity(java.lang.String entityName, Condition condition) throws java.lang.Exception
- Throws:
java.lang.Exception
loadEntity
Entity loadEntity(java.lang.String entityName, int entityId, java.lang.String fields) throws java.lang.Exception
- Throws:
java.lang.Exception
loadEntity
Entity[] loadEntity(java.lang.String entityName, Condition condition, java.lang.String fields, Order[] orders, java.lang.Integer start, java.lang.Integer length) throws java.lang.Exception
- Throws:
java.lang.Exception