Table of Contents

Class PortalFormVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("PortalForm", 20221109)]
[AttTableVOInfo(typeof(PortalFormAttInfo))]
[AttTableTarget(DBTarget.Home)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotCustomizable, TableFlags.AddOnFramework, TableFlags.StudioOnly })]
public class PortalFormVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
PortalFormVO

Properties

actions

[AttCollection(typeof(MainFormActionVO), new string[] { "[MainFormAction].[parentStamp]", "[PortalForm].[portalFormstamp]" })]
public List<MainFormActionVO> actions { get; set; }

Property Value

List<MainFormActionVO>

authEntity

Entity ID for Authentication for this form @portal

[AttLenght(40)]
[AttMandatory]
[AttList]
public string authEntity { get; set; }

Property Value

string

description

Description given by developer

[AttList]
public string description { get; set; }

Property Value

string

entity

Entity ID for this form @portal

[AttLenght(40)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string entity { get; set; }

Property Value

string

hasListMode

Allows portal entity to have list view

public bool hasListMode { get; set; }

Property Value

bool

hiddenObjects

[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[PortalForm].[portalFormstamp]" })]
public List<MainFormObjectVO> hiddenObjects { get; set; }

Property Value

List<MainFormObjectVO>

mainObjects

[AttCollection(typeof(MainFormObjectVO), new string[] { "[MainFormObject].[parentStamp]", "[PortalForm].[portalFormstamp]" })]
public List<MainFormObjectVO> mainObjects { get; set; }

Property Value

List<MainFormObjectVO>

name

Name of portal form

[AttLenght(60)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string name { get; set; }

Property Value

string

portalFormstamp

ID, used to link others to this entity.

[AttLenght(25)]
public string portalFormstamp { get; set; }

Property Value

string

Remarks

This field uniquely identifies the record.

recordDesignation

Multilang

[AttLenght(250)]
public string recordDesignation { get; set; }

Property Value

string

title

Title given by developer

[AttLenght(100)]
public string title { get; set; }

Property Value

string

toolDescription

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolDescription { get; set; }

Property Value

string

toolName

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolName { get; set; }

Property Value

string

translations

[AttCollection(typeof(UserLocaleVO), new string[] { "[UserLocale].[parentStamp]", "[PortalForm].[portalFormstamp]" })]
public List<UserLocaleVO> translations { get; set; }

Property Value

List<UserLocaleVO>

updateConfigCode

Code Typescript to run on mainform updateConfig fn

public string updateConfigCode { get; set; }

Property Value

string

updateConfigCodeEncrypted

[AttVirtualField]
public string updateConfigCodeEncrypted { get; set; }

Property Value

string

Methods

GetAllMainFormFields()

List of flaten fields: MainFormFieldVO Just for sql structure validations

public List<MainFormFieldVO> GetAllMainFormFields()

Returns

List<MainFormFieldVO>

GetAllMainFormTablesAndGrids()

Utility function to install DataProviders on addon DLL Tabels and GRIDs with search popup

public List<MainFormObjectVO> GetAllMainFormTablesAndGrids()

Returns

List<MainFormObjectVO>

GetMainFormObjectsByType(MainFormObjectType)

public List<MainFormObjectVO> GetMainFormObjectsByType(MainFormObjectType type)

Parameters

Nome Tipo Descrição
type MainFormObjectType

Returns

List<MainFormObjectVO>

Explicit Interface Implementations

AsStudioTool()

StudioToolVO AsStudioTool()

Returns

StudioToolVO

CanDeleteTool()

bool CanDeleteTool()

Returns

bool

ToolMainFields()

List<string> ToolMainFields()

Returns

List<string>