|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.wfxml.WfXML2
public class WfXML2
| Field Summary | |
|---|---|
static String |
DMSFILTERATT
|
static short |
MODE_ACTIVE
Operating mode active means that WfXML is fully active. |
static short |
MODE_OFF
Operating mode off means that WfXML is deactivated. |
static short |
MODE_PASSIVE
Operating mode passive means that WfXML is activated. |
| Constructor Summary | |
|---|---|
WfXML2()
|
|
| Method Summary | |
|---|---|
static String |
dateToWfXMLDate(Date date)
Transforms a date to a WfXML date (like specified in the WfXML specification). |
static com.dec.avw.core.Server |
getDefaultServer()
|
static com.dec.avw.core.User |
getDefaultUser()
|
static DMSFilter |
getDMSFilter()
Return the current DMSFilter. |
static int |
getMaxLogSize()
|
static short |
getOperatingMode()
Use this method to find out if the local server operates in passive, active, or off mode. |
static Partner |
getPartner(String id)
Use this method to get a Partner object representing a WfXML communication partner that you know (you must know the id with which the partner has been defined). |
static boolean |
isLogEnabled(String object)
|
static void |
removeDMSFilter()
Remove the DMSFilter. |
static void |
setDMSFilter(DMSFilter filter)
Set the DMSFilter used to determine inclusion of DMSDocuments in a WfXMLMessage. |
static Date |
wfXMLDateToDate(String dateString)
Transforms a WfXML date to a Java Date object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short MODE_ACTIVE
public static final short MODE_OFF
public static final short MODE_PASSIVE
public static final String DMSFILTERATT
| Constructor Detail |
|---|
public WfXML2()
| Method Detail |
|---|
public static String dateToWfXMLDate(Date date)
YYYY-MM-DDThh:mm:ssZ and always in GMT (Greenwich Mean
Time). So this method transforms the given date to this requirements.wfXMLDateToDate(String) method.
date - A Date object containing a date/time which you want to
tranform to WfXML representation
public static com.dec.avw.core.Server getDefaultServer()
public static com.dec.avw.core.User getDefaultUser()
public static int getMaxLogSize()
public static short getOperatingMode()
short value representing the operating mode of
the local server. This can be one of the constants of this class,
e.g., MODE_ACTIVE.
public static Partner getPartner(String id)
throws Exception
id - The id with which the partner has been defined in the
enterprise configuration of the local server.
null if no partner with this id exists.
Exceptionpublic static boolean isLogEnabled(String object)
public static Date wfXMLDateToDate(String dateString)
Date object. The
WfXML date must be in the specified format
YYYY-MM-DDThh:mm:ssZ and in GMT (Greenwich Mean Time). The
returned date object will represent the time in the current timezone,
depending on where the computer is located. For transformations in the
other direction, use the dateToWfXMLDate method.
dateString - A String object containing the WfXML representation of a
date/time.
Date object containing the date and
time.
ApplicationException - if the String dateString is not formatted
according to the above mentioned format.public static void setDMSFilter(DMSFilter filter)
removeDMSFilter()
filter - the DMSFilter to set.public static DMSFilter getDMSFilter()
public static void removeDMSFilter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||