org.opencrx.kernel.backend
Class Base

java.lang.Object
  extended by org.opencrx.kernel.backend.AbstractImpl
      extended by org.opencrx.kernel.backend.Base

public class Base
extends AbstractImpl


Field Summary
static short IMPORT_EXPORT_FORMAT_NOT_SUPPORTED
           
static short IMPORT_EXPORT_ITEM_NOT_VALID
           
static short IMPORT_EXPORT_MISSING_DATA
           
static short IMPORT_EXPORT_OK
           
static String MIME_TYPE_ZIP
           
 
Constructor Summary
protected Base()
           
 
Method Summary
 String analyseReport(List<String> report)
          Counts the number of occurences of items in report and returns a string of the form item0: n0, item1: n1, etc.
 void assignToMe(RefObject_1_0 target, boolean overwrite, Set<String> attributeFilter)
           
static Base getInstance()
           
static void register()
           
 void sendAlert(ContextCapable target, String toUsers, String name, String description, short importance, Integer resendDelayInSeconds, ContextCapable reference)
           
 
Methods inherited from class org.opencrx.kernel.backend.AbstractImpl
getInstance, getUidAsString, registerImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPORT_EXPORT_OK

public static final short IMPORT_EXPORT_OK
See Also:
Constant Field Values

IMPORT_EXPORT_FORMAT_NOT_SUPPORTED

public static final short IMPORT_EXPORT_FORMAT_NOT_SUPPORTED
See Also:
Constant Field Values

IMPORT_EXPORT_ITEM_NOT_VALID

public static final short IMPORT_EXPORT_ITEM_NOT_VALID
See Also:
Constant Field Values

IMPORT_EXPORT_MISSING_DATA

public static final short IMPORT_EXPORT_MISSING_DATA
See Also:
Constant Field Values

MIME_TYPE_ZIP

public static final String MIME_TYPE_ZIP
See Also:
Constant Field Values
Constructor Detail

Base

protected Base()
Method Detail

register

public static void register()

getInstance

public static Base getInstance()
                        throws ServiceException
Throws:
ServiceException

sendAlert

public void sendAlert(ContextCapable target,
                      String toUsers,
                      String name,
                      String description,
                      short importance,
                      Integer resendDelayInSeconds,
                      ContextCapable reference)
               throws ServiceException
Throws:
ServiceException

assignToMe

public void assignToMe(RefObject_1_0 target,
                       boolean overwrite,
                       Set<String> attributeFilter)
                throws ServiceException
Throws:
ServiceException

analyseReport

public String analyseReport(List<String> report)
Counts the number of occurences of items in report and returns a string of the form item0: n0, item1: n1, etc.



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