com.sage.orion.sdata.servlet.accpac
Class ResourceContextImpl

java.lang.Object
  extended by com.sage.orion.sdata.servlet.accpac.AccpacResourceContext
      extended by com.sage.orion.sdata.servlet.accpac.ResourceContextImpl
All Implemented Interfaces:
ResourceContext

public class ResourceContextImpl
extends AccpacResourceContext


Method Summary
 java.io.File getConfigurationFile(java.lang.String directoryName, java.lang.String fileName)
          returns a child File based upon the directory and file name in this context
 java.io.File getMappingFile()
          Gets the Mapping file for the Resource.
 java.lang.String getResourceName()
          Gets the Resource name for the Resource.
 void setResourceName(java.lang.String name)
          Sets the Resource name for the Resource.
 
Methods inherited from class com.sage.orion.sdata.servlet.accpac.AccpacResourceContext
get, getAccpacProgram, getIsStateful, openView, openView, put, setAccpacProgram, setIsStateful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMappingFile

public java.io.File getMappingFile()
Gets the Mapping file for the Resource.

Returns:
the Mapping file for the Resource.

setResourceName

public void setResourceName(java.lang.String name)
Sets the Resource name for the Resource.

Parameters:
name - the name for the Resource

getResourceName

public java.lang.String getResourceName()
Gets the Resource name for the Resource.

Returns:
the name of the Resource

getConfigurationFile

public final java.io.File getConfigurationFile(java.lang.String directoryName,
                                               java.lang.String fileName)
returns a child File based upon the directory and file name in this context

Parameters:
directoryName - the name of the directory within this set
fileName - the name of the file within the directory
Returns:
the File based on the information


Copyright © 2011 Sage Software, Inc. All rights reserved.