Class FcView
java.lang.Object
de.xima.fc.security.endpoint.FcView
- All Implemented Interfaces:
IView, IWebEndpoint, Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionFcView(String id, IUriResolver uriResolver, IAvailabiltyResolver availibilityResolver, IAuthorizer authorizer, ISerializableFunction<Locale, String> displayNameResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetDisplayName(Locale locale) getId()inthashCode()toString()
-
Constructor Details
-
FcView
public FcView(String id, IUriResolver uriResolver, IAvailabiltyResolver availibilityResolver, IAuthorizer authorizer, ISerializableFunction<Locale, String> displayNameResolver)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceIView- Returns:
- the display name of this view.
-
toString
-
equals
-
canEqual
-
hashCode
-
getId
- Specified by:
getIdin interfaceIWebEndpoint- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
- Specified by:
getUriResolverin interfaceIWebEndpoint- Returns:
- the uri resolver which defines the location of this endpoint.
-
getAvailibilityResolver
- Specified by:
getAvailibilityResolverin interfaceIWebEndpoint- Returns:
- the availability resolver that defines the availability requirements of this web endpoint. May be
null. Ifnullresolver is returned than the web endpoint is available.
-
getAuthorizer
- Specified by:
getAuthorizerin interfaceIWebEndpoint- Returns:
- the authorizer that defines authorization requirements of this web endpoint. May be
null. Ifnullauthorizer is returned than the view web enpoint is public, which means any user can access it.
-