public class ExternalAccessTransformerWrapper extends Object implements ExternalAccessTransformer
Constructor and Description |
---|
ExternalAccessTransformerWrapper() |
ExternalAccessTransformerWrapper(org.apache.commons.collections.Transformer transformer) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizableId()
When auto detecting
Authorizable objects, should the id of this instance be added to the list |
Boolean |
getAuthorizableIdAssignable()
Is the
Authorizable.getAuthorizableId() of this instance to be considered in the global list of Authorizations.If true, it will appear in the List of Authorizations that can be assigned to users. |
Collection<Authorization> |
getAuthorizations()
Authorization s that can access this item |
org.apache.commons.collections.Transformer |
getTransformer() |
void |
setAuthorizableId(String authorizableId)
When auto detecting
Authorizable objects, should the id of this instance be added to the list |
void |
setAuthorizableIdAssignable(Boolean authorizableIdAssignable) |
void |
setAuthorizations(Collection<Authorization> authorizations)
Authorization s that can access this item |
void |
setTransformer(org.apache.commons.collections.Transformer transformer) |
Object |
transform(Object input) |
public ExternalAccessTransformerWrapper()
public ExternalAccessTransformerWrapper(org.apache.commons.collections.Transformer transformer)
public Boolean getAuthorizableIdAssignable()
Authorizable
Authorizable.getAuthorizableId()
of this instance to be considered in the global list of Authorizations.getAuthorizableIdAssignable
in interface Authorizable
Boolean
@Nullablepublic void setAuthorizableIdAssignable(Boolean authorizableIdAssignable)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public org.apache.commons.collections.Transformer getTransformer()
public void setTransformer(org.apache.commons.collections.Transformer transformer)
public Collection<Authorization> getAuthorizations()
Authorization
s that can access this itemgetAuthorizations
in interface Authorizable
public void setAuthorizations(Collection<Authorization> authorizations)
Authorization
s that can access this itemsetAuthorizations
in interface Authorizable
public String getAuthorizableId()
Authorizable
objects, should the id of this instance be added to the listgetAuthorizableId
in interface Authorizable
public void setAuthorizableId(String authorizableId)
Authorizable
objects, should the id of this instance be added to the listsetAuthorizableId
in interface Authorizable
Copyright © 2018. All rights reserved.