001
014
015 package com.liferay.portlet.dynamicdatamapping.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.model.PersistedModel;
020
021
030 @ProviderType
031 public interface DDMStructure extends DDMStructureModel, PersistedModel {
032
037 public java.util.List<java.lang.String> getChildrenFieldNames(
038 java.lang.String fieldName)
039 throws com.liferay.portal.kernel.exception.PortalException,
040 com.liferay.portal.kernel.exception.SystemException;
041
042 public java.lang.String getCompleteXsd()
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException;
045
046 public com.liferay.portal.kernel.xml.Document getDocument();
047
048 public java.lang.String getFieldDataType(java.lang.String fieldName)
049 throws com.liferay.portal.kernel.exception.PortalException,
050 com.liferay.portal.kernel.exception.SystemException;
051
052 public java.lang.String getFieldLabel(java.lang.String fieldName,
053 java.util.Locale locale)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException;
056
057 public java.lang.String getFieldLabel(java.lang.String fieldName,
058 java.lang.String locale)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.Set<java.lang.String> getFieldNames()
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException;
065
066 public java.lang.String getFieldProperty(java.lang.String fieldName,
067 java.lang.String property)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 public java.lang.String getFieldProperty(java.lang.String fieldName,
072 java.lang.String property, java.lang.String locale)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 public boolean getFieldRepeatable(java.lang.String fieldName)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException;
079
080 public boolean getFieldRequired(java.lang.String fieldName)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.Map<java.lang.String, java.lang.String> getFields(
085 java.lang.String fieldName, java.lang.String attributeName,
086 java.lang.String attributeValue);
087
088 public java.util.Map<java.lang.String, java.lang.String> getFields(
089 java.lang.String fieldName, java.lang.String attributeName,
090 java.lang.String attributeValue, java.lang.String locale);
091
092 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap()
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException;
095
096 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
097 boolean includeTransientFields)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
102 java.lang.String locale)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getFieldsMap(
107 java.lang.String locale, boolean includeTransientFields)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException;
110
111 public java.lang.String getFieldTip(java.lang.String fieldName,
112 java.util.Locale locale)
113 throws com.liferay.portal.kernel.exception.PortalException,
114 com.liferay.portal.kernel.exception.SystemException;
115
116 public java.lang.String getFieldTip(java.lang.String fieldName,
117 java.lang.String locale)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException;
120
121 public java.lang.String getFieldType(java.lang.String fieldName)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedFieldsMap();
126
127 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedPersistentFieldsMap();
128
129 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> getLocalizedTransientFieldsMap();
130
131 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getPersistentFieldsMap(
132 java.lang.String locale)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<java.lang.String> getRootFieldNames()
137 throws com.liferay.portal.kernel.exception.PortalException,
138 com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates()
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>> getTransientFieldsMap(
144 java.lang.String locale)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException;
147
148
157 public java.lang.String getWebDavURL(
158 com.liferay.portal.theme.ThemeDisplay themeDisplay,
159 java.lang.String webDAVToken);
160
161 public boolean hasField(java.lang.String fieldName)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException;
164
165 public boolean isFieldPrivate(java.lang.String fieldName)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169 public boolean isFieldRepeatable(java.lang.String fieldName)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException;
172
173 public boolean isFieldTransient(java.lang.String fieldName)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException;
176
177 public void setDocument(com.liferay.portal.kernel.xml.Document document);
178
179 public void setLocalizedFieldsMap(
180 java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedFieldsMap);
181
182 public void setLocalizedPersistentFieldsMap(
183 java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedPersistentFieldsMap);
184
185 public void setLocalizedTransientFieldsMap(
186 java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.lang.String>>> localizedTransientFieldsMap);
187 }