More in this section
Forums / Developing with Sitefinity / What is the difference between IContentLifecycleManager and ILifecycleManager?

What is the difference between IContentLifecycleManager and ILifecycleManager?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Anton Mernov
    Anton Mernov avatar
    110 posts
    03 Dec 2008
    20 Aug 2011
    Link to this post
    Hi Guys,

    When I compiled my custom module for Sitefinity 4.2 I have got a lot of warnings which said that IContentLifecycleManager is now obsolete.

    I *do not* use Lifecycle features in my module. However, it is a requirement of ContentServiceBase. If a custom manager does not implement IContentLifecycleManager  there is no way to use it in the services based on ContentServiceBase.

    I'm wondering which interface I have to use in the custom ModuleManager class?

    Thanks in advance,
  2. Pavel Iliev
    Pavel Iliev avatar
    140 posts
    18 Jul 2016
    24 Aug 2011
    Link to this post
    Hi Anton,

    The main difference between ILifecycleManager and IContentLifecycleManager is that ILiecycleManager allows to have a multilingual lifecycle for non content based items. We've rewriten the ProductsModule in the SDK with ILifecycleManager. 
    About your module - you can create a module without lifecycle but it will require more work. Like you noticed the ContentServiceBase. Could you share more details about your module and is there any specific reason not have lifecycle?

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

2 posts, 0 answered