public class OwStandardWildCardDefinition extends Object implements OwWildCardDefinition
Standard implementation of 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
WILD_CARD_TYPE_CUSTOM_START, WILD_CARD_TYPE_MULTI_CHAR, WILD_CARD_TYPE_SINGLE_CHAR
Constructor and Description |
---|
OwStandardWildCardDefinition(String sNativeWildcard_p,
String wildcard_p,
int type_p,
OwString1 description_p)
create a wildcard definition
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Locale locale_p)
get a description of this wild character to be displayed in the client
|
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
|
public OwStandardWildCardDefinition(String sNativeWildcard_p, String wildcard_p, int type_p, OwString1 description_p)
sNativeWildcard_p
- the native wildcard characterwildcard_p
- the wildcard character that is used by the client and needs to be replaced by the native wildcardtype_p
- description_p
- public String getWildCard()
getWildCard
in interface OwWildCardDefinition
public String getNativeWildCard()
getNativeWildCard
in interface OwWildCardDefinition
public int getType()
getType
in interface OwWildCardDefinition
public String getDescription(Locale locale_p)
getDescription
in interface OwWildCardDefinition
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.