Package org.gluu.oxtrust.action.uma
Class UpdateResourceAction
- java.lang.Object
-
- org.gluu.oxtrust.action.uma.UpdateResourceAction
-
- All Implemented Interfaces:
java.io.Serializable
@ConversationScoped @Named @Secure("#{permissionService.hasPermission(\'uma\', \'access\')}") public class UpdateResourceAction extends java.lang.Object implements java.io.Serializable
Action class for view and update resource sets- Author:
- Yuriy Movchan Date: 11/21/2012
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateResourceAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptResource()
void
acceptSelectClients()
void
acceptSelectScopes()
void
addClient(OxAuthClient client)
void
addScope(org.oxauth.persistence.model.Scope scope)
java.lang.String
cancel()
void
cancelResource()
void
cancelSelectClients()
void
cancelSelectScopes()
java.lang.String
delete()
void
destroy()
java.util.List<org.gluu.model.SelectableEntity<OxAuthClient>>
getAvailableClients()
java.util.List<org.gluu.model.SelectableEntity<org.oxauth.persistence.model.Scope>>
getAvailableScopes()
java.util.List<OxAuthClient>
getClientList()
java.util.List<org.gluu.model.DisplayNameEntry>
getClients()
java.lang.String
getNewResource()
java.lang.String
getOxId()
org.gluu.oxauth.model.uma.persistence.UmaResource
getResource()
java.util.List<java.lang.String>
getResources()
java.util.List<org.gluu.model.DisplayNameEntry>
getScopes()
java.lang.String
getScopeSelection()
java.lang.String
getSearchAvailableClientPattern()
java.lang.String
getSearchAvailableScopePattern()
boolean
isUpdate()
java.lang.String
modify()
void
removeClient(java.lang.String inum)
void
removeResource(java.lang.String resource)
void
removeScope(java.lang.String inum)
java.lang.String
save()
void
searchAvailableClients()
void
searchAvailableScopes()
void
selectAddedClients()
void
selectAddedScopes()
void
setClientList(java.util.List<OxAuthClient> clientList)
void
setNewResource(java.lang.String newResource)
void
setOxId(java.lang.String oxId)
void
setScopeSelection(java.lang.String scopeSelection)
void
setSearchAvailableClientPattern(java.lang.String searchAvailableClientPattern)
void
setSearchAvailableScopePattern(java.lang.String searchAvailableScopePattern)
-
-
-
Method Detail
-
getClientList
public java.util.List<OxAuthClient> getClientList()
-
setClientList
public void setClientList(java.util.List<OxAuthClient> clientList)
-
getScopeSelection
public java.lang.String getScopeSelection()
-
setScopeSelection
public void setScopeSelection(java.lang.String scopeSelection)
-
modify
public java.lang.String modify()
-
cancel
public java.lang.String cancel()
-
save
public java.lang.String save()
-
delete
public java.lang.String delete()
-
destroy
@PreDestroy public void destroy() throws java.lang.Exception
- Throws:
java.lang.Exception
-
searchAvailableScopes
public void searchAvailableScopes()
-
selectAddedScopes
public void selectAddedScopes()
-
acceptSelectScopes
public void acceptSelectScopes()
-
cancelSelectScopes
public void cancelSelectScopes()
-
addScope
public void addScope(org.oxauth.persistence.model.Scope scope)
-
removeScope
public void removeScope(java.lang.String inum)
-
searchAvailableClients
public void searchAvailableClients()
-
selectAddedClients
public void selectAddedClients()
-
acceptSelectClients
public void acceptSelectClients()
-
cancelSelectClients
public void cancelSelectClients()
-
addClient
public void addClient(OxAuthClient client)
-
removeClient
public void removeClient(java.lang.String inum)
-
acceptResource
public void acceptResource()
-
cancelResource
public void cancelResource()
-
removeResource
public void removeResource(java.lang.String resource)
-
isUpdate
public boolean isUpdate()
-
getResource
public org.gluu.oxauth.model.uma.persistence.UmaResource getResource()
-
getScopes
public java.util.List<org.gluu.model.DisplayNameEntry> getScopes()
-
getAvailableScopes
public java.util.List<org.gluu.model.SelectableEntity<org.oxauth.persistence.model.Scope>> getAvailableScopes()
-
getSearchAvailableScopePattern
public java.lang.String getSearchAvailableScopePattern()
-
setSearchAvailableScopePattern
public void setSearchAvailableScopePattern(java.lang.String searchAvailableScopePattern)
-
getClients
public java.util.List<org.gluu.model.DisplayNameEntry> getClients()
-
getAvailableClients
public java.util.List<org.gluu.model.SelectableEntity<OxAuthClient>> getAvailableClients()
-
getSearchAvailableClientPattern
public java.lang.String getSearchAvailableClientPattern()
-
setSearchAvailableClientPattern
public void setSearchAvailableClientPattern(java.lang.String searchAvailableClientPattern)
-
getNewResource
public java.lang.String getNewResource()
-
setNewResource
public void setNewResource(java.lang.String newResource)
-
getResources
public java.util.List<java.lang.String> getResources()
-
getOxId
public java.lang.String getOxId()
-
setOxId
public void setOxId(java.lang.String oxId)
-
-