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

org.opencrx.kernel.base.cci2.SecureObject Maven / Gradle / Ivy

The newest version!
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.base.cci2;

/**
 * Abstract class {@code SecureObject}
 */
@javax.annotation.Generated(
  value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
  date = "2023-10-28T12:15:35.845945115Z",
  comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface SecureObject
{

// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
  /**
   * Retrieves the value for the attribute {@code accessLevelBrowse}.
   * @return The non-null value for attribute {@code accessLevelBrowse}.
   */
  public short getAccessLevelBrowse(
  );

// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
  /**
   * Sets a new value for the attribute {@code accessLevelBrowse}.
   * @param accessLevelBrowse The non-{@code null} new value for attribute {@code accessLevelBrowse}.
   */
  public void setAccessLevelBrowse(
    short accessLevelBrowse
  );

// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
  /**
   * Retrieves the value for the attribute {@code accessLevelDelete}.
   * @return The non-null value for attribute {@code accessLevelDelete}.
   */
  public short getAccessLevelDelete(
  );

// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
  /**
   * Sets a new value for the attribute {@code accessLevelDelete}.
   * @param accessLevelDelete The non-{@code null} new value for attribute {@code accessLevelDelete}.
   */
  public void setAccessLevelDelete(
    short accessLevelDelete
  );

// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
  /**
   * Retrieves the value for the attribute {@code accessLevelUpdate}.
   * @return The non-null value for attribute {@code accessLevelUpdate}.
   */
  public short getAccessLevelUpdate(
  );

// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
  /**
   * Sets a new value for the attribute {@code accessLevelUpdate}.
   * @param accessLevelUpdate The non-{@code null} new value for attribute {@code accessLevelUpdate}.
   */
  public void setAccessLevelUpdate(
    short accessLevelUpdate
  );

// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
  /**
   */
  public org.opencrx.kernel.base.cci2.ModifySecureObjectResult addOwningGroup(
      org.opencrx.kernel.base.cci2.ModifyOwningGroupParams in
  );

// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
  /**
   */
  public org.openmdx.base.cci2.Void assertOwningGroup(
  );

// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
  /**
   */
  public org.opencrx.kernel.base.cci2.CheckPermissionsResult checkPermissions(
      org.opencrx.kernel.base.cci2.CheckPermissionsParams in
  );

// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
  /**
   * Retrieves a list containing all the elements for the attribute {@code owner}.
   * @return A list containing all elements for this attribute.
   */
  public java.util.List getOwner(
  );

// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
  /**
   * Clears {@code owner} and adds the given value(s).
   * 

* This method is equivalent to

   *   list.clear();
   *   for(java.lang.String e : owner){
   *     list.add(e);
   *   }
   * 
* @param owner value(s) to be added to {@code owner} */ public void setOwner( java.lang.String... owner ); // ---------------------------------------------------------------------------- // Instance/ReferenceGet0_nNoQuery // ---------------------------------------------------------------------------- /** * Retrieves the {@code Collection} of objects referenced by {@code owningGroup}. * @return The {@code Collection} of referenced objects. */ public java.util.List getOwningGroup( ); // ---------------------------------------------------------------------------- // Instance/ReferenceGetx_1NoQualifier // ---------------------------------------------------------------------------- /** * Retrieves the value for the reference {@code owningUser}. * @return The —possibly {@code null}— value for this reference. */ public org.opencrx.security.realm1.cci2.User getOwningUser( ); // ---------------------------------------------------------------------------- // Instance/ReferenceSetNoQualifier // ---------------------------------------------------------------------------- /** * Sets a new value for the reference {@code owningUser}. * @param owningUser The new—possibly {@code null}—value for this reference. */ public void setOwningUser( org.opencrx.security.realm1.cci2.User owningUser ); // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult removeAllOwningGroup( org.opencrx.kernel.base.cci2.RemoveAllOwningGroupParams in ); // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult removeOwningGroup( org.opencrx.kernel.base.cci2.ModifyOwningGroupParams in ); // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult replaceOwningGroup( org.opencrx.kernel.base.cci2.ModifyOwningGroupsParams in ); // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult setAccessLevel( org.opencrx.kernel.base.cci2.SetAccessLevelParams in ); // ---------------------------------------------------------------------------- // Instance/Operation // ---------------------------------------------------------------------------- /** */ public org.opencrx.kernel.base.cci2.ModifySecureObjectResult setOwningUser( org.opencrx.kernel.base.cci2.SetOwningUserParams in ); // ---------------------------------------------------------------------------- // Instance/End // ---------------------------------------------------------------------------- }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy