C# Class SenseNet.ContentRepository.SavingAction

Inheritance: SenseNet.ContentRepository.Storage.NodeSaveSettings
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Approve ( ) : void
Résultat void

CheckIn() public méthode

public CheckIn ( ) : void
Résultat void

CheckManageListPermission() public static méthode

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

CheckOut() public méthode

public CheckOut ( ) : void
Résultat void

CheckOutAndSave() public méthode

public CheckOutAndSave ( ) : void
Résultat void

CheckOutAndSaveAndCheckIn() public méthode

public CheckOutAndSaveAndCheckIn ( ) : void
Résultat void

ComputeNewVersion() public méthode

public ComputeNewVersion ( ) : VersionNumber
Résultat SenseNet.ContentRepository.Storage.VersionNumber

ComputeNewVersion() public static méthode

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

ComputeNewVersion() public static méthode

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

Create() public static méthode

public static Create ( Node node ) : SavingAction
node Node
Résultat SavingAction

Execute() public méthode

public Execute ( ) : void
Résultat void

HasApprove() public static méthode

public static HasApprove ( GenericContent node ) : bool
node GenericContent
Résultat bool

HasCheckIn() public static méthode

public static HasCheckIn ( Node node ) : bool
node Node
Résultat bool

HasCheckOut() public static méthode

public static HasCheckOut ( GenericContent node ) : bool
node GenericContent
Résultat bool

HasForceUndoCheckOutRight() public static méthode

public static HasForceUndoCheckOutRight ( Node content ) : bool
content Node
Résultat bool

HasPublish() public static méthode

public static HasPublish ( GenericContent node ) : bool
node GenericContent
Résultat bool

HasReject() public static méthode

public static HasReject ( GenericContent node ) : bool
node GenericContent
Résultat bool

HasSave() public static méthode

public static HasSave ( GenericContent node ) : bool
node GenericContent
Résultat bool

HasUndoCheckOut() public static méthode

public static HasUndoCheckOut ( GenericContent node ) : bool
node GenericContent
Résultat bool

Publish() public méthode

public Publish ( ) : void
Résultat void

Reject() public méthode

public Reject ( ) : void
Résultat void

SaveSameVersion() public méthode

public SaveSameVersion ( ) : void
Résultat void

UndoCheckOut() public méthode

public UndoCheckOut ( ) : void
Résultat void

UndoCheckOut() public méthode

public UndoCheckOut ( bool forceRefresh = true ) : void
forceRefresh bool
Résultat void