org.ow2.dragon.ui.uibeans.deployment
Class ListOfTechnicalServicesBean
java.lang.Object
org.ow2.dragon.ui.uibeans.deployment.ListOfTechnicalServicesBean
public class ListOfTechnicalServicesBean
- extends java.lang.Object
This bean holds a list of technical services.
It is initialized either by loading all technical services from the database,
or by searching technical services by name.
This version of the bean performs the search when loading, then lets the
framework manage sort and pagination. This design may only be used if you're
sure the amount of data is "reasonable" and under control.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListOfTechnicalServicesBean
public ListOfTechnicalServicesBean()
getTag
public java.lang.String getTag()
- Returns:
- the tag.
setTag
public void setTag(java.lang.String tag)
- Parameters:
tag - the tag to set
loadServicesByTag
public java.lang.String loadServicesByTag(javax.servlet.http.HttpServletRequest request)
throws org.ow2.opensuit.core.error.LocalizedError
- Parameters:
request - contains the parameter Tag which is associated with the name
of the tag.
- Returns:
- "success"
- Throws:
org.ow2.opensuit.core.error.LocalizedError
removeTagFromService
public java.lang.String removeTagFromService(javax.servlet.http.HttpServletRequest request)
throws org.ow2.opensuit.core.error.LocalizedError
- Parameters:
request - contains the parameters Tag and serviceId, representing each
the tag name and the technical service we want to remove the
tag from.
- Returns:
- "success"
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadAll
public java.lang.String loadAll()
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
reset
public void reset()
loadNew
public java.lang.String loadNew()
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadNew
public java.lang.String loadNew(java.lang.String[] serviceIds)
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadNew
public void loadNew(org.ow2.opensuit.core.impl.multiparts.IFileUploadPart file)
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadNewFromFile
public java.lang.String loadNewFromFile()
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
search
public void search(javax.servlet.http.HttpServletRequest request)
throws org.ow2.opensuit.core.error.LocalizedError
- Searches organizations by business domain, location, name, type
- Throws:
org.ow2.opensuit.core.error.LocalizedError
getSearchCriteria
public java.lang.String getSearchCriteria()
- Returns:
- the searchCriteria
getTechServices
public java.util.List<org.ow2.dragon.api.to.deployment.TechnicalServiceTO> getTechServices()
setTechServices
public void setTechServices(java.util.List<org.ow2.dragon.api.to.deployment.TechnicalServiceTO> techServices)
setSearchCriteria
public void setSearchCriteria(java.lang.String searchCriteria)
- Parameters:
searchCriteria - the searchCriteria to set
getFileDescriptionURL
public java.lang.String getFileDescriptionURL()
- Returns:
- the fileDescriptionURL
setFileDescriptionURL
public void setFileDescriptionURL(java.lang.String fileDescriptionURL)
- Parameters:
fileDescriptionURL - the fileDescriptionURL to set
getSearchedProperties
public java.util.List<java.lang.String> getSearchedProperties()
setSearchedProperties
public void setSearchedProperties(java.util.List<java.lang.String> searchedProperties)
getServiceIds
public java.lang.String[] getServiceIds()
setServiceIds
public void setServiceIds(java.lang.String[] serviceIds)
getFileDescriptionName
public java.lang.String getFileDescriptionName()
- Returns:
- the fileDescriptionName
setFileDescriptionName
public void setFileDescriptionName(java.lang.String fileDescriptionName)
- Parameters:
fileDescriptionName - the fileDescriptionName to set
Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.