Package com.logicaldoc.webservice.model
Class WSUtil
java.lang.Object
com.logicaldoc.webservice.model.WSUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertDateToString(Date date) static DateconvertStringToDate(String date) static AccessControlEntrystatic AttributeSettoAttributeSet(WSAttributeSet wsSet) static DocumenttoDocument(WSDocument wsDoc) static DocumentAccessControlEntrystatic FolderAccessControlEntrystatic TemplatetoTemplate(WSTemplate wsTemplate) static WSAccessControlEntrystatic WSAttributeSettoWSAttributeSet(AttributeSet attributeSet) static WSDocumenttoWSDocument(AbstractDocument document) static WSTemplatetoWSTemplate(Template template)
-
Method Details
-
toWSDocument
-
toDocument
- Throws:
PersistenceException
-
convertDateToString
-
convertStringToDate
-
toWSAttributeSet
public static WSAttributeSet toWSAttributeSet(AttributeSet attributeSet) throws PersistenceException - Throws:
PersistenceException
-
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
-
toDocumentAccessControlEntry
public static DocumentAccessControlEntry toDocumentAccessControlEntry(WSAccessControlEntry wsAce) throws PersistenceException - Throws:
PersistenceException
-
toFolderAccessControlEntry
public static FolderAccessControlEntry toFolderAccessControlEntry(WSAccessControlEntry wsAce) throws PersistenceException - Throws:
PersistenceException
-