org.openmdx.security.realm1.jmi1.Policy Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////
//
// Name: $Id: AbstractMapper.java,v 1.10 2011/07/08 13:20:51 wfro Exp $
// Generated by: openMDX Java Mapper
// Date: Mon Mar 09 17:05:03 CET 2020
//
// GENERATED - DO NOT CHANGE MANUALLY
//
//////////////////////////////////////////////////////////////////////////////
package org.openmdx.security.realm1.jmi1;
/**
* Abstract class Policy
*/
public interface Policy
extends org.openmdx.security.realm1.cci2.Policy,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference privilege
for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with javax.jdo.Query
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to true
.
*/
public java.util.List getPrivilege(
org.openmdx.security.realm1.cci2.PrivilegeQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference privilege
for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Privilege getPrivilege(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference privilege
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getPrivilege(false,id)
.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Privilege getPrivilege(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference privilege
.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent true
if id
is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param privilege The element to be appended.
*/
public void addPrivilege (
boolean idIsPersistent,
java.lang.String id,
org.openmdx.security.realm1.jmi1.Privilege privilege
);
/**
* Adds the specified element to the set of the values for the reference privilege
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param privilege The element to be appended.
*/
public void addPrivilege (
java.lang.String id,
org.openmdx.security.realm1.jmi1.Privilege privilege
);
/**
* Adds the specified element to the set of the values for the reference privilege
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param privilege The element to be appended.
*/
public void addPrivilege (
org.openmdx.security.realm1.jmi1.Privilege privilege
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference role
for the specified query.
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with javax.jdo.Query
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to true
.
*/
public java.util.List getRole(
org.openmdx.security.realm1.cci2.RoleQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference role
for the specified qualifier attribute value.
*
* @param nameIsPersistent Defines whether value for the qualifier is persistent or not
* @param name The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Role getRole(
boolean nameIsPersistent,
java.lang.String name
);
/**
* Retrieves the value for the reference role
for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation getRole(false,name)
.
*
* @param name The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.openmdx.security.realm1.jmi1.Role getRole(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference role
.
*
* Note: This is an extension to the JMI 1 standard.
* @param nameIsPersistent true
if name
is persistent
* @param name The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param role The element to be appended.
*/
public void addRole (
boolean nameIsPersistent,
java.lang.String name,
org.openmdx.security.realm1.jmi1.Role role
);
/**
* Adds the specified element to the set of the values for the reference role
using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param name The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param role The element to be appended.
*/
public void addRole (
java.lang.String name,
org.openmdx.security.realm1.jmi1.Role role
);
/**
* Adds the specified element to the set of the values for the reference role
using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param role The element to be appended.
*/
public void addRole (
org.openmdx.security.realm1.jmi1.Role role
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}