com.sage.orion.sdata.servlet.accpac.hosting
Class HostedSharedDataSet

java.lang.Object
  extended by com.sage.accpac.sm.SharedDataSet
      extended by com.sage.orion.sdata.servlet.accpac.hosting.HostedSharedDataSet
All Implemented Interfaces:
com.sage.accpac.sm.program.ISharedDataSet

public class HostedSharedDataSet
extends com.sage.accpac.sm.SharedDataSet

The HostedSharedDataSet extends the SharedDataSet by providing a small number of options applicable to when it is run in a hosted mode.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sage.accpac.sm.SharedDataSet
com.sage.accpac.sm.SharedDataSet.PasswordStatus
 
Constructor Summary
HostedSharedDataSet(java.lang.String directory, java.lang.String companyID)
          creates an instance of the HostedSharedDataSet class for the given host company id
 
Method Summary
 java.lang.String getHostCompanyID()
          returns the host company ID corresponding to this SharedDataSet.
 
Methods inherited from class com.sage.accpac.sm.SharedDataSet
changePassword, checkValidLogin, checkValidLogin, getDirectory, getOrganizations, getSysOrg, isSecurityEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostedSharedDataSet

public HostedSharedDataSet(@NonNull
                           java.lang.String directory,
                           @NonNull
                           java.lang.String companyID)
creates an instance of the HostedSharedDataSet class for the given host company id

Parameters:
directory - the shared data directory
companyID - the host company id, which must be a non-null ASCII string (so that it can easily be used in filenames). Each companyID should correspond to a different directory.
Method Detail

getHostCompanyID

@NonNull
public java.lang.String getHostCompanyID()
returns the host company ID corresponding to this SharedDataSet. Each shared data directory corresponds to a different host company ID. This is the value that was provided when the object was constructed.

Returns:
a non-null String containing the host company ID, such as 'abc'


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