|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecm.OwStandardCrossMappings
public class OwStandardCrossMappings
Implements a configurable mapping of user's and properties for federated cross adapter scenarios.
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
| Nested Class Summary | |
|---|---|
static class |
OwStandardCrossMappings.OwCrossDecoratorSearchNode
Wrapper class to map the property names. |
static class |
OwStandardCrossMappings.OwCrossSort
|
| Constructor Summary | |
|---|---|
OwStandardCrossMappings(OwXMLUtil config_p)
creates a mapping with given configuration |
|
| 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. |
protected OwXMLUtil |
getConfigNode()
|
protected com.wewebu.ow.server.ecm.OwStandardCrossMappings.OwCrossLogin |
getDefaultlogin()
the default login for all unmapped users, groups |
protected Map |
getGroupmappings()
get the group mappings from configuration |
String |
getIClass(String className_p)
maps the given classes to their configured I peers |
protected Map<String,String> |
getIClassMappings()
map of class names |
protected Map |
getInternalPropertyMappings()
|
Collection |
getIProperties(Collection propertyNames_p)
maps the given X classes to their configured I(nternal) peers |
String |
getIProperty(String xPropertyName_p)
maps the given X classes to their configured I(nternal) peers |
protected Map |
getPropertyMappings()
map of property names |
protected Map |
getUsermappings()
get the user mappings from configuration |
String |
getXClass(String className_p)
maps the given classes to their configured X peers |
OwClass[] |
getXClasses(OwClass[] classes_p)
maps the given classes to their configured X peers |
protected Map<String,String> |
getXClassMappings()
map of class names |
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 sort_p)
map the given search |
void |
mapXObjectCollection(OwObjectCollection objects_p)
replace the objects of the given collection with mapped wrapper objects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwStandardCrossMappings(OwXMLUtil config_p)
config_p - | Method Detail |
|---|
protected OwXMLUtil getConfigNode()
protected com.wewebu.ow.server.ecm.OwStandardCrossMappings.OwCrossLogin getDefaultlogin()
OwStandardCrossMappings.OwCrossLoginprotected Map getUsermappings()
protected Map getGroupmappings()
throws Exception
Exception
protected Map getPropertyMappings()
throws OwConfigurationException
Map
OwConfigurationException
public Collection getXProperties(Collection propertyNames_p)
throws OwConfigurationException
getXProperties in interface OwCrossMappingspropertyNames_p -
Collection
OwConfigurationException
public void doXLogin(OwNetwork xnetwork_p,
OwNetwork parentnetwork_p,
String parentuser_p,
String parentpassword_p)
throws OwAuthenticationException,
OwServerException
doXLogin in interface OwCrossMappingsxnetwork_p - OwNetwork reference where should be logged in, using the mappingsparentnetwork_p - OwNetwork where to retrieve additional information about the userparentuser_p - String representing the userparentpassword_p - String containing the user password
OwAuthenticationException
OwServerException
public String getXProperty(String name_p)
throws OwConfigurationException
getXProperty in interface OwCrossMappingsname_p -
String
OwConfigurationExceptionpublic void mapXObjectCollection(OwObjectCollection objects_p)
mapXObjectCollection in interface OwCrossMappingsobjects_p -
public OwSearchNode getXSearch(OwSearchNode searchNode_p,
String xRepositoryID_p,
OwNetwork xNetwork_p)
throws CloneNotSupportedException
getXSearch in interface OwCrossMappingssearchNode_p -
OwSearchNode
CloneNotSupportedException
public OwSort getXSort(OwSort sort_p)
throws CloneNotSupportedException,
OwConfigurationException
OwCrossMappings
getXSort in interface OwCrossMappingsOwSearchNode
CloneNotSupportedException
OwConfigurationException
protected Map getInternalPropertyMappings()
throws OwConfigurationException
OwConfigurationException
protected Map<String,String> getXClassMappings()
throws OwConfigurationException
Map
OwConfigurationException
protected Map<String,String> getIClassMappings()
throws OwConfigurationException
Map
OwConfigurationException
public OwClass[] getXClasses(OwClass[] classes_p)
throws OwConfigurationException
OwExtendedCrossMappings
getXClasses in interface OwExtendedCrossMappingsOwClass
OwConfigurationException
public String getXClass(String className_p)
throws OwConfigurationException
OwExtendedCrossMappings
getXClass in interface OwExtendedCrossMappingsOwConfigurationException
public String getIClass(String className_p)
throws OwConfigurationException
OwExtendedCrossMappings
getIClass in interface OwExtendedCrossMappingsOwConfigurationException
public Collection getIProperties(Collection propertyNames_p)
throws OwConfigurationException
getIProperties in interface OwExtendedCrossMappingspropertyNames_p -
Collection
OwConfigurationException
public String getIProperty(String xPropertyName_p)
throws OwConfigurationException
getIProperty in interface OwExtendedCrossMappingsxPropertyName_p -
String
OwConfigurationException
public Object convert(Object value_p,
OwFieldDefinition from_p,
OwFieldDefinition to_p)
throws OwException
convert in interface OwCrossMappingsOwException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||