Package org.gluu.oxtrust.action.uma
Class UpdateUmaScopeAction
- java.lang.Object
-
- org.gluu.oxtrust.action.uma.UpdateUmaScopeAction
-
- All Implemented Interfaces:
java.io.Serializable
@Named("updateUmaScopeAction") @ConversationScoped @Secure("#{permissionService.hasPermission(\'uma\', \'access\')}") public class UpdateUmaScopeAction extends java.lang.Object implements java.io.Serializable
Action class for view and update UMA resource- Author:
- Yuriy Movchan Date: 11/21/2012
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected UmaScopeService
scopeDescriptionService
-
Constructor Summary
Constructors Constructor Description UpdateUmaScopeAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptSelectAuthorizationPolicies()
java.lang.String
add()
void
addAuthorizationPolicy(org.gluu.model.custom.script.model.CustomScript addAuthorizationPolicy)
java.lang.String
cancel()
void
cancelSelectAuthorizationPolicies()
java.lang.String
delete()
java.util.List<org.gluu.model.custom.script.model.CustomScript>
getAuthorizationPolicies()
java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>>
getAvailableAuthorizationPolicies()
java.util.List<OxAuthClient>
getClientList()
java.lang.String
getIconImageSourceName()
byte[]
getIconImageThumbData()
java.lang.String
getOxAttributesJson()
java.lang.String
getScopeInum()
org.oxauth.persistence.model.Scope
getUmaScope()
boolean
isIconExist()
boolean
isUpdate()
void
removeAuthorizationPolicy(org.gluu.model.custom.script.model.CustomScript removeAuthorizationPolicy)
void
removeIconImage()
java.lang.String
save()
void
searchAvailableAuthorizationPolicies()
void
setClientList(java.util.List<OxAuthClient> clientList)
void
setIconImage(org.richfaces.event.FileUploadEvent event)
void
setOxAttributesJson(java.lang.String oxAttributesJson)
void
setScopeInum(java.lang.String scopeInum)
void
setUmaScope(org.oxauth.persistence.model.Scope umaScope)
java.lang.String
update()
-
-
-
Field Detail
-
scopeDescriptionService
@Inject protected UmaScopeService scopeDescriptionService
-
-
Method Detail
-
getClientList
public java.util.List<OxAuthClient> getClientList()
-
setClientList
public void setClientList(java.util.List<OxAuthClient> clientList)
-
add
public java.lang.String add()
-
update
public java.lang.String update()
-
cancel
public java.lang.String cancel()
-
save
public java.lang.String save() throws java.lang.Exception
- Throws:
java.lang.Exception
-
delete
public java.lang.String delete()
-
removeIconImage
public void removeIconImage()
-
setIconImage
public void setIconImage(org.richfaces.event.FileUploadEvent event)
-
getIconImageThumbData
public byte[] getIconImageThumbData()
-
getIconImageSourceName
public java.lang.String getIconImageSourceName()
-
isIconExist
public boolean isIconExist()
-
acceptSelectAuthorizationPolicies
public void acceptSelectAuthorizationPolicies()
-
cancelSelectAuthorizationPolicies
public void cancelSelectAuthorizationPolicies()
-
addAuthorizationPolicy
public void addAuthorizationPolicy(org.gluu.model.custom.script.model.CustomScript addAuthorizationPolicy)
-
removeAuthorizationPolicy
public void removeAuthorizationPolicy(org.gluu.model.custom.script.model.CustomScript removeAuthorizationPolicy)
-
searchAvailableAuthorizationPolicies
public void searchAvailableAuthorizationPolicies()
-
isUpdate
public boolean isUpdate()
-
getScopeInum
public java.lang.String getScopeInum()
-
setScopeInum
public void setScopeInum(java.lang.String scopeInum)
-
getUmaScope
public org.oxauth.persistence.model.Scope getUmaScope()
-
setUmaScope
public void setUmaScope(org.oxauth.persistence.model.Scope umaScope)
-
getAvailableAuthorizationPolicies
public java.util.List<org.gluu.model.SelectableEntity<org.gluu.model.custom.script.model.CustomScript>> getAvailableAuthorizationPolicies()
-
getAuthorizationPolicies
public java.util.List<org.gluu.model.custom.script.model.CustomScript> getAuthorizationPolicies()
-
getOxAttributesJson
public java.lang.String getOxAttributesJson()
-
setOxAttributesJson
public void setOxAttributesJson(java.lang.String oxAttributesJson)
-
-