
java.fedora.server.Context Maven / Gradle / Ivy
Show all versions of fcrepo-client Show documentation
/*
* -----------------------------------------------------------------------------
*
* License and Copyright: The contents of this file are subject to the
* Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of
* the License at
* http://www.fedora-commons.org/licenses.
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The entire file consists of original code.
* Copyright © 2008 Fedora Commons, Inc.
*
Copyright © 2002-2007 The Rector and Visitors of the University of
* Virginia and Cornell University
* All rights reserved.
*
* -----------------------------------------------------------------------------
*/
package fedora.server;
import java.util.Date;
import java.util.Iterator;
/**
*
* Title: Context.java
* Description: A holder of context name-value pairs.
*
* @author [email protected]
* @version $Id: Context.java 5499 2007-01-16 18:21:53Z wdn5e $
*/
public interface Context {
public MultiValueMap getEnvironmentAttributes();
public Iterator environmentAttributes();
public int nEnvironmentValues(String name);
public String getEnvironmentValue(String name);
public String[] getEnvironmentValues(String name);
public Iterator subjectAttributes();
public int nSubjectValues(String name);
public String getSubjectValue(String name);
public String[] getSubjectValues(String name);
public Iterator actionAttributes();
public int nActionValues(String name);
public String getActionValue(String name);
public String[] getActionValues(String name);
public Iterator resourceAttributes();
public int nResourceValues(String name);
public String getResourceValue(String name);
public String[] getResourceValues(String name);
public void setActionAttributes(MultiValueMap actionAttributes);
public void setResourceAttributes(MultiValueMap resourceAttributes);
public String getPassword();
public String toString();
public Date now();
public boolean getNoOp();
public static final String FEDORA_AUX_SUBJECT_ATTRIBUTES = "FEDORA_AUX_SUBJECT_ATTRIBUTES";
//public boolean useCachedObject();
}