|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OwFormat
Base interface for format information for fields.
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
Method Summary | |
---|---|
boolean |
canValidate()
check if validation is implemented |
Format |
getTextFormat(int iFieldProviderType_p)
get the optional formatter object for string representation, according to the given context type |
boolean |
ignoreDate()
check if the format should ignore date part of date values |
boolean |
ignoreTime()
check if the format should ignore time part of date values |
String |
validate(int iFieldProviderType_p,
Object object_p,
Locale locale_p)
validate the given value |
Method Detail |
---|
boolean ignoreTime()
boolean ignoreDate()
Format getTextFormat(int iFieldProviderType_p)
iFieldProviderType_p
- int as defined in OwFieldProvider.TYPE_...
boolean canValidate()
String validate(int iFieldProviderType_p, Object object_p, Locale locale_p) throws OwInvalidOperationException
iFieldProviderType_p
- int as defined in OwFieldProvider.TYPE_...object_p
- the value to validatelocale_p
- Locale for String localize
OwInvalidOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |