blob: 6bb1a3c826225aa69060bb024abf990638d2e06b [file] [log] [blame]
/**
* Copyright (c) 2011, 2014 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.vaaclipse.addons.perspective.common;
/**
* The Interface ISystemUserCapability.
*/
public interface ISystemUserCapability {
/**
* Returns true, if the user is allowed to save perspectives under the
* system user.
*
* @param userId
* - If null, then the system needs to use the current user.
* @return true, if successful
*/
boolean hasCapability(String userId);
}