com.wewebu.ow.server.ecm
Interface OwCrossMappings

All Known Subinterfaces:
OwExtendedCrossMappings
All Known Implementing Classes:
OwStandardCrossMappings

public interface OwCrossMappings

Interface for ECM adapter mapping or sort, search, properties and login.

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
 Object convert(Object value_p, OwFieldDefinition from_p, OwFieldDefinition to_p)
           
 void doXLogin(OwNetwork xnetwork_p, OwNetwork parentnetwork_p, String parentuser_p, String parentpassword_p)
          login to the X network
 Collection getXProperties(Collection propertyNames_p)
          map the given property names
 String getXProperty(String name_p)
          map the given property name
 OwSearchNode getXSearch(OwSearchNode searchNode_p, String xRepositoryID_p, OwNetwork xNetwork_p)
          map the given search
 OwSort getXSort(OwSort searchNode_p)
          map the given search
 void mapXObjectCollection(OwObjectCollection objects_p)
          replace the objects of the given collection with mapped wrapper objects
 

Method Detail

getXProperties

Collection getXProperties(Collection propertyNames_p)
                          throws OwConfigurationException
map the given property names

Parameters:
propertyNames_p -
Returns:
a Collection
Throws:
OwConfigurationException

doXLogin

void doXLogin(OwNetwork xnetwork_p,
              OwNetwork parentnetwork_p,
              String parentuser_p,
              String parentpassword_p)
              throws Exception
login to the X network

Parameters:
xnetwork_p -
parentnetwork_p -
parentuser_p -
parentpassword_p -
Throws:
Exception

getXProperty

String getXProperty(String name_p)
                    throws OwConfigurationException
map the given property name

Parameters:
name_p -
Returns:
a String
Throws:
OwConfigurationException

getXSearch

OwSearchNode getXSearch(OwSearchNode searchNode_p,
                        String xRepositoryID_p,
                        OwNetwork xNetwork_p)
                        throws CloneNotSupportedException
map the given search

Parameters:
searchNode_p -
Returns:
an OwSearchNode
Throws:
CloneNotSupportedException

getXSort

OwSort getXSort(OwSort searchNode_p)
                throws CloneNotSupportedException,
                       OwConfigurationException
map the given search

Parameters:
searchNode_p -
Returns:
an OwSearchNode
Throws:
CloneNotSupportedException
OwConfigurationException
Since:
4.0.0.0

mapXObjectCollection

void mapXObjectCollection(OwObjectCollection objects_p)
replace the objects of the given collection with mapped wrapper objects

Parameters:
objects_p -

convert

Object convert(Object value_p,
               OwFieldDefinition from_p,
               OwFieldDefinition to_p)
               throws OwException
Throws:
OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.