C# Class ATMLDataAccessLibrary.db.daos.DocumentDAO

Inheritance: DAO
Show file Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Public Methods

Method Description
DeleteAssets ( string uuid ) : int
FindAsset ( String number ) : AssetIdentificationBean
FindAsset ( String type, String number ) : AssetIdentificationBean
FindAsset ( String type, String number, String uuid ) : AssetIdentificationBean
GetAssetsByUuid ( string uuid ) : AssetIdentificationBean>.Dictionary
GetDocumentsByType ( int documentTypeId ) : List
HasAsset ( String type, String number, String uuid ) : System.Boolean
HasAssets ( String uuid ) : System.Boolean
RemoveAsset ( string assetNumber, string uuid ) : object
RemoveAssets ( string uuid ) : object
hasDocument ( String uuid ) : bool
hasDocument ( string fileName, int documentType ) : bool
openDatabaseDocument ( String uuid ) : dbDocument
openDatabaseDocument ( string fileName, int documentType ) : dbDocument
openDatabaseDocumentByName ( String fileName ) : dbDocument

Method Details

DeleteAssets() public method

public DeleteAssets ( string uuid ) : int
uuid string
return int

FindAsset() public method

public FindAsset ( String number ) : AssetIdentificationBean
number String
return ATMLDataAccessLibrary.db.beans.AssetIdentificationBean

FindAsset() public method

public FindAsset ( String type, String number ) : AssetIdentificationBean
type String
number String
return ATMLDataAccessLibrary.db.beans.AssetIdentificationBean

FindAsset() public method

public FindAsset ( String type, String number, String uuid ) : AssetIdentificationBean
type String
number String
uuid String
return ATMLDataAccessLibrary.db.beans.AssetIdentificationBean

GetAssetsByUuid() public method

public GetAssetsByUuid ( string uuid ) : AssetIdentificationBean>.Dictionary
uuid string
return AssetIdentificationBean>.Dictionary

GetDocumentsByType() public method

public GetDocumentsByType ( int documentTypeId ) : List
documentTypeId int
return List

HasAsset() public method

public HasAsset ( String type, String number, String uuid ) : System.Boolean
type String
number String
uuid String
return System.Boolean

HasAssets() public method

public HasAssets ( String uuid ) : System.Boolean
uuid String
return System.Boolean

RemoveAsset() public method

public RemoveAsset ( string assetNumber, string uuid ) : object
assetNumber string
uuid string
return object

RemoveAssets() public method

public RemoveAssets ( string uuid ) : object
uuid string
return object

hasDocument() public method

public hasDocument ( String uuid ) : bool
uuid String
return bool

hasDocument() public method

public hasDocument ( string fileName, int documentType ) : bool
fileName string
documentType int
return bool

openDatabaseDocument() public method

public openDatabaseDocument ( String uuid ) : dbDocument
uuid String
return ATMLDataAccessLibrary.model.dbDocument

openDatabaseDocument() public method

public openDatabaseDocument ( string fileName, int documentType ) : dbDocument
fileName string
documentType int
return ATMLDataAccessLibrary.model.dbDocument

openDatabaseDocumentByName() public method

public openDatabaseDocumentByName ( String fileName ) : dbDocument
fileName String
return ATMLDataAccessLibrary.model.dbDocument