models

package
v0.0.0-...-a4947f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationVisibilities

type ApplicationVisibilities struct {
	Application string `xml:"application"`
	Default     bool   `xml:"default"`
	Visible     bool   `xml:"visible"`
}

ApplicationVisibilities is used to tell if an application is visible and defaulted to a Profile.

type ClassAccesses

type ClassAccesses struct {
	ApexClass string `xml:"apexClass"`
	Enabled   bool   `xml:"enabled"`
}

ClassAccesses is used to tell if a Apex Class is visible for some Profile

type Custom

type Custom bool

Custom is used to tell if a Profile is a customized one.

type FieldPermissions

type FieldPermissions struct {
	Field    string `xml:"field"`
	Editable bool   `xml:"editable"`
	Readable bool   `xml:"readable"`
}

FieldPermissions is used to store field permissions for this Profile.

type FlowAccesses

type FlowAccesses struct {
	Flow    string `xml:"flow"`
	Enabled bool   `xml:"enabled"`
}

FlowAccesses is used to tell if a flow is visible to a Profile

type LayoutAssignments

type LayoutAssignments struct {
	Layout string `xml:"layout"`
}

LayoutAssignments is used to tell if a Layout is specified for a Profile

type LoginIPRanges

type LoginIPRanges struct {
	EndAddress   string `xml:"endAddress"`
	StartAddress string `xml:"startAddress"`
}

LoginIPRanges is used to specify an available IP range for a specific Profile.

type ObjectPermissions

type ObjectPermissions struct {
	Object           string `xml:"object"`
	AllowCreate      bool   `xml:"allowCreate"`
	AllowDelete      bool   `xml:"allowDelete"`
	AllowEdit        bool   `xml:"allowEdit"`
	AllowRead        bool   `xml:"allowRead"`
	ModifyAllRecords bool   `xml:"modifyAllRecords"`
	ViewAllRecords   bool   `xml:"viewAllRecords"`
}

ObjectPermissions is used to store a list of permissions for a SObject.

type PageAccesses

type PageAccesses struct {
	ApexPage string `xml:"apexPage"`
	Enabled  bool   `xml:"enabled"`
}

PageAccesses is used to specify the accessibility of a Visualforce Page.

type Profile

type Profile interface {
	Len() int
	Swap(i, j int)
	Less(i, j int) bool
	First() interface{}
	Name() string
	// Fields() []*structs.Field
	Values() map[*structs.Field][]interface{}
}

type RecordTypeVisibilities

type RecordTypeVisibilities struct {
	RecordType string `xml:"recordType"`
	Default    bool   `xml:"default"`
	Visible    bool   `xml:"visible"`
}

RecordTypeVisibilities is used to specify the properties of a Record Type.

type TabVisibilities

type TabVisibilities struct {
	Tab        string `xml:"tab"`
	Visibility string `xml:"visibility"`
}

TabVisibilities is used to store visibilities for Tabs

type UserLicense

type UserLicense string

UserLicense is used to tell what user license is used for this Profile

type UserPermissions

type UserPermissions struct {
	Name    string `xml:"name"`
	Enabled bool   `xml:"enabled"`
}

UserPermissions is used to store User Permissions specified for the Profile.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL