|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RestGlobalVariableService
REST service layer to handler global variable operations
Method Summary | |
---|---|
RestGlobalVariable |
createGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
RestGlobalVariable restGlobalVariable)
Create a global variable |
void |
deleteGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId)
Delete a global variable |
RestGlobalVariable |
getGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId)
Retrieve a global variable definition |
RestGlobalVariables |
getGlobalVariables(javax.ws.rs.core.UriInfo uriInfo)
Retrieve all global variables and values on bamboo server Password variables will be encrypted using salted hash. |
RestGlobalVariable |
updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo,
long variableId,
RestGlobalVariable restGlobalVariable)
Update a global variable |
Method Detail |
---|
RestGlobalVariables getGlobalVariables(javax.ws.rs.core.UriInfo uriInfo)
uriInfo
- Object that provides access to information of http request
for how encryption is performed
RestGlobalVariable getGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId)
uriInfo
- Object that provides access to information of httpvariableId
- id fo the variable
RestGlobalVariable createGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, RestGlobalVariable restGlobalVariable) throws WebValidationException
uriInfo
- Object that provides access to information of http requestrestGlobalVariable
- The global variable to be created
WebValidationException
- If some parameter is illegal, e.g. empty variable name, illegal characters in variable name, etc.void deleteGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId)
uriInfo
- Object that provides access to information of http requestvariableId
- Id of the variable to be removedRestGlobalVariable updateGlobalVariable(javax.ws.rs.core.UriInfo uriInfo, long variableId, RestGlobalVariable restGlobalVariable) throws WebValidationException
uriInfo
- Object that provides access to information of http requestvariableId
- Id of the variable to be updatedrestGlobalVariable
- New name/value of the global variable
WebValidationException
- If the name/value is invalid, e.g. exceeds max value length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |