C# Class SenseNet.ContentRepository.SavingAction

Inheritance: SenseNet.ContentRepository.Storage.NodeSaveSettings
Show file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
Approve ( ) : void
CheckIn ( ) : void
CheckManageListPermission ( NodeType nodeType, Node targetNode ) : bool
CheckOut ( ) : void
CheckOutAndSave ( ) : void
CheckOutAndSaveAndCheckIn ( ) : void
ComputeNewVersion ( ) : VersionNumber
ComputeNewVersion ( bool hasApproving, VersioningMode versioningMode ) : VersionNumber
ComputeNewVersion ( bool hasApproving, VersioningType versioningMode ) : VersionNumber
Create ( Node node ) : SavingAction
Execute ( ) : void
HasApprove ( GenericContent node ) : bool
HasCheckIn ( Node node ) : bool
HasCheckOut ( GenericContent node ) : bool
HasForceUndoCheckOutRight ( Node content ) : bool
HasPublish ( GenericContent node ) : bool
HasReject ( GenericContent node ) : bool
HasSave ( GenericContent node ) : bool
HasUndoCheckOut ( GenericContent node ) : bool
Publish ( ) : void
Reject ( ) : void
SaveSameVersion ( ) : void
UndoCheckOut ( ) : void
UndoCheckOut ( bool forceRefresh = true ) : void

Private Methods

Method Description
AssertValidAction ( StateAction stateAction ) : void
Create ( ) : void
CreateForGenericContent ( GenericContent genericContent ) : SavingAction
CreateForNode ( Node node ) : SavingAction
DeleteVersionsAndApprove ( ) : void
DeleteVersionsAndPreserveLastWorking ( ) : void
GetLastApprovedOrRejectedVersion ( ) : NodeHead.NodeVersion
GetLastApprovedVersion ( ) : NodeHead.NodeVersion
GetLastWorkingVersions ( ) : IEnumerable
GetNewerVersions ( NodeHead version ) : List
GetNextNonpublicVersion ( VersionStatus status ) : VersionNumber
GetNextPublicVersion ( VersionNumber version, VersionStatus status ) : VersionNumber
GetNextPublicVersion ( VersionStatus status ) : VersionNumber
GetNextVersion ( VersionNumber version, VersionStatus status ) : VersionNumber
HasPermission ( StateAction stateAction ) : bool
IsCheckedOutByAnotherUser ( Node content ) : bool
SetNodeHead ( NodeHead head ) : void
ValidateAction ( StateAction stateAction ) : ActionValidationResult

Method Details

Approve() public method

public Approve ( ) : void
return void

CheckIn() public method

public CheckIn ( ) : void
return void

CheckManageListPermission() public static method

public static CheckManageListPermission ( NodeType nodeType, Node targetNode ) : bool
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
targetNode Node
return bool

CheckOut() public method

public CheckOut ( ) : void
return void

CheckOutAndSave() public method

public CheckOutAndSave ( ) : void
return void

CheckOutAndSaveAndCheckIn() public method

public CheckOutAndSaveAndCheckIn ( ) : void
return void

ComputeNewVersion() public method

public ComputeNewVersion ( ) : VersionNumber
return SenseNet.ContentRepository.Storage.VersionNumber

ComputeNewVersion() public static method

public static ComputeNewVersion ( bool hasApproving, VersioningMode versioningMode ) : VersionNumber
hasApproving bool
versioningMode VersioningMode
return SenseNet.ContentRepository.Storage.VersionNumber

ComputeNewVersion() public static method

public static ComputeNewVersion ( bool hasApproving, VersioningType versioningMode ) : VersionNumber
hasApproving bool
versioningMode VersioningType
return SenseNet.ContentRepository.Storage.VersionNumber

Create() public static method

public static Create ( Node node ) : SavingAction
node Node
return SavingAction

Execute() public method

public Execute ( ) : void
return void

HasApprove() public static method

public static HasApprove ( GenericContent node ) : bool
node GenericContent
return bool

HasCheckIn() public static method

public static HasCheckIn ( Node node ) : bool
node Node
return bool

HasCheckOut() public static method

public static HasCheckOut ( GenericContent node ) : bool
node GenericContent
return bool

HasForceUndoCheckOutRight() public static method

public static HasForceUndoCheckOutRight ( Node content ) : bool
content Node
return bool

HasPublish() public static method

public static HasPublish ( GenericContent node ) : bool
node GenericContent
return bool

HasReject() public static method

public static HasReject ( GenericContent node ) : bool
node GenericContent
return bool

HasSave() public static method

public static HasSave ( GenericContent node ) : bool
node GenericContent
return bool

HasUndoCheckOut() public static method

public static HasUndoCheckOut ( GenericContent node ) : bool
node GenericContent
return bool

Publish() public method

public Publish ( ) : void
return void

Reject() public method

public Reject ( ) : void
return void

SaveSameVersion() public method

public SaveSameVersion ( ) : void
return void

UndoCheckOut() public method

public UndoCheckOut ( ) : void
return void

UndoCheckOut() public method

public UndoCheckOut ( bool forceRefresh = true ) : void
forceRefresh bool
return void