Table of Contents

Class ImageInfoWS

Namespace
PHCWS
Assembly
PHCWS.dll

Image management services.

[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class ImageInfoWS : PHCTypedWS<ImageInfoVO>, IComponent, IDisposable, IServiceProvider
Inheritance
ImageInfoWS

Methods

canUploadImage(int)

Check whether it is possible to save the image to a particular lenght.

[WebMethod]
public PHCResult canUploadImage(int byteLength)

Parameters

Nome Tipo Descrição
byteLength int

Returns

PHCResult

deleteCopiedImageByStamp(string)

Delete the copied image with the specific stamp. There de copied image must contain the origin image stamp

[WebMethod]
public PHCResult deleteCopiedImageByStamp(string imageStamp)

Parameters

Nome Tipo Descrição
imageStamp string

Stamp of the image to be updated.

Returns

PHCResult

getByEntityType(string)

List of records of ImageInfoVO by entity type.

[WebMethod]
public PHCResult getByEntityType(string entityType)

Parameters

Nome Tipo Descrição
entityType string

Returns

PHCResult

A PHCResult empty in case the operation has been sucessful, or associated error messages otherwise.

updateImageContentByStamp(string, byte[])

Updates the content of the image with the specific stamp.

[WebMethod]
public PHCResult updateImageContentByStamp(string imageStamp, byte[] byteArray)

Parameters

Nome Tipo Descrição
imageStamp string

Stamp of the image to be updated.

byteArray byte[]

Contains the content of the image

Returns

PHCResult

An empty PHCResultif the process was successful, or error message otherwise.

uploadImage(ImageInfoVO, byte[])

Saves in database a new record ImageInfoVO.

[WebMethod]
public PHCResult uploadImage(ImageInfoVO image, byte[] byteArray)

Parameters

Nome Tipo Descrição
image ImageInfoVO

Record to be recorded in the database.

byteArray byte[]

Contains the file which corresponds to the image.

Returns

PHCResult

A PHCResult empty in case the operation has been sucessful, or associated error messages otherwise.