iaaf.function
Class DeleteCompanyFunction

java.lang.Object
  |
  +--iaaf.function.IAAFFunction
        |
        +--iaaf.function.DeleteCompanyFunction

public class DeleteCompanyFunction
extends IAAFFunction

File: DeleteCompanyFunction.java Description: This class is responsible for deleting the company and its associated information from all tables. This function is performed by Super-User. It extends the abstract class IAAFFunction and implements its abstract function performFunction(). Date: February 28, 2001 Copyright (c) 2001 IAAF team, UMass Boston

Version:
1.0
Author:
Durgesh Joshi

Constructor Summary
DeleteCompanyFunction()
          class constructor
 
Method Summary
 java.lang.String DelCompany(java.lang.String cid)
           
 java.lang.String delImagesForCompany(java.lang.String cid)
           
 java.lang.String delMachinesForCompany(java.lang.String cid)
           
 java.lang.String delOperatorsForCompany(java.lang.String cid)
           
 boolean DoesCompanyExistsForMachines(java.lang.String cid)
           
 boolean DoesUserExistsForCompany(java.lang.String cid)
           
 java.lang.String performFunction(IAAFEnv env)
          It takes company id, company name, company address, company administrator and company administrator level input by the user and delete the required information in the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCompanyFunction

public DeleteCompanyFunction()
class constructor
Method Detail

performFunction

public java.lang.String performFunction(IAAFEnv env)
                                 throws IAAFFunctionException
It takes company id, company name, company address, company administrator and company administrator level input by the user and delete the required information in the database.
Overrides:
performFunction in class IAAFFunction

DoesUserExistsForCompany

public boolean DoesUserExistsForCompany(java.lang.String cid)

DelCompany

public java.lang.String DelCompany(java.lang.String cid)

DoesCompanyExistsForMachines

public boolean DoesCompanyExistsForMachines(java.lang.String cid)

delMachinesForCompany

public java.lang.String delMachinesForCompany(java.lang.String cid)

delImagesForCompany

public java.lang.String delImagesForCompany(java.lang.String cid)

delOperatorsForCompany

public java.lang.String delOperatorsForCompany(java.lang.String cid)