C# Class BExIS.Web.Shell.Areas.RPM.Controllers.DataAttributeController

Inheritance: Controller
Afficher le fichier Open project: BEXIS2/Core

Méthodes publiques

Méthode Description
AddDomainItem ( ) : System.Web.Mvc.ActionResult
AttributeManager ( long dataStructureId, bool showConstraints = false ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
attributeInUse ( DataAttribute attribute ) : bool
deletAttribute ( long id, string name ) : System.Web.Mvc.ActionResult
deletConstraint ( long Id, long attributeId ) : System.Web.Mvc.ActionResult
deletConstraint ( long constraintId, DataAttribute attribute ) : DataAttribute
editAttribute ( DataAttributeModel Model ) : System.Web.Mvc.ActionResult
getDatatypeList ( string Id ) : System.Web.Mvc.JsonResult
getDomainConstraintFormalDescription ( string invert, string Terms ) : System.Web.Mvc.JsonResult
getPatternConstraintFormalDescription ( string invert, string phrase ) : System.Web.Mvc.JsonResult
getRangeConstraintFormalDescription ( bool invert, double min, double max, bool mininclude, bool maxinclude ) : System.Web.Mvc.JsonResult
openAttributeWindow ( long id, bool showConstraints = false ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
clearEmptyItems ( List list ) : List
createDomainItems ( string Terms ) : List
cutSpaces ( string str ) : string
storeConstraint ( ConstraintModel constraintModel, DataAttribute dataAttribute ) : DataAttribute

Method Details

AddDomainItem() public méthode

public AddDomainItem ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

AttributeManager() public méthode

public AttributeManager ( long dataStructureId, bool showConstraints = false ) : System.Web.Mvc.ActionResult
dataStructureId long
showConstraints bool
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

attributeInUse() public méthode

public attributeInUse ( DataAttribute attribute ) : bool
attribute BExIS.Dlm.Entities.DataStructure.DataAttribute
Résultat bool

deletAttribute() public méthode

public deletAttribute ( long id, string name ) : System.Web.Mvc.ActionResult
id long
name string
Résultat System.Web.Mvc.ActionResult

deletConstraint() public méthode

public deletConstraint ( long Id, long attributeId ) : System.Web.Mvc.ActionResult
Id long
attributeId long
Résultat System.Web.Mvc.ActionResult

deletConstraint() public méthode

public deletConstraint ( long constraintId, DataAttribute attribute ) : DataAttribute
constraintId long
attribute BExIS.Dlm.Entities.DataStructure.DataAttribute
Résultat BExIS.Dlm.Entities.DataStructure.DataAttribute

editAttribute() public méthode

public editAttribute ( DataAttributeModel Model ) : System.Web.Mvc.ActionResult
Model BExIS.Web.Shell.Areas.RPM.Models.DataAttributeModel
Résultat System.Web.Mvc.ActionResult

getDatatypeList() public méthode

public getDatatypeList ( string Id ) : System.Web.Mvc.JsonResult
Id string
Résultat System.Web.Mvc.JsonResult

getDomainConstraintFormalDescription() public méthode

public getDomainConstraintFormalDescription ( string invert, string Terms ) : System.Web.Mvc.JsonResult
invert string
Terms string
Résultat System.Web.Mvc.JsonResult

getPatternConstraintFormalDescription() public méthode

public getPatternConstraintFormalDescription ( string invert, string phrase ) : System.Web.Mvc.JsonResult
invert string
phrase string
Résultat System.Web.Mvc.JsonResult

getRangeConstraintFormalDescription() public méthode

public getRangeConstraintFormalDescription ( bool invert, double min, double max, bool mininclude, bool maxinclude ) : System.Web.Mvc.JsonResult
invert bool
min double
max double
mininclude bool
maxinclude bool
Résultat System.Web.Mvc.JsonResult

openAttributeWindow() public méthode

public openAttributeWindow ( long id, bool showConstraints = false ) : System.Web.Mvc.ActionResult
id long
showConstraints bool
Résultat System.Web.Mvc.ActionResult