|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.util.OwCMISStandardDateConverter
public class OwCMISStandardDateConverter
OwCMISStandardDateConverter.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwCMISStandardDateConverter(TimeZone timezone)
|
|
| Method Summary | |
|---|---|
List<XMLGregorianCalendar> |
fromArrayValue(Date[] owdValue_p)
Converts the array back from type O to a list of type L. |
List<XMLGregorianCalendar> |
fromValue(Date owdValue_p)
Vice-versa conversion to OwCMISValueConverter.toValue(List). |
OwCMISValueConverterClass<XMLGregorianCalendar,Date> |
getConverterClass()
|
Class<Date> |
getOClass()
Return the java.lang.Class which should be the resulting type at end of conversion. |
protected TimeZone |
getTimeZone()
Time zone of the client, which can be used for conversion. |
OwCMISValueConverter<XMLGregorianCalendar,Date> |
newConverter(OwCMISNetwork network_p)
|
Date[] |
toArrayValue(List<XMLGregorianCalendar> cmisValue_p)
Converts the list into an array of the resulting type. |
Date[] |
toStaticArrayValue(List<XMLGregorianCalendar> cmisValue_p)
Statically converts the list into an array of the resulting type. |
Date |
toStaticValue(List<XMLGregorianCalendar> cmisValue_p)
Return a statically-created (non OwCMISNetwork depended)
representation of the given List as type O or simply converts the
first entry of the list into the resulting type. |
Date |
toValue(List<XMLGregorianCalendar> cmisValue_p)
Return a representation of the given List as type O, or simply converts the first entry of the list into the resulting type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwCMISStandardDateConverter(TimeZone timezone)
timezone - Timezone of the client| Method Detail |
|---|
public List<XMLGregorianCalendar> fromArrayValue(Date[] owdValue_p)
throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverter
fromArrayValue in interface OwCMISValueConverter<XMLGregorianCalendar,Date>owdValue_p - array of resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public List<XMLGregorianCalendar> fromValue(Date owdValue_p)
throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverterOwCMISValueConverter.toValue(List).
fromValue in interface OwCMISValueConverter<XMLGregorianCalendar,Date>owdValue_p - O resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationExceptionpublic Date[] toArrayValue(List<XMLGregorianCalendar> cmisValue_p)
OwCMISValueConverter
toArrayValue in interface OwCMISValueConverter<XMLGregorianCalendar,Date>cmisValue_p - List to be converted
public Date toValue(List<XMLGregorianCalendar> cmisValue_p)
OwCMISValueConverter
toValue in interface OwCMISValueConverter<XMLGregorianCalendar,Date>cmisValue_p - List of values to convert
public Class<Date> getOClass()
OwCMISValueConverterClass
getOClass in interface OwCMISValueConverterClass<XMLGregorianCalendar,Date>public OwCMISValueConverter<XMLGregorianCalendar,Date> newConverter(OwCMISNetwork network_p)
newConverter in interface OwCMISValueConverterClass<XMLGregorianCalendar,Date>network_p - the OwCMISNetwork that the resulting converter depends on
public Date[] toStaticArrayValue(List<XMLGregorianCalendar> cmisValue_p)
OwCMISValueConverterClassOwCMISNetwork depended.
toStaticArrayValue in interface OwCMISValueConverterClass<XMLGregorianCalendar,Date>cmisValue_p - List to be converted
public Date toStaticValue(List<XMLGregorianCalendar> cmisValue_p)
OwCMISValueConverterClassOwCMISNetwork depended)
representation of the given List as type O or simply converts the
first entry of the list into the resulting type.
toStaticValue in interface OwCMISValueConverterClass<XMLGregorianCalendar,Date>cmisValue_p - List of values to convert
public OwCMISValueConverterClass<XMLGregorianCalendar,Date> getConverterClass()
getConverterClass in interface OwCMISValueConverter<XMLGregorianCalendar,Date>protected TimeZone getTimeZone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||