org.scrashmeow.ojb.console.service
Class FormServiceImpl

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.service.FormServiceImpl
All Implemented Interfaces:
FormService, java.io.Serializable

public class FormServiceImpl
extends java.lang.Object
implements FormService

The Form service. This service provides common functionality that that actions or forms may share.

Author:
Alexander Bibighaus
See Also:
Serialized Form

Constructor Summary
FormServiceImpl()
          Constructor for FormServiceImpl.
 
Method Summary
 java.lang.String buildValidatorFormName(java.lang.String formName, java.lang.String uid)
          Method buildValidatorFormName @add-javadoc!!!
 java.lang.String determineSelfLink(HttpServletRequest request)
          Method determineSelfLink @add-javadoc!!!
 java.util.Map determineSelfParams(HttpServletRequest request)
          Method determineSelfParams @add-javadoc!!!
 java.lang.String findClassDescriptorName(HttpServletRequest request)
          Method findClassDescriptorName @add-javadoc!!!
 java.util.Collection formDecodeIds(java.lang.String formValue)
          Method formDecodeIds @add-javadoc!!!
 java.lang.Object[] formDecodeIdsArray(java.lang.String formValue)
          Method formDecodeIdsArray @add-javadoc!!!
 java.lang.String formEncodeIds(java.util.Collection idValues)
          Method formEncodeIds @add-javadoc!!!
 java.lang.String formEncodeIdsArray(java.lang.Object[] idValues)
          Method formEncodeIdsArray @add-javadoc!!!
 void setBreadcrumbs(HttpServletRequest request, Breadcrumbs crumbs)
          Method setBreadcrumbs @add-javadoc!!!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormServiceImpl

public FormServiceImpl()
Constructor for FormServiceImpl.

Method Detail

buildValidatorFormName

public java.lang.String buildValidatorFormName(java.lang.String formName,
                                               java.lang.String uid)
                                        throws ServiceException
Method buildValidatorFormName @add-javadoc!!!

Specified by:
buildValidatorFormName in interface FormService
Parameters:
formName - @add-javadoc!!!
uid - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

findClassDescriptorName

public java.lang.String findClassDescriptorName(HttpServletRequest request)
                                         throws ServiceException
Description copied from interface: FormService
Method findClassDescriptorName @add-javadoc!!!

Specified by:
findClassDescriptorName in interface FormService
Parameters:
request - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!
See Also:
org.scrashmeow.ojb.console.service.RequestService#findClassDescriptorName(HttpServletRequest)

formDecodeIds

public java.util.Collection formDecodeIds(java.lang.String formValue)
                                   throws ServiceException
Method formDecodeIds @add-javadoc!!!

Specified by:
formDecodeIds in interface FormService
Parameters:
formValue - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

formDecodeIdsArray

public java.lang.Object[] formDecodeIdsArray(java.lang.String formValue)
                                      throws ServiceException
Method formDecodeIdsArray @add-javadoc!!!

Specified by:
formDecodeIdsArray in interface FormService
Parameters:
formValue - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

formEncodeIdsArray

public java.lang.String formEncodeIdsArray(java.lang.Object[] idValues)
                                    throws ServiceException
Method formEncodeIdsArray @add-javadoc!!!

Specified by:
formEncodeIdsArray in interface FormService
Parameters:
idValues - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

formEncodeIds

public java.lang.String formEncodeIds(java.util.Collection idValues)
                               throws ServiceException
Method formEncodeIds @add-javadoc!!!

Specified by:
formEncodeIds in interface FormService
Parameters:
idValues - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

determineSelfLink

public java.lang.String determineSelfLink(HttpServletRequest request)
                                   throws ServiceException
Method determineSelfLink @add-javadoc!!!

Specified by:
determineSelfLink in interface FormService
Parameters:
request - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

determineSelfParams

public java.util.Map determineSelfParams(HttpServletRequest request)
                                  throws ServiceException
Method determineSelfParams @add-javadoc!!!

Specified by:
determineSelfParams in interface FormService
Parameters:
request - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

setBreadcrumbs

public void setBreadcrumbs(HttpServletRequest request,
                           Breadcrumbs crumbs)
                    throws ServiceException
Method setBreadcrumbs @add-javadoc!!!

Specified by:
setBreadcrumbs in interface FormService
Parameters:
request - @add-javadoc!!!
crumbs - @add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.