org.opencrx.kernel.backend
Class Base
java.lang.Object
org.opencrx.kernel.backend.AbstractImpl
org.opencrx.kernel.backend.Base
public class Base
- extends AbstractImpl
|
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,
boolean useRunAsPrincipal)
|
void |
createOrUpdateMedia(CrxObject object,
String contentType,
String contentName,
InputStream content)
|
String |
getAccessUrl(Object context,
String contextPattern,
RefObject_1_0 object)
|
String |
getAccessUrl(Object context,
String contextPattern,
RefObject_1_0 object,
boolean asTinyUrl)
|
static Base |
getInstance()
|
String |
getTitle(RefObject_1_0 refObj,
org.openmdx.portal.servlet.Codes codes,
short locale,
boolean asShortTitle)
|
boolean |
isAccessUrl(String url)
|
static void |
register()
|
void |
sendAlert(ContextCapable target,
String toUsers,
String name,
String description,
short importance,
Integer resendDelayInSeconds,
ContextCapable reference)
|
String |
toNbspS(Object obj)
|
static String |
toS(Object obj)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
COMMENT_SEPARATOR_BOT
public static final String COMMENT_SEPARATOR_BOT
- See Also:
- Constant Field Values
COMMENT_SEPARATOR_EOT
public static final String COMMENT_SEPARATOR_EOT
- See Also:
- Constant Field Values
ASSIGN_TO_ME_ATTRIBUTES
public static final List<String> ASSIGN_TO_ME_ATTRIBUTES
Base
protected Base()
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,
boolean useRunAsPrincipal)
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.
getAccessUrl
public String getAccessUrl(Object context,
String contextPattern,
RefObject_1_0 object)
getAccessUrl
public String getAccessUrl(Object context,
String contextPattern,
RefObject_1_0 object,
boolean asTinyUrl)
isAccessUrl
public boolean isAccessUrl(String url)
createOrUpdateMedia
public void createOrUpdateMedia(CrxObject object,
String contentType,
String contentName,
InputStream content)
throws IOException
- Throws:
IOException
toS
public static String toS(Object obj)
toNbspS
public String toNbspS(Object obj)
getTitle
public String getTitle(RefObject_1_0 refObj,
org.openmdx.portal.servlet.Codes codes,
short locale,
boolean asShortTitle)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.