C# Class Sitecore.Modules.WeBlog.EventHandlers.SyncBucket

Mostra file Open project: WeTeam/WeBlog

Public Methods

Method Description
OnItemSaved ( object sender, EventArgs args ) : void

Protected Methods

Method Description
GetBucketRoot ( System.Item item ) : System.Item
GetDestinationFolderPath ( System.Item topParent, System.DateTime childItemCreationDateTime, System.Item itemToMove ) : string
IsAlreadyOnItsPlace ( System.Item itemToCheck, System.Item bucketRoot ) : bool

Private Methods

Method Description
IsPublish ( ) : bool

Method Details

GetBucketRoot() protected method

protected GetBucketRoot ( System.Item item ) : System.Item
item System.Item
return System.Item

GetDestinationFolderPath() protected method

protected GetDestinationFolderPath ( System.Item topParent, System.DateTime childItemCreationDateTime, System.Item itemToMove ) : string
topParent System.Item
childItemCreationDateTime System.DateTime
itemToMove System.Item
return string

IsAlreadyOnItsPlace() protected method

protected IsAlreadyOnItsPlace ( System.Item itemToCheck, System.Item bucketRoot ) : bool
itemToCheck System.Item
bucketRoot System.Item
return bool

OnItemSaved() public method

public OnItemSaved ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void