org.ow2.dragon.ui.uibeans.deployment
Class ListOfEndpointsBean
java.lang.Object
org.ow2.dragon.ui.uibeans.deployment.ListOfEndpointsBean
public class ListOfEndpointsBean
- extends java.lang.Object
This bean holds a list of endpoints.
It is initialized either by loading all technical services from the database,
or by searching endpoints by name or ever.
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 |
ListOfEndpointsBean
public ListOfEndpointsBean()
getTag
public java.lang.String getTag()
- Returns:
- the tag.
setTag
public void setTag(java.lang.String tag)
- Parameters:
tag - the tag to set
getEndpoints
public java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> getEndpoints()
- Returns:
- the list of the endpoints after the search.
loadEndpointsByTag
public java.lang.String loadEndpointsByTag(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
removeTagFromEndpoint
public java.lang.String removeTagFromEndpoint(javax.servlet.http.HttpServletRequest request)
throws org.ow2.opensuit.core.error.LocalizedError
- Parameters:
request - contains the parameters Tag and endpointId, representing each
the tag name and the endpoint we want to remove the tag from.
- Returns:
- "success"
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadAll
public void loadAll()
throws org.ow2.opensuit.core.error.LocalizedError
- Loads all organizations from the database
- Throws:
org.ow2.opensuit.core.error.LocalizedError
loadByTechService
public java.util.List<org.ow2.dragon.api.to.deployment.EndpointTO> loadByTechService()
throws org.ow2.opensuit.core.error.LocalizedError
- Throws:
org.ow2.opensuit.core.error.LocalizedError
getSearchCriteria
public java.lang.String getSearchCriteria()
setSearchCriteria
public void setSearchCriteria(java.lang.String searchCriteria)
isSearchOnName
public boolean isSearchOnName()
setSearchOnName
public void setSearchOnName(boolean isSearchOnName)
isSearchOnService
public boolean isSearchOnService()
setSearchOnService
public void setSearchOnService(boolean isSearchOnService)
isSearchOnProvider
public boolean isSearchOnProvider()
setSearchOnProvider
public void setSearchOnProvider(boolean isSearchOnProvider)
Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.