com.wewebu.ow.server.field
Interface OwFieldDefinitionProvider

All Known Subinterfaces:
OwHistoryManager, OwNetwork, OwRepository, OwWorkitemRepository
All Known Implementing Classes:
OwSimpleHistoryManager, OwStandardHistoryManager

public interface OwFieldDefinitionProvider

Interface for objects that provide field definitions, like ECM Adapters.

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
 OwFieldDefinition getFieldDefinition(String strFieldDefinitionName_p, String strResourceName_p)
          get a field definition for the given name and resource NOTE: Since there is no knowledge about the object class the field is attached to, the returned field definition represents an estimation.
 Collection getWildCardDefinitions(String strFieldDefinitionName_p, String strResourceName_p, int iOp_p)
          get a collection of wild card definitions that are allowed for the given field, resource and search operator
 

Method Detail

getFieldDefinition

OwFieldDefinition getFieldDefinition(String strFieldDefinitionName_p,
                                     String strResourceName_p)
                                     throws Exception,
                                            OwObjectNotFoundException
get a field definition for the given name and resource NOTE: Since there is no knowledge about the object class the field is attached to, the returned field definition represents an estimation. Access rights may not be represented correctly. To retrieve a precise representation with correct access right's, use the getPropertyClass method of OwObjectClass @see OwObjectClass.getPropertyClass(String)

Parameters:
strFieldDefinitionName_p - Name of the field definition class
strResourceName_p - optional name of the resource if there are several different resources for field definitions, can be null
Returns:
OwFieldDefinition or throws OwObjectNotFoundException
Throws:
Exception
OwObjectNotFoundException

getWildCardDefinitions

Collection getWildCardDefinitions(String strFieldDefinitionName_p,
                                  String strResourceName_p,
                                  int iOp_p)
                                  throws Exception
get a collection of wild card definitions that are allowed for the given field, resource and search operator

Parameters:
strFieldDefinitionName_p - Name of the field definition class
strResourceName_p - optional name of the resource if there are several different resources for field definitions, can be null
iOp_p - search operator as defined in OwSearchOperator CRIT_OP_...
Returns:
Collection of OwWildCardDefinition, or null if no wildcards are defined
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.