C# 클래스 SenseNet.ContentRepository.GenericContent

상속: Node, IIndexableDocument
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertAllowedChildType void
CheckAllowedChildType TypeAllow
GetCannotAllowContentTypeException System.Exception
GetNotAllowedContentTypeExceptionOnCreate System.Exception
GetNotAllowedContentTypeExceptionOnMove System.Exception
SaveSameVersion void
SetAllowedChildTypes void
VersionSetup void

공개 메소드들

메소드 설명
AllowChildType ( ContentType contentType, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
AllowChildType ( string contentTypeName, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
AllowChildTypes ( IEnumerable contentTypes, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
AllowChildTypes ( IEnumerable contentTypeNames, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
Approve ( ) : void
CheckChildrenTypeConsistence ( ) : string
CheckIn ( ) : void
CheckOut ( ) : void
Delete ( ) : void
Delete ( bool bypassTrash ) : void
GenericContent ( Node parent, string nodeTypeName ) : System
GetAllowedChildTypeNames ( ) : IEnumerable
GetAllowedChildTypes ( ) : IEnumerable
GetApplication ( string actionName ) : NodeHead
GetAvailableFields ( ) : List
GetAvailableFields ( bool rootFields ) : List
GetChildren ( QuerySettings settings ) : QueryResult
GetChildren ( string text, QuerySettings settings ) : QueryResult
GetChildren ( string text, QuerySettings settings, bool getAllChildren ) : QueryResult
GetContentType ( ) : ContentType
GetIndexableFields ( ) : IEnumerable
GetProperty ( string name ) : object
IsAllowedChildType ( ContentType contentType ) : bool
IsAllowedChildType ( string contentTypeName ) : bool
MakeCopy ( Node target, string newName ) : Node
MoveTo ( Node target ) : void
Publish ( ) : void
Reject ( ) : void
Save ( ) : void
Save ( SavingMode mode ) : void
SetProperty ( string name, object value ) : void
ToString ( ) : string
UndoCheckOut ( ) : void
UndoCheckOut ( bool forceRefresh = true ) : void

보호된 메소드들

메소드 설명
CopyDynamicProperties ( Node target ) : void
GenericContent ( Node parent ) : System
GenericContent ( NodeToken nt ) : System
GetAvailableContentTypeFields ( ICollection availableFields ) : void
GetAvailableContentTypeFields ( ICollection availableFields, bool rootFields ) : void
GetFields ( ContentType contentType, ICollection availableFields, bool rootFields ) : void
Initialize ( ) : void

비공개 메소드들

메소드 설명
AssertAllowedChildType ( Node node, bool move = false ) : void
CheckAllowedChildType ( Node node ) : TypeAllow
GetCannotAllowContentTypeException ( ) : Exception
GetNotAllowedContentTypeExceptionOnCreate ( Node node, GenericContent parent ) : Exception
GetNotAllowedContentTypeExceptionOnMove ( Node node, GenericContent target ) : Exception
SaveSameVersion ( ) : void
SetAllowedChildTypes ( IEnumerable contentTypes, bool throwOnError = true, bool save = false ) : void
VersionSetup ( ) : void

메소드 상세

AllowChildType() 공개 메소드

public AllowChildType ( ContentType contentType, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
contentType SenseNet.ContentRepository.Schema.ContentType
setOnAncestorIfInherits bool
throwOnError bool
save bool
리턴 void

AllowChildType() 공개 메소드

public AllowChildType ( string contentTypeName, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
contentTypeName string
setOnAncestorIfInherits bool
throwOnError bool
save bool
리턴 void

AllowChildTypes() 공개 메소드

public AllowChildTypes ( IEnumerable contentTypes, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
contentTypes IEnumerable
setOnAncestorIfInherits bool
throwOnError bool
save bool
리턴 void

AllowChildTypes() 공개 메소드

public AllowChildTypes ( IEnumerable contentTypeNames, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
contentTypeNames IEnumerable
setOnAncestorIfInherits bool
throwOnError bool
save bool
리턴 void

Approve() 공개 메소드

public Approve ( ) : void
리턴 void

CheckChildrenTypeConsistence() 공개 메소드

public CheckChildrenTypeConsistence ( ) : string
리턴 string

CheckIn() 공개 메소드

public CheckIn ( ) : void
리턴 void

CheckOut() 공개 메소드

public CheckOut ( ) : void
리턴 void

CopyDynamicProperties() 보호된 메소드

protected CopyDynamicProperties ( Node target ) : void
target Node
리턴 void

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

Delete() 공개 메소드

public Delete ( bool bypassTrash ) : void
bypassTrash bool
리턴 void

GenericContent() 보호된 메소드

protected GenericContent ( Node parent ) : System
parent Node
리턴 System

GenericContent() 공개 메소드

public GenericContent ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
리턴 System

GenericContent() 보호된 메소드

protected GenericContent ( NodeToken nt ) : System
nt SenseNet.ContentRepository.Storage.NodeToken
리턴 System

GetAllowedChildTypeNames() 공개 메소드

public GetAllowedChildTypeNames ( ) : IEnumerable
리턴 IEnumerable

GetAllowedChildTypes() 공개 메소드

public GetAllowedChildTypes ( ) : IEnumerable
리턴 IEnumerable

GetApplication() 공개 메소드

public GetApplication ( string actionName ) : NodeHead
actionName string
리턴 SenseNet.ContentRepository.Storage.NodeHead

GetAvailableContentTypeFields() 보호된 메소드

protected GetAvailableContentTypeFields ( ICollection availableFields ) : void
availableFields ICollection
리턴 void

GetAvailableContentTypeFields() 보호된 메소드

protected GetAvailableContentTypeFields ( ICollection availableFields, bool rootFields ) : void
availableFields ICollection
rootFields bool
리턴 void

GetAvailableFields() 공개 메소드

public GetAvailableFields ( ) : List
리턴 List

GetAvailableFields() 공개 메소드

public GetAvailableFields ( bool rootFields ) : List
rootFields bool
리턴 List

GetChildren() 공개 메소드

public GetChildren ( QuerySettings settings ) : QueryResult
settings SenseNet.Search.QuerySettings
리턴 QueryResult

GetChildren() 공개 메소드

public GetChildren ( string text, QuerySettings settings ) : QueryResult
text string
settings SenseNet.Search.QuerySettings
리턴 QueryResult

GetChildren() 공개 메소드

public GetChildren ( string text, QuerySettings settings, bool getAllChildren ) : QueryResult
text string
settings SenseNet.Search.QuerySettings
getAllChildren bool
리턴 QueryResult

GetContentType() 공개 메소드

public GetContentType ( ) : ContentType
리턴 SenseNet.ContentRepository.Schema.ContentType

GetFields() 보호된 정적인 메소드

protected static GetFields ( ContentType contentType, ICollection availableFields, bool rootFields ) : void
contentType SenseNet.ContentRepository.Schema.ContentType
availableFields ICollection
rootFields bool
리턴 void

GetIndexableFields() 공개 메소드

public GetIndexableFields ( ) : IEnumerable
리턴 IEnumerable

GetProperty() 공개 메소드

public GetProperty ( string name ) : object
name string
리턴 object

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

IsAllowedChildType() 공개 메소드

public IsAllowedChildType ( ContentType contentType ) : bool
contentType SenseNet.ContentRepository.Schema.ContentType
리턴 bool

IsAllowedChildType() 공개 메소드

public IsAllowedChildType ( string contentTypeName ) : bool
contentTypeName string
리턴 bool

MakeCopy() 공개 메소드

public MakeCopy ( Node target, string newName ) : Node
target Node
newName string
리턴 Node

MoveTo() 공개 메소드

public MoveTo ( Node target ) : void
target Node
리턴 void

Publish() 공개 메소드

public Publish ( ) : void
리턴 void

Reject() 공개 메소드

public Reject ( ) : void
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

Save() 공개 메소드

public Save ( SavingMode mode ) : void
mode SavingMode
리턴 void

SetProperty() 공개 메소드

public SetProperty ( string name, object value ) : void
name string
value object
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UndoCheckOut() 공개 메소드

public UndoCheckOut ( ) : void
리턴 void

UndoCheckOut() 공개 메소드

public UndoCheckOut ( bool forceRefresh = true ) : void
forceRefresh bool
리턴 void