Package com.logicaldoc.webservice.model
Class WSUtil
java.lang.Object
com.logicaldoc.webservice.model.WSUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertDateToString
(Date date) static Date
convertStringToDate
(String date) static AccessControlEntry
static AttributeSet
toAttributeSet
(WSAttributeSet wsSet) static Document
toDocument
(WSDocument wsDoc) static Template
toTemplate
(WSTemplate wsTemplate) static WSAccessControlEntry
static WSAttributeSet
toWSAttributeSet
(AttributeSet attributeSet) static WSDocument
toWSDocument
(AbstractDocument document) static WSTemplate
toWSTemplate
(Template template)
-
Method Details
-
toWSDocument
-
toDocument
- Throws:
PersistenceException
-
convertDateToString
-
convertStringToDate
-
toWSAttributeSet
-
toAttributeSet
-
toTemplate
-
toWSTemplate
-
toWSAccessControlEntry
public static WSAccessControlEntry toWSAccessControlEntry(AccessControlEntry ace) throws PersistenceException - Throws:
PersistenceException
-
toAccessControlEntry
public static AccessControlEntry toAccessControlEntry(WSAccessControlEntry wsAce) throws PersistenceException - Throws:
PersistenceException
-