Class 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 Detail

      • UpdateResourceAction

        public UpdateResourceAction()
    • 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)