Click or drag to resize

ISchemaFieldFavorite Interface


Represents a collection of fields with prefilled values. It is used to group Fields that are most repeated across schemas. This way, when creating a new schema, fields can be conveniently added without additional typing.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
public interface ISchemaFieldFavorite : IEntity<ISchemaManager>, 
	IEntity, IEntityEvents

The ISchemaFieldFavorite type exposes the following members.

Properties
  NameDescription
Public propertyArchived
Gets the archived value of this entity
(Inherited from IEntity.)
Public propertyCreated
Gets the entity's creation date.
(Inherited from IEntity.)
Public propertyCreationUser
Gets the ID of the User who created this entity.
(Inherited from IEntity.)
Public propertyCreator
Get the user ID of the user who created this favorite entry. If Public is set to false, only this user can see this entry.
Public propertyFields
Gets the list of prefilled fields on this group. The list can be manipulated.
Public propertyLastModified
Gets the date when the entity was most recently modified.
(Inherited from IEntity.)
Public propertyLastModifiedUser
Gets the ID of the User who lasted edited the entity.
(Inherited from IEntity.)
Public propertyManager
Gets the manager that retrieved this entity instance.
(Inherited from IEntityTManager.)
Public propertyName
Gets and sets the entity's name.
(Inherited from IEntity.)
Public propertyPublic
Gets and sets whether this favorite entry is for all users. When false, it is only for the user who created this favorite entry.
Public propertySession
Gets the session that retrieved this entity. An entity is always session-specific.
(Inherited from IEntity.)
Public propertySessionId
Gets the unique ID of the session that retrieved this entity.
(Inherited from IEntity.)
Top
Methods
  NameDescription
Public methodAddField
Adds a new field to the group.
Public methodFieldsCount
Gets the count of the prefilled fields.
Public methodRemoveField
Removes a field from the group.
Public methodTouch
Updated the entity's LastModified value to the current time.
(Inherited from IEntity.)
Public methodValidateData
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.)
Public methodValidateUserPermission
Validates the user permission on the current entity. Implemented by concrete inheriting types. It is called automatically upon saving an entity.
(Inherited from IEntity.)
Top
Events
  NameDescription
Public eventAfterEntitySave
This event is fired after a Entity object is saved.
(Inherited from IEntityEvents.)
Public eventBeforeEntitySave
This event is fired before any Entity object is about to be saved.
(Inherited from IEntityEvents.)
Top
Remarks
This object is only used for convenience in constructing schemas.
See Also