com.wewebu.ow.server.ui
Class OwBootstrapToIdMapping

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwBootstrapToIdMapping

public class OwBootstrapToIdMapping
extends Object

Utility class to handle mappings between different owbootstrap.xml files and corresponding identifiers.

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

Since:
3.2.0.0

Method Summary
 String getIdentifier(String adaptorFullPath_p, String owBootstrapName_p)
          Get the associated identifier for the given owBootstrapName_p
static OwBootstrapToIdMapping getInstance()
          Get the only instance of this class.
 void writeMappings(String adaptorFullPath_p, String owBootstrapName_p, String identifier_p)
          Write the mappings between the owbootstrap file and the provided identifier,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OwBootstrapToIdMapping getInstance()
Get the only instance of this class.

Returns:
- the only instance of this class.

writeMappings

public void writeMappings(String adaptorFullPath_p,
                          String owBootstrapName_p,
                          String identifier_p)
Write the mappings between the owbootstrap file and the provided identifier,

Parameters:
adaptorFullPath_p - - the full path of the adaptor
owBootstrapName_p - - the name of the owbootstrap file
identifier_p - - the value of the identifier.

getIdentifier

public String getIdentifier(String adaptorFullPath_p,
                            String owBootstrapName_p)
Get the associated identifier for the given owBootstrapName_p

Parameters:
adaptorFullPath_p - - the adaptor full path.
owBootstrapName_p - - the owbootstrap file name
Returns:
- the associated identifier or null


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.