Class WebRecommendationProviderBuilder


  • public class WebRecommendationProviderBuilder
    extends java.lang.Object
    Build a WebRecommendationProvider using the builder pattern For example you can do WebRecommendationProvider webRecommendationProvider = new WebRecommendationProviderBuilder() .session(iServerSession) .sourceObjectId(OBJECT_ID) .sourceObjectProjectId(PROJECT_ID) .blockBegin(0) .blockCount(10) .build(); Note that build will throw a meaningful WebObjectsException if you did not set a field properly