com.novell.admin.rbs
Class RBSTask

java.lang.Object
  |
  +--com.novell.admin.rbs.RBSObject
        |
        +--com.novell.admin.rbs.RBSTask
All Implemented Interfaces:
java.io.Serializable

public class RBSTask
extends RBSObject

Class that represents a rbsTask object


Fields inherited from class com.novell.admin.rbs.RBSObject
ns, nsObj, oe
 
Constructor Summary
RBSTask(NSObject obj)
          Constructor.
RBSTask(ObjectEntry objectOE)
          Constructor.
 
Method Summary
 void addContentMembership(RBSObject[] content)
          Adds this task to the content of the given RBSObjects
 void addRights(RBSRights[] rights)
          Adds the task rights to the task.
 void deleteContentMembership(RBSObject[] content)
          Deletes this content member from the given objects.
 void deleteRights(RBSRights[] rights)
          Deletes the task rights for the task.
 RBSObject[] getContentMembership()
          Returns the objects that this task is a member of
 java.lang.String getEntryPoint()
          Returns the entry point of the task
 RBSModule getModule()
          Returns the module where the tasks are stored
 RBSRights[] getRights()
          Returns the task rights of the task object
 java.lang.String getTaskParameters()
          Returns the task parameters of the task
 void setContentMembership(RBSObject[] content)
          Sets the objects for which this task is a content member of.
 void setEntryPoint(java.lang.String point)
          Sets the entry point for the task.
 void setRights(RBSRights[] rights)
          Sets the task rights for the task.
 void setTaskParameters(java.lang.String taskParameters)
          Sets the entry point for the task.
 void update()
          OverWrites the base class update
 
Methods inherited from class com.novell.admin.rbs.RBSObject
getDescription, getObjectEntry, setDescription, setNSObject, verifyNSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBSTask

public RBSTask(ObjectEntry objectOE)
Constructor.
Parameters:
objectOE - ObjectEntry representing a rbsTask

RBSTask

public RBSTask(NSObject obj)
Constructor.
Parameters:
obj - NSObject
Method Detail

getContentMembership

public RBSObject[] getContentMembership()
                                 throws SPIException
Returns the objects that this task is a member of
Returns:
The RBSObject[] representing the memberships
Throws:
SPIException -  

setContentMembership

public void setContentMembership(RBSObject[] content)
                          throws SPIException,
                                 SnapinVetoException,
                                 NamespaceException,
                                 ComponentCreationException
Sets the objects for which this task is a content member of.
Parameters:
tasks - The RBSObject[] representing the memberships.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  
ComponentCreationException -  

addContentMembership

public void addContentMembership(RBSObject[] content)
                          throws SPIException,
                                 SnapinVetoException,
                                 NamespaceException,
                                 ComponentCreationException
Adds this task to the content of the given RBSObjects
Parameters:
tasks - The RBSObject[] representing objects to make this task a member of.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  
ComponentCreationException -  

deleteContentMembership

public void deleteContentMembership(RBSObject[] content)
                             throws SPIException,
                                    NamespaceException,
                                    SnapinVetoException,
                                    ComponentCreationException
Deletes this content member from the given objects.
Parameters:
content - The RBSObject[] representing the objects to remove this task from.
Throws:
SPIException -  
NamespaceException -  
ComponentCreationException -  
SnapinVetoException -  

getRights

public RBSRights[] getRights()
                      throws SPIException
Returns the task rights of the task object
Returns:
The RBSRights[] representing the task rights of the task
Throws:
SPIException -  

setRights

public void setRights(RBSRights[] rights)
               throws NamespaceException,
                      SPIException,
                      SnapinVetoException,
                      ComponentCreationException
Sets the task rights for the task.
Parameters:
rights - The RBSRights[] representing the task rights of the task.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  
ComponentCreationException -  

addRights

public void addRights(RBSRights[] rights)
               throws SPIException,
                      NamespaceException,
                      SnapinVetoException
Adds the task rights to the task.
Parameters:
rights - The RBSRights[] representing the task rights of the task.
Throws:
SPIException -  
NamespaceException -  
ComponentCreationException -  

deleteRights

public void deleteRights(RBSRights[] rights)
                  throws SPIException,
                         NamespaceException,
                         SnapinVetoException
Deletes the task rights for the task.
Parameters:
rights - The RBSRights[] representing the task rights of the task.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  

getEntryPoint

public java.lang.String getEntryPoint()
                               throws NamespaceException,
                                      SPIException,
                                      ComponentCreationException
Returns the entry point of the task
Returns:
The String representing the entry point of the task
Throws:
SPIException -  
NamespaceException -  
ComponentCreationException -  

setEntryPoint

public void setEntryPoint(java.lang.String point)
                   throws NamespaceException,
                          SPIException,
                          SnapinVetoException,
                          ComponentCreationException
Sets the entry point for the task.
Parameters:
point - A String representing the entry point of the task.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  
ComponentCreationException -  

getTaskParameters

public java.lang.String getTaskParameters()
                                   throws SPIException
Returns the task parameters of the task
Returns:
The String representing the task parameters of the task
Throws:
SPIException -  

setTaskParameters

public void setTaskParameters(java.lang.String taskParameters)
                       throws NamespaceException,
                              SPIException,
                              SnapinVetoException,
                              ComponentCreationException
Sets the entry point for the task.
Parameters:
point - A String representing the entry point of the task.
Throws:
SPIException -  
SnapinVetoException -  
NamespaceException -  
ComponentCreationException -  

getModule

public RBSModule getModule()
Returns the module where the tasks are stored
Returns:
The RBSModule representing a module

update

public void update()
            throws SPIException,
                   SnapinVetoException
OverWrites the base class update
Throws:
SPIException -  
SnapinVetoException -  
Overrides:
update in class RBSObject


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.