Package de.xima.fc.security.endpoint
Class PluginMenuEntryView
- java.lang.Object
-
- de.xima.fc.security.endpoint.PluginMenuEntryView
-
- All Implemented Interfaces:
IView
,IWebEndpoint
,Serializable
public class PluginMenuEntryView extends Object implements IView
Model for plugin views.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizer
getAuthorizer()
IAvailabiltyResolver
getAvailibilityResolver()
String
getId()
IUriResolver
getUriResolver()
static IView
of(IPluginMenuEntry pluginMenuEntry, String contextName, Mandant client, IPluginMenuEntry parentPluginMenuEntry)
String
toString()
-
-
-
Method Detail
-
getAuthorizer
public IAuthorizer getAuthorizer()
- Specified by:
getAuthorizer
in interfaceIWebEndpoint
- Returns:
- the authorizer that defines authorization requirements of this web endpoint. May be
null
. Ifnull
authorizer is returned than the view web enpoint is public, which means any user can access it.
-
getAvailibilityResolver
public IAvailabiltyResolver getAvailibilityResolver()
- Specified by:
getAvailibilityResolver
in interfaceIWebEndpoint
- Returns:
- the availability resolver that defines the availability requirements of this web endpoint. May be
null
. Ifnull
resolver is returned than the web endpoint is available.
-
getId
public String getId()
- Specified by:
getId
in interfaceIWebEndpoint
- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
public IUriResolver getUriResolver()
- Specified by:
getUriResolver
in interfaceIWebEndpoint
- Returns:
- the uri resolver which defines the location of this endpoint.
-
of
public static IView of(IPluginMenuEntry pluginMenuEntry, String contextName, Mandant client, IPluginMenuEntry parentPluginMenuEntry)
-
-