TaskBean API
0.5

glogic.sample.admin.server
Class AdminServiceImp

java.lang.Object
  extended byJThinProductServlet
      extended byglogic.jthin.serv.AbstractProductService
          extended byglogic.sample.sys.AbstractAuthenticatedService
              extended byglogic.sample.admin.server.AdminServiceImp
All Implemented Interfaces:
AdminServiceIF

public class AdminServiceImp
extends AbstractAuthenticatedService
implements AdminServiceIF

Server-side mplementation of Admin Service.

Author:
Taha
See Also:
Serialized Form

Constructor Summary
AdminServiceImp()
          Constructor for the AdminServiceImp object
 
Method Summary
 ProductConfigBean[] getAllProductConfig()
          Returns all available products that can be edited.
 ProductConfigBean getProductConfig(java.lang.String stProductName)
          Gets the productConfig attribute of the AdminServiceImp object
 EnvStatusInfo getSystemInfo()
           
 boolean setProductConfig(ProductConfigBean bean)
          Sets the productConfig attribute of the AdminServiceImp object
 void setSystemInfo(EnvStatusInfo info)
           
 
Methods inherited from class glogic.sample.sys.AbstractAuthenticatedService
checkFunctionRights
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminServiceImp

public AdminServiceImp()
Constructor for the AdminServiceImp object

Method Detail

setProductConfig

public boolean setProductConfig(ProductConfigBean bean)
Sets the productConfig attribute of the AdminServiceImp object

Specified by:
setProductConfig in interface AdminServiceIF
Parameters:
bean - The new productConfig value
Returns:
true if successful, false otherwise.
Throws:
WServiceAccessException - Description of the Exception

getProductConfig

public ProductConfigBean getProductConfig(java.lang.String stProductName)
                                   throws WServiceAccessException
Gets the productConfig attribute of the AdminServiceImp object

Specified by:
getProductConfig in interface AdminServiceIF
Returns:
The productConfig value
Throws:
WServiceAccessException - Description of the Exception

getAllProductConfig

public ProductConfigBean[] getAllProductConfig()
                                        throws WServiceAccessException
Returns all available products that can be edited.

Specified by:
getAllProductConfig in interface AdminServiceIF
Returns:
The allProductConfig value
Throws:
WServiceAccessException - Description of the Exception

getSystemInfo

public EnvStatusInfo getSystemInfo()
                            throws WServiceAccessException
Specified by:
getSystemInfo in interface AdminServiceIF
Throws:
WServiceAccessException

setSystemInfo

public void setSystemInfo(EnvStatusInfo info)
                   throws WServiceAccessException
Specified by:
setSystemInfo in interface AdminServiceIF
Throws:
WServiceAccessException

TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.