public class AuthorizableTemplate<REF> extends Template<REF> implements Authorizable
Template that supports being Authorizablelisteners, TEMPLATE_IDENTIFIER| Constructor and Description |
|---|
AuthorizableTemplate() |
AuthorizableTemplate(Template<REF> template) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizableId()
Every
Authorizable entity should specify its key/id so that the Calling API knows which Set of Authorizations to match with |
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()
Authorizations that can access this item |
void |
setAuthorizableId(String authorizableId) |
void |
setAuthorizableIdAssignable(Boolean authorizableIdAssignable) |
void |
setAuthorizations(Collection<Authorization> authorizations)
Authorizations that can access this item |
addChangeListener, equals, getAccessorExistsTransformer, getAttributes, getDefaultResourceLocations, getDisplayName, getFacetMeta, getFacets, getFieldOrderListing, getId, getListeners, getMarkupLocation, getName, getPublishAdapter, getReference, getSubmitTransformer, hashCode, isProcessFields, notifyAllListeners, publish, setAccessorExistsTransformer, setAttributes, setDefaultResourceLocations, setDisplayName, setFacets, setFieldOrderListing, setId, setListeners, setMarkupLocation, setName, setProcessFields, setPublishAdapter, setReference, setSubmitTransformer, toStringpublic Boolean getAuthorizableIdAssignable()
AuthorizableAuthorizable.getAuthorizableId() of this instance to be considered in the global list of Authorizations.getAuthorizableIdAssignable in interface AuthorizableBoolean @Nullablepublic void setAuthorizableIdAssignable(Boolean authorizableIdAssignable)
public Collection<Authorization> getAuthorizations()
Authorizations that can access this itemgetAuthorizations in interface Authorizablepublic void setAuthorizations(Collection<Authorization> authorizations)
Authorizations that can access this itemsetAuthorizations in interface Authorizablepublic String getAuthorizableId()
AuthorizableAuthorizable entity should specify its key/id so that the Calling API knows which Set of Authorizations to match withgetAuthorizableId in interface Authorizablepublic void setAuthorizableId(String authorizableId)
setAuthorizableId in interface AuthorizableCopyright © 2018. All rights reserved.