Package com.agiletec.plugins.jacms.aps.system.services.content

Examples of com.agiletec.plugins.jacms.aps.system.services.content.IContentManager


  }
 
  private void init() throws Exception {
    try {
      this._rssManager = (IRssManager) this.getService(JpRssSystemConstants.RSS_MANAGER);
      IContentManager contentManager = (IContentManager) this.getService(JacmsSystemConstants.CONTENT_MANAGER);
      Content contentType = contentManager.createContentType("ART");
      AttributeInterface titolo = (AttributeInterface) contentType.getAttribute("Titolo");
      String[] roles = {JpRssSystemConstants.ATTRIBUTE_ROLE_RSS_CONTENT_TITLE};
      titolo.setRoles(roles);
      ((IEntityTypesConfigurer) contentManager).updateEntityPrototype(contentType);
      this.waitNotifyingThread();
View Full Code Here


          this.getRssManager().deleteChannel(current.getId());
        }
      }
      channels = this.getRssManager().getChannels(Channel.STATUS_ALL);
      assertTrue(channels.isEmpty());
      IContentManager contentManager = (IContentManager) this.getService(JacmsSystemConstants.CONTENT_MANAGER);
      Content contentType = contentManager.createContentType("ART");
      AttributeInterface titolo = (AttributeInterface) contentType.getAttribute("Titolo");
      String[] roles = {JpRssSystemConstants.ATTRIBUTE_ROLE_RSS_CONTENT_TITLE};
      titolo.setRoles(roles);
      ((IEntityTypesConfigurer) contentManager).updateEntityPrototype(contentType);
      this.waitNotifyingThread();
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jacms.aps.system.services.content.IContentManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.