索引
- 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.business
Class PersistentCodedCategoryTreeContent
java.lang.Object com.knots.kcl.business.Business com.knots.kcl.business.TreeContent com.knots.kcl.business.PersistentTreeContent com.knots.kcl.business.PersistentCategoryTreeContent com.knots.kcl.business.PersistentCodedCategoryTreeContent
- All Implemented Interfaces:
- ICategoryTreeContent, ICodedCategoryTreeContent, ITreeContent
public class PersistentCodedCategoryTreeContent
- extends PersistentCategoryTreeContent
- implements ICodedCategoryTreeContent
- extends PersistentCategoryTreeContent
Constructor Summary | |
---|---|
PersistentCodedCategoryTreeContent(java.lang.String entityName, java.lang.String categoryName) |
Method Summary | |
---|---|
void | addNode(int parentId, int category, java.lang.String name, java.lang.String code) |
Entity[] | getChildrenNodesByCode(java.lang.String fields, int category, java.lang.String code) |
Entity | getNodeByCode(java.lang.String fields, int category, java.lang.String code) |
java.lang.String | getNodeHiberarchyNameByCode(int category, java.lang.String code, boolean containsRoot) |
Entity[] | getNodesByCode(java.lang.String fields, int category, java.lang.String code) |
Entity[] | getNodesByCodePerfix(java.lang.String fields, int category, java.lang.String code) |
void | setNodeCode(int id, java.lang.String code) |
void | setNodeNameAndCode(int id, java.lang.String name, java.lang.String code) |
Methods inherited from class com.knots.kcl.business.PersistentCategoryTreeContent |
---|
addNode, getCategoryName, getNodesByCategory |
Methods inherited from class com.knots.kcl.business.PersistentTreeContent |
---|
addNode, getNodeByHiberarchy, getNodeById, getNodeHiberarchyNameByHiberarchy, getNodesByHiberarchyPerfix, getNodesByParentId, removeNodeById, removeNodeByParentId, setNodeName, setNodeParent |
Methods inherited from class com.knots.kcl.business.Business |
---|
getPersistence |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PersistentCodedCategoryTreeContent
public PersistentCodedCategoryTreeContent(java.lang.String entityName, java.lang.String categoryName)
Method Detail |
---|
addNode
public void addNode(int parentId, int category, java.lang.String name, java.lang.String code) throws java.lang.Exception
- Specified by:
addNode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
setNodeCode
public void setNodeCode(int id, java.lang.String code) throws java.lang.Exception
- Specified by:
setNodeCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
setNodeNameAndCode
public void setNodeNameAndCode(int id, java.lang.String name, java.lang.String code) throws java.lang.Exception
- Specified by:
setNodeNameAndCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
getNodeByCode
public Entity getNodeByCode(java.lang.String fields, int category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodeByCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
getNodesByCode
public Entity[] getNodesByCode(java.lang.String fields, int category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodesByCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
getNodesByCodePerfix
public Entity[] getNodesByCodePerfix(java.lang.String fields, int category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodesByCodePerfix
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
getChildrenNodesByCode
public Entity[] getChildrenNodesByCode(java.lang.String fields, int category, java.lang.String code) throws java.lang.Exception
- Specified by:
getChildrenNodesByCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception
getNodeHiberarchyNameByCode
public java.lang.String getNodeHiberarchyNameByCode(int category, java.lang.String code, boolean containsRoot) throws java.lang.Exception
- Specified by:
getNodeHiberarchyNameByCode
in interfaceICodedCategoryTreeContent
- Throws:
java.lang.Exception