Interface IServiceInterfaceInstanceOwner
-
- All Known Implementing Classes:
DummyInterfaceInstanceOwner
,PagePersonalizationInterfaceInstanceOwner
,ServiceInterfaceInstanceOwner
@StableMinor(version="16.0", sinceVersion="6.0") public interface IServiceInterfaceInstanceOwner
Represents the owner of a service interface instance. Implementations must have a public default constructor to be instantiated. When theservice interface instance
is persisted, the owner instance fields are not persisted. This means that if aIServiceInterfaceInstanceOwner
object instance has filled fields when it was persisted, they will not be filled when it is read from database.- Since:
- 6.0.0
- Version:
- $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission)
Checks the user permission based on the owner rules.
-
-
-
Method Detail
-
checkPermission
boolean checkPermission(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ServiceInterfaceInstancePermission permission) throws PortalException
Checks the user permission based on the owner rules. Must return true if user has access to continue current operation or false otherwise.- Parameters:
sessionConfig
- the user session config.serviceInterfaceInstanceConfig
- theservice interface instance
in which current operation is acting.permission
- thepermission
to be checked.- Returns:
- a boolean indicating if user has access to complete current action.
- Throws:
PortalException
- Since:
- 6.0.0
- See Also:
ServiceInterfaceInstancePermission
-
-