Subversion Repositories SmartDukaan

Rev

Rev 3896 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

'''
Created on 25-Oct-2011

@author: Chandranshu
'''
import logging
logging.basicConfig(level=logging.DEBUG)

class ContentHandler:
    '''
    classdocs
    '''
    
    def __init__(self):
        pass
    
    def pushContentToProduction(self, entityId):
        """
        Parameters:
         - entityId
        """
        pass
    
    def close_session(self):
        pass
    
    def isAlive(self, ):
        """
        For checking weather service is active alive or not. It also checks connectivity with database
        """
        try:
            return True
        except:
            return False
        finally:
            self.close_session()