001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software, please see the 018 * company website: http://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: http://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.gwt.shared; 029 030import com.google.web.bindery.autobean.shared.AutoBean; 031import com.google.web.bindery.autobean.shared.AutoBeanFactory; 032 033/** 034 * General AutoBean factory interface. 035 */ 036public interface I_CmsAutoBeanFactory extends AutoBeanFactory { 037 038 /** 039 * Creates a new AutoBean.<p> 040 * 041 * @return the created AutoBean 042 */ 043 AutoBean<I_CmsContentLoadCollectorInfo> createCollectorInfo(); 044 045 /** 046 * Creates a new configuration AutoBean. 047 * 048 * @return the new configuration bean 049 */ 050 AutoBean<I_CmsCodeMirrorClientConfiguration> createConfiguration(); 051 052 /** 053 * Creates a new dialog info AutoBean. 054 * 055 * @return the new bean 056 */ 057 AutoBean<I_CmsEmbeddedDialogInfo> createDialogInfo(); 058 059 /** 060 * Creates a new instance. 061 * 062 * @return the new instance 063 */ 064 AutoBean<I_CmsEditableDataExtensions> createExtensions(); 065 066 /** 067 * Creates an I_CmsListAddMetadat AutoBean. 068 * 069 * @return the bean 070 */ 071 AutoBean<I_CmsListAddMetadata> createListAddMetadata(); 072 073 /** 074 * Creates a new unlock data instance. 075 * 076 * @return the unlock data 077 */ 078 AutoBean<I_CmsUnlockData> unlockData(); 079 080 /** 081 * Creates an AutoBean wrapping an object.<p> 082 * 083 * @param info the object to wrap 084 * 085 * @return the AutoBean wrapper 086 */ 087 AutoBean<I_CmsContentLoadCollectorInfo> wrapCollectorInfo(I_CmsContentLoadCollectorInfo info); 088 089 /** 090 * Wraps an instance. 091 * 092 * @param data the bean to wrap 093 * 094 * @return the new wrapper 095 */ 096 AutoBean<I_CmsEditableDataExtensions> wrapExtensions(I_CmsEditableDataExtensions data); 097 098}