org.opencrx.kernel.backend
Class Codes

java.lang.Object
  extended by org.opencrx.kernel.backend.Codes
All Implemented Interfaces:
Serializable

public class Codes
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Codes(org.openmdx.application.dataprovider.cci.RequestCollection delegation, org.openmdx.base.naming.Path codeSegmentIdentity)
           
 
Method Summary
 List getCodeEntriesById(String id)
           
 List getCodeEntriesByName(String name)
           
 org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getCodeValueContainerById(String id)
           
 org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getCodeValueContainerByName(String name)
           
 SortedMap getLongText(String name, short locale, boolean codeAsKey)
           
 SortedMap<String,Short> getShortText(String name, short locale, boolean codeAsKey)
           
 void markAsDirty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Codes

public Codes(org.openmdx.application.dataprovider.cci.RequestCollection delegation,
             org.openmdx.base.naming.Path codeSegmentIdentity)
      throws ServiceException
Throws:
ServiceException
Method Detail

markAsDirty

public void markAsDirty()

getCodeValueContainerByName

public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getCodeValueContainerByName(String name)

getCodeValueContainerById

public org.openmdx.application.dataprovider.cci.DataproviderObject_1_0 getCodeValueContainerById(String id)

getCodeEntriesById

public List getCodeEntriesById(String id)
                        throws ServiceException
Throws:
ServiceException

getCodeEntriesByName

public List getCodeEntriesByName(String name)
                          throws ServiceException
Throws:
ServiceException

getShortText

public SortedMap<String,Short> getShortText(String name,
                                            short locale,
                                            boolean codeAsKey)
                                     throws ServiceException
Throws:
ServiceException

getLongText

public SortedMap getLongText(String name,
                             short locale,
                             boolean codeAsKey)
                      throws ServiceException
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.