com.liferay.portlet.dynamicdatamapping.util
Class DDMImpl
java.lang.Object
com.liferay.portlet.dynamicdatamapping.util.DDMImpl
- All Implemented Interfaces:
- DDM
public class DDMImpl
- extends Object
- implements DDM
Method Summary |
Fields |
getFields(long ddmStructureId,
long ddmTemplateId,
ServiceContext serviceContext)
|
Fields |
getFields(long ddmStructureId,
long ddmTemplateId,
String fieldNamespace,
ServiceContext serviceContext)
|
Fields |
getFields(long ddmStructureId,
ServiceContext serviceContext)
|
Fields |
getFields(long ddmStructureId,
String fieldNamespace,
ServiceContext serviceContext)
|
String |
getFileUploadPath(BaseModel<?> baseModel)
|
void |
sendFieldFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Field field)
|
protected String |
storeFieldFile(BaseModel<?> baseModel,
String fieldName,
InputStream inputStream,
ServiceContext serviceContext)
|
String |
uploadFieldFile(long structureId,
long storageId,
BaseModel<?> baseModel,
String fieldName,
ServiceContext serviceContext)
|
String |
uploadFieldFile(long structureId,
long storageId,
BaseModel<?> baseModel,
String fieldName,
String fieldNamespace,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_CHECKBOX
public static final String TYPE_CHECKBOX
- See Also:
- Constant Field Values
TYPE_DDM_DOCUMENTLIBRARY
public static final String TYPE_DDM_DOCUMENTLIBRARY
- See Also:
- Constant Field Values
TYPE_DDM_FILEUPLOAD
public static final String TYPE_DDM_FILEUPLOAD
- See Also:
- Constant Field Values
TYPE_RADIO
public static final String TYPE_RADIO
- See Also:
- Constant Field Values
TYPE_SELECT
public static final String TYPE_SELECT
- See Also:
- Constant Field Values
DDMImpl
public DDMImpl()
getFields
public Fields getFields(long ddmStructureId,
long ddmTemplateId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
getFields
in interface DDM
- Throws:
PortalException
SystemException
getFields
public Fields getFields(long ddmStructureId,
long ddmTemplateId,
String fieldNamespace,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
getFields
in interface DDM
- Throws:
PortalException
SystemException
getFields
public Fields getFields(long ddmStructureId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
getFields
in interface DDM
- Throws:
PortalException
SystemException
getFields
public Fields getFields(long ddmStructureId,
String fieldNamespace,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
getFields
in interface DDM
- Throws:
PortalException
SystemException
getFileUploadPath
public String getFileUploadPath(BaseModel<?> baseModel)
- Specified by:
getFileUploadPath
in interface DDM
sendFieldFile
public void sendFieldFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Field field)
throws Exception
- Specified by:
sendFieldFile
in interface DDM
- Throws:
Exception
uploadFieldFile
public String uploadFieldFile(long structureId,
long storageId,
BaseModel<?> baseModel,
String fieldName,
ServiceContext serviceContext)
throws Exception
- Specified by:
uploadFieldFile
in interface DDM
- Throws:
Exception
uploadFieldFile
public String uploadFieldFile(long structureId,
long storageId,
BaseModel<?> baseModel,
String fieldName,
String fieldNamespace,
ServiceContext serviceContext)
throws Exception
- Specified by:
uploadFieldFile
in interface DDM
- Throws:
Exception
storeFieldFile
protected String storeFieldFile(BaseModel<?> baseModel,
String fieldName,
InputStream inputStream,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException