C# 클래스 SIL.FieldWorks.FDO.DomainImpl.RnGenericRec

파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckNotNull void
DateModifiedSideEffects void
FormatNumberOfParent ITsString
NoteSubrecordOfChanges void
RegisterAllSubrecordIndexTSSChanged void
SetDefaultValuesInConstruction void
SubrecordIndexTSS ITsString
TitleSideEffects void
ValidateConclusionsOA void
ValidateDescriptionOA void
ValidateDiscussionOA void
ValidateExternalMaterialsOA void
ValidateFurtherQuestionsOA void
ValidateHypothesisOA void
ValidatePersonalNotesOA void
ValidateResearchPlanOA void
ValidateVersionHistoryOA void

공개 메소드들

메소드 설명
MakeDefaultRoledParticipant ( ) : IRnRoledPartic

Make a default RoledParticipant. This is where we put participants unless the user chooses to divide them into roles. Many users just list participants and are not aware of the intervening RoledParticipant object.

ReferenceTargetOwner ( int flid ) : ICmObject

Gets the object which, for the indicated property of the recipient, the user is most likely to want to edit if the ReferenceTargetCandidates do not include the target he wants. The canonical example, supported by the default implementation of ReferenceTargetCandidates, is a possibility list, where the targets are the items. Subclasses which have reference properties edited by the simple list chooser should generally override either this or ReferenceTargetCandidates or both. The implementations of the two should naturally be consistent.

SubrecordOfKey ( bool sortedFromEnd ) : string

A sort key which sorts first by root record title, then by subrecord position. It achieves the sort we want for the SubrecordOf property. Note: called by reflection as a sortmethod for browse columns. Note that we don't support sorting this from the end; the parameter is currently required by the code in SortMethodFinder.CallSortMethod which invokes the sort method.

보호된 메소드들

메소드 설명
AddObjectSideEffectsInternal ( AddObjectEventArgs e ) : void
RemoveObjectSideEffectsInternal ( RemoveObjectEventArgs e ) : void

비공개 메소드들

메소드 설명
CheckNotNull ( IStText newObjValue ) : void
DateModifiedSideEffects ( System.DateTime originalValue, System.DateTime newValue ) : void
FormatNumberOfParent ( string pattern ) : ITsString
NoteSubrecordOfChanges ( RnGenericRec parent, int indexOfFirstChildToNote ) : void

Register a PropChanged for the SubrecordOf property of all your subrecords (after and including the one at indexOfFirstChildToNote) and their children

RegisterAllSubrecordIndexTSSChanged ( IFdoOwningSequence subs, int flid, ITsString dummy ) : void
SetDefaultValuesInConstruction ( ) : void

Initialize the DateCreated and DateModified values in the constructor.

SubrecordIndexTSS ( ITsStrBldr bldr ) : ITsString
TitleSideEffects ( ITsString originalValue, ITsString newValue ) : void
ValidateConclusionsOA ( IStText &newObjValue ) : void
ValidateDescriptionOA ( IStText &newObjValue ) : void
ValidateDiscussionOA ( IStText &newObjValue ) : void
ValidateExternalMaterialsOA ( IStText &newObjValue ) : void
ValidateFurtherQuestionsOA ( IStText &newObjValue ) : void
ValidateHypothesisOA ( IStText &newObjValue ) : void
ValidatePersonalNotesOA ( IStText &newObjValue ) : void
ValidateResearchPlanOA ( IStText &newObjValue ) : void
ValidateVersionHistoryOA ( IStText &newObjValue ) : void

메소드 상세

AddObjectSideEffectsInternal() 보호된 메소드

protected AddObjectSideEffectsInternal ( AddObjectEventArgs e ) : void
e SIL.FieldWorks.FDO.Infrastructure.AddObjectEventArgs
리턴 void

MakeDefaultRoledParticipant() 공개 메소드

Make a default RoledParticipant. This is where we put participants unless the user chooses to divide them into roles. Many users just list participants and are not aware of the intervening RoledParticipant object.
public MakeDefaultRoledParticipant ( ) : IRnRoledPartic
리턴 IRnRoledPartic

ReferenceTargetOwner() 공개 메소드

Gets the object which, for the indicated property of the recipient, the user is most likely to want to edit if the ReferenceTargetCandidates do not include the target he wants. The canonical example, supported by the default implementation of ReferenceTargetCandidates, is a possibility list, where the targets are the items. Subclasses which have reference properties edited by the simple list chooser should generally override either this or ReferenceTargetCandidates or both. The implementations of the two should naturally be consistent.
public ReferenceTargetOwner ( int flid ) : ICmObject
flid int
리턴 ICmObject

RemoveObjectSideEffectsInternal() 보호된 메소드

protected RemoveObjectSideEffectsInternal ( RemoveObjectEventArgs e ) : void
e SIL.FieldWorks.FDO.Infrastructure.RemoveObjectEventArgs
리턴 void

SubrecordOfKey() 공개 메소드

A sort key which sorts first by root record title, then by subrecord position. It achieves the sort we want for the SubrecordOf property. Note: called by reflection as a sortmethod for browse columns. Note that we don't support sorting this from the end; the parameter is currently required by the code in SortMethodFinder.CallSortMethod which invokes the sort method.
public SubrecordOfKey ( bool sortedFromEnd ) : string
sortedFromEnd bool
리턴 string