org.opencrx.kernel.backend
Class SecureObject

java.lang.Object
  extended by org.opencrx.kernel.backend.SecureObject

public class SecureObject
extends Object


Field Summary
static int MODE_LOCAL
           
static int MODE_RECURSIVE
           
 
Constructor Summary
SecureObject(Backend backend, DataproviderObject args)
           
SecureObject(Backend backend, Path paramUserIdentity, Path paramGroupIdentity, Short paramMode, Short paramAccessLevelBrowse, Short paramAccessLevelUpdate, Short paramAccessLevelDelete)
           
 
Method Summary
 void addOwningGroup(DataproviderObject_1_0 obj, List<String> report)
           
 void addOwningGroup(Path secureObjectIdentity, List<String> report)
           
 void applyAcls(DataproviderObject_1_0 obj, Marshaller marshaller, Short mode, String reportText, List report)
           
 DataproviderObject_1_0 getUser(String principalName)
           
 void removeAllOwningGroup(DataproviderObject_1_0 obj, List<String> report)
           
 void removeAllOwningGroup(Path secureObjectIdentity, List<String> report)
           
 void removeOwningGroup(DataproviderObject_1_0 obj, List<String> report)
           
 void removeOwningGroup(Path secureObjectIdentity, List<String> report)
           
 void setAccessLevel(DataproviderObject_1_0 obj, List report)
           
 void setAccessLevel(Path secureObjectIdentity, List<String> report)
           
 void setOwningUser(DataproviderObject_1_0 obj, List report)
           
 void setOwningUser(Path secureObjectIdentity, List<String> report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_LOCAL

public static final int MODE_LOCAL
See Also:
Constant Field Values

MODE_RECURSIVE

public static final int MODE_RECURSIVE
See Also:
Constant Field Values
Constructor Detail

SecureObject

public SecureObject(Backend backend,
                    DataproviderObject args)

SecureObject

public SecureObject(Backend backend,
                    Path paramUserIdentity,
                    Path paramGroupIdentity,
                    Short paramMode,
                    Short paramAccessLevelBrowse,
                    Short paramAccessLevelUpdate,
                    Short paramAccessLevelDelete)
Method Detail

getUser

public DataproviderObject_1_0 getUser(String principalName)
                               throws ServiceException
Throws:
ServiceException

applyAcls

public void applyAcls(DataproviderObject_1_0 obj,
                      Marshaller marshaller,
                      Short mode,
                      String reportText,
                      List report)

setOwningUser

public void setOwningUser(Path secureObjectIdentity,
                          List<String> report)
                   throws ServiceException
Throws:
ServiceException

setOwningUser

public void setOwningUser(DataproviderObject_1_0 obj,
                          List report)
                   throws ServiceException
Throws:
ServiceException

addOwningGroup

public void addOwningGroup(Path secureObjectIdentity,
                           List<String> report)
                    throws ServiceException
Throws:
ServiceException

addOwningGroup

public void addOwningGroup(DataproviderObject_1_0 obj,
                           List<String> report)
                    throws ServiceException
Throws:
ServiceException

removeOwningGroup

public void removeOwningGroup(Path secureObjectIdentity,
                              List<String> report)
                       throws ServiceException
Throws:
ServiceException

removeOwningGroup

public void removeOwningGroup(DataproviderObject_1_0 obj,
                              List<String> report)
                       throws ServiceException
Throws:
ServiceException

removeAllOwningGroup

public void removeAllOwningGroup(Path secureObjectIdentity,
                                 List<String> report)
                          throws ServiceException
Throws:
ServiceException

removeAllOwningGroup

public void removeAllOwningGroup(DataproviderObject_1_0 obj,
                                 List<String> report)
                          throws ServiceException
Throws:
ServiceException

setAccessLevel

public void setAccessLevel(Path secureObjectIdentity,
                           List<String> report)
                    throws ServiceException
Throws:
ServiceException

setAccessLevel

public void setAccessLevel(DataproviderObject_1_0 obj,
                           List report)
                    throws ServiceException
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.