com.arsdigita.kernel.permissions
Class UniversalPermissionDescriptor

java.lang.Object
  extended bycom.arsdigita.kernel.permissions.PermissionDescriptor
      extended bycom.arsdigita.kernel.permissions.UniversalPermissionDescriptor

public class UniversalPermissionDescriptor
extends PermissionDescriptor

Represents a permission that applies universally to all objects.

Version:
1.0
Author:
Oumi Mehrotra
See Also:
PermissionDescriptor, PrivilegeDescriptor, PermissionService

Field Summary
static String versionId
           
 
Constructor Summary
UniversalPermissionDescriptor(PrivilegeDescriptor privilege, OID partyOID)
          Creates a new UniversalPermissionDescriptor object for the party with the specified OID.
UniversalPermissionDescriptor(PrivilegeDescriptor privilege, Party party)
          Creates a new UniversalPermissionDescriptor object for the specified party.
 
Methods inherited from class com.arsdigita.kernel.permissions.PermissionDescriptor
equals, getACSObjectOID, getPartyOID, getPrivilegeDescriptor, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

UniversalPermissionDescriptor

public UniversalPermissionDescriptor(PrivilegeDescriptor privilege,
                                     Party party)
Creates a new UniversalPermissionDescriptor object for the specified party.

Parameters:
privilege - the privilege that is to be universal
party - the party that this privilege is to be universally granted to
See Also:
ACSObject, Party, PrivilegeDescriptor

UniversalPermissionDescriptor

public UniversalPermissionDescriptor(PrivilegeDescriptor privilege,
                                     OID partyOID)
Creates a new UniversalPermissionDescriptor object for the party with the specified OID.

Parameters:
privilege - the privilege descriptor that is to be universal
partyOID - the OID of the party this this privilege is to be universally granted to
See Also:
ACSObject, Party, PrivilegeDescriptor, OID


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC