001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.dynamicdatamapping.model;
016    
017    import com.liferay.portal.model.PersistedModel;
018    
019    /**
020     * The extended model interface for the DDMStructure service. Represents a row in the "DDMStructure" database table, with each column mapped to a property of this class.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DDMStructureModel
024     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl
025     * @see com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
026     * @generated
027     */
028    public interface DDMStructure extends DDMStructureModel, PersistedModel {
029            /*
030             * NOTE FOR DEVELOPERS:
031             *
032             * Never modify this interface directly. Add methods to {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
033             */
034            public java.util.List<java.lang.String> getAvailableLocales();
035    
036            public java.lang.String getDefaultLocale();
037    
038            public com.liferay.portal.kernel.xml.Document getDocument();
039    
040            public java.lang.String getFieldDataType(java.lang.String fieldName);
041    
042            public boolean getFieldDisplayChildLabelAsValue(java.lang.String fieldName);
043    
044            public java.lang.String getFieldLabel(java.lang.String fieldName,
045                    java.util.Locale locale);
046    
047            public java.lang.String getFieldLabel(java.lang.String fieldName,
048                    java.lang.String locale);
049    
050            public java.util.Set<java.lang.String> getFieldNames();
051    
052            public java.lang.String getFieldProperty(java.lang.String fieldName,
053                    java.lang.String property);
054    
055            public java.lang.String getFieldProperty(java.lang.String fieldName,
056                    java.lang.String property, java.lang.String locale);
057    
058            public boolean getFieldRequired(java.lang.String fieldName);
059    
060            public java.util.Map<java.lang.String, java.lang.String> getFields(
061                    java.lang.String fieldName, java.lang.String attributeName,
062                    java.lang.String attributeValue);
063    
064            public java.util.Map<java.lang.String, java.lang.String> getFields(
065                    java.lang.String fieldName, java.lang.String attributeName,
066                    java.lang.String attributeValue, java.lang.String locale);
067    
068            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap();
069    
070            public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
071                    java.lang.String locale);
072    
073            public java.lang.String getFieldType(java.lang.String fieldName);
074    
075            public boolean hasField(java.lang.String fieldName);
076    
077            public void setDocument(com.liferay.portal.kernel.xml.Document document);
078    
079            public void setFieldsMap(
080                    java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> fieldsMap);
081    
082            public void setXsd(java.lang.String xsd);
083    }