|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.converter.OwCMISDateConverter
public class OwCMISDateConverter
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 | |
|---|---|
OwCMISDateConverter(TimeZone timezone)
|
|
| Method Summary | |
|---|---|
List<GregorianCalendar> |
fromArrayValue(Object[] owdValue_p)
Converts the array back from type O to a list of type L. |
List<GregorianCalendar> |
fromValue(Date owdValue_p)
Vice-versa conversion to OwCMISValueConverter.toValue(List). |
Class<Date> |
getOClass()
|
protected TimeZone |
getTimeZone()
Time zone of the client, which can be used for conversion. |
Date[] |
toArrayValue(List<GregorianCalendar> cmisValue_p)
Converts the list into an array of the resulting type. |
Date[] |
toStaticArrayValue(List<GregorianCalendar> cmisValue_p)
|
Date |
toStaticValue(List<GregorianCalendar> cmisValue_p)
|
Date |
toValue(List<GregorianCalendar> 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 OwCMISDateConverter(TimeZone timezone)
timezone - TimeZone of the converted Date values| Method Detail |
|---|
public List<GregorianCalendar> fromArrayValue(Object[] owdValue_p)
throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverter
fromArrayValue in interface OwCMISValueConverter<GregorianCalendar,Date>owdValue_p - array of resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public List<GregorianCalendar> fromValue(Date owdValue_p)
throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverterOwCMISValueConverter.toValue(List).
fromValue in interface OwCMISValueConverter<GregorianCalendar,Date>owdValue_p - O resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationExceptionpublic Date[] toArrayValue(List<GregorianCalendar> cmisValue_p)
OwCMISValueConverter
toArrayValue in interface OwCMISValueConverter<GregorianCalendar,Date>cmisValue_p - List to be converted
public Date toValue(List<GregorianCalendar> cmisValue_p)
OwCMISValueConverter
toValue in interface OwCMISValueConverter<GregorianCalendar,Date>cmisValue_p - List of values to convert
public Class<Date> getOClass()
public Date[] toStaticArrayValue(List<GregorianCalendar> cmisValue_p)
public Date toStaticValue(List<GregorianCalendar> cmisValue_p)
protected TimeZone getTimeZone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||