Package bitel.billing.server.contract.bean

# Class PasswordManager

java.lang.Object
bitel.billing.server.contract.bean.PasswordManager

public class PasswordManager extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Connection`
  `con`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PasswordManager(Connection con)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addPassword(String contractTitle, long passwordExpireHour, String password)`
  `void`
  `deleteByContract(String contractTitle)`
  `void`
  `deleteContractTitle(String passwordOnce)`
  `String`
  `findContractTitle(String passwordOnce)`
  `String`
  `getOncePassword(String charArray)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### con

    protected Connection con

- ## Constructor Details

  - ### PasswordManager

    public PasswordManager(Connection con)

- ## Method Details

  - ### findContractTitle

    public String findContractTitle(String passwordOnce)

  - ### addPassword

    public void addPassword(String contractTitle, long passwordExpireHour, String password)

  - ### deleteContractTitle

    public void deleteContractTitle(String passwordOnce)

  - ### deleteByContract

    public void deleteByContract(String contractTitle)

  - ### getOncePassword

    public String getOncePassword(String charArray)