All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.fhframework.docs.SystemFunctionsMapper Maven / Gradle / Ivy

package pl.fhframework.docs;

import pl.fhframework.core.security.ISystemFunctionId;
import pl.fhframework.core.security.ISystemFunctionsMapper;

public class SystemFunctionsMapper implements ISystemFunctionsMapper {

    @Override
    public ISystemFunctionId getSystemFunction(String systemFunction) {
        for (ISystemFunctionId wer : DocsSystemFunction.values()){
            if (wer.getName().equalsIgnoreCase(systemFunction)){
                return wer;
            }
        }
        return null;
    }

    @Override
    public ISystemFunctionId[] getAllSubsystemFunctions() {
        return DocsSystemFunction.values();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy