com.wewebu.ow.server.field
Interface OwWildCardDefinition

All Known Implementing Classes:
OwStandardWildCardDefinition

public interface OwWildCardDefinition

Interface for Wild character definitions used in searches.

To be implemented with the specific ECM system.

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


Field Summary
static int WILD_CARD_TYPE_CUSTOM_START
          own wild character definitions start here
static int WILD_CARD_TYPE_MULTI_CHAR
          wild character definition
static int WILD_CARD_TYPE_SINGLE_CHAR
          wild character definition
 
Method Summary
 String getDescription(Locale locale_p)
          get a description of this wild character
 String getNativeWildCard()
          get the native wildcard character that is used internally by the system
 int getType()
          get the type of wildcard defined by this character
 String getWildCard()
          get the wildcard character that is used by the client and will be replaced by the native wildcard
 

Field Detail

WILD_CARD_TYPE_MULTI_CHAR

static final int WILD_CARD_TYPE_MULTI_CHAR
wild character definition

See Also:
Constant Field Values

WILD_CARD_TYPE_SINGLE_CHAR

static final int WILD_CARD_TYPE_SINGLE_CHAR
wild character definition

See Also:
Constant Field Values

WILD_CARD_TYPE_CUSTOM_START

static final int WILD_CARD_TYPE_CUSTOM_START
own wild character definitions start here

See Also:
Constant Field Values
Method Detail

getWildCard

String getWildCard()
get the wildcard character that is used by the client and will be replaced by the native wildcard

Returns:
String representing the wildcard character placeholder like "*"

getNativeWildCard

String getNativeWildCard()
get the native wildcard character that is used internally by the system

Returns:
String representing the native wildcard character like "%"

getType

int getType()
get the type of wildcard defined by this character

Returns:
int as defined with WILD_CARD_TYPE_...

getDescription

String getDescription(Locale locale_p)
get a description of this wild character



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.