Interface SilverpeasSharedComponentInstance

    • Method Detail

      • canBeAccessedBy

        default boolean canBeAccessedBy​(User user)
        Description copied from interface: Securable
        Checks the given user can access this resource.
        Specified by:
        canBeAccessedBy in interface Securable
        Parameters:
        user - a user in Silverpeas.
        Returns:
        true if the user can access the data managed by this instance, false otherwise.
      • canBeModifiedBy

        default boolean canBeModifiedBy​(User user)
        Is the user can modify this component instance?
        Specified by:
        canBeModifiedBy in interface Securable
        Parameters:
        user - a user in Silverpeas.
        Returns:
        true if the user can both access this component instance and has management privilege on this component instance (by being either an administrator or a space manager)
      • canBeFiledInBy

        default boolean canBeFiledInBy​(User user)
        Description copied from interface: Securable
        Checks the given user can file in this resource another resource. This behaviour control is only pertinent for resources acting as a container of other resources. By default, it returns false so that it requires to be implemented by any securable resource type supporting filing.
        Specified by:
        canBeFiledInBy in interface Securable
        Parameters:
        user - a user in Silverpeas.
        Returns:
        true if the user can file in this resource another resource.