atg.epub.project
Interface TargetDef

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface TargetDef
extends javax.ejb.EJBLocalObject

Class TargetDef ("Deployment Target Definition")

Property Summaries

Property Name Property Type Property Description Flags
agents Set of AgentDef Agent Definitions R, W, CsD, Cch, CoM, Mv, Qry
creationTime Timestamp Creation time R, W, Cch, Qry
description String Description R, W, Cch, Qry
destinations Map Destination repositories and VFSs for this Target server R, W, Cch, CoM, Mv, Qry
displayName String Name R, W, Cch, Qry
flagAgents boolean If the agents should be simply flagged on target initialization ? R, W, Cch, Qry
halted boolean If this target is not accepting deployment jobs ? R, W, Cch, Qry
id String Target ID R, W, Cch, Id, Qry, Exp
initialSnapshotName String Initial snapshot name R, W, Cch, Qry, Exp
surrogateFor TargetDef Target for which this target acts as a surrogate R, W, Cch, Qry
targetType TargetDefTargetType   R, W, Cch, Qry
version int Version R, Cch, Qry, Exp

Flags Key:R=readable, W=writable, CsD=cascadeDelete, CsI=cascadeInsert, CsU=cascadeUpdate, Cch=cacheable, CoM=collectionOrMap, Drv=derived, Id=idProperty, Mv=multivalued, Qry=queryable, Req=required, Exp=expert, Hdn=hidden, Prf=preferred

Property Details

Property agents ("Agent Definitions"): Set of AgentDef

Property creationTime ("Creation time"): Timestamp

Property description ("Description"): String

Property destinations ("Destination repositories and VFSs for this Target server"): Map

Property displayName ("Name"): String

Property flagAgents ("If the agents should be simply flagged on target initialization ?"): boolean

Property halted ("If this target is not accepting deployment jobs ?"): boolean

Property id ("Target ID"): String

Property initialSnapshotName ("Initial snapshot name"): String

Property surrogateFor ("Target for which this target acts as a surrogate"): TargetDef

Property targetType: TargetDefTargetType

Property version ("Version"): int


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(TargetDef destination)
          Copies the property values of this instance to another instance of the same data type.
 java.util.Set getAgents()
          Getter for property agents ("Agent Definitions")
 java.sql.Timestamp getCreationTime()
          Getter for property creationTime ("Creation time")
 java.lang.String getDescription()
          Getter for property description ("Description")
 java.util.Map getDestinations()
          Getter for property destinations ("Destination repositories and VFSs for this Target server")
 java.lang.String getDisplayName()
          Getter for property displayName ("Name")
 boolean getHasFlagAgents()
          Returns true if the value of property flagAgents is null.
 boolean getHasHalted()
          Returns true if the value of property halted is null.
 boolean getHasVersion()
          Returns true if the value of property version is null.
 java.lang.String getId()
          Getter for property id ("Target ID")
 java.lang.String getInitialSnapshotName()
          Getter for property initialSnapshotName ("Initial snapshot name")
 TargetDef getSurrogateFor()
          Getter for property surrogateFor ("Target for which this target acts as a surrogate")
 atg.epub.project.TargetDefTargetType getTargetType()
          Getter for property targetType
 int getVersion()
          Getter for property version ("Version")
 boolean isFlagAgents()
          Getter for property flagAgents ("If the agents should be simply flagged on target initialization ?")
 boolean isHalted()
          Getter for property halted ("If this target is not accepting deployment jobs ?")
 boolean isRemoved()
          Returns true if the underlying object has been removed.
 void prepareInstanceForWrite()
          This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write.
 void setAgents(java.util.Set value)
          Setter for property agents ("Agent Definitions").
 void setCreationTime(java.sql.Timestamp value)
          Setter for property creationTime ("Creation time").
 void setDescription(java.lang.String value)
          Setter for property description ("Description").
 void setDestinations(java.util.Map value)
          Setter for property destinations ("Destination repositories and VFSs for this Target server").
 void setDisplayName(java.lang.String value)
          Setter for property displayName ("Name").
 void setFlagAgents(boolean value)
          Setter for property flagAgents ("If the agents should be simply flagged on target initialization ?").
 void setHalted(boolean value)
          Setter for property halted ("If this target is not accepting deployment jobs ?").
 void setHasFlagAgents(boolean value)
          If this is set to false, then the underlying value of property flagAgents is set to null.
 void setHasHalted(boolean value)
          If this is set to false, then the underlying value of property halted is set to null.
 void setId(java.lang.String value)
          Setter for property id ("Target ID").
 void setInitialSnapshotName(java.lang.String value)
          Setter for property initialSnapshotName ("Initial snapshot name").
 void setSurrogateFor(TargetDef value)
          Setter for property surrogateFor ("Target for which this target acts as a surrogate").
 void setTargetType(atg.epub.project.TargetDefTargetType value)
          Setter for property targetType .
 void writeInstance()
          This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getAgents

java.util.Set getAgents()
                        throws javax.ejb.EJBException
Getter for property agents ("Agent Definitions")

Returns:
Set of AgentDef
Throws:
javax.ejb.EJBException

setAgents

void setAgents(java.util.Set value)
               throws javax.ejb.EJBException
Setter for property agents ("Agent Definitions"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Set of AgentDef
Throws:
javax.ejb.EJBException

getCreationTime

java.sql.Timestamp getCreationTime()
                                   throws javax.ejb.EJBException
Getter for property creationTime ("Creation time")

Returns:
Timestamp
Throws:
javax.ejb.EJBException

setCreationTime

void setCreationTime(java.sql.Timestamp value)
                     throws javax.ejb.EJBException
Setter for property creationTime ("Creation time"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Timestamp
Throws:
javax.ejb.EJBException

getDescription

java.lang.String getDescription()
                                throws javax.ejb.EJBException
Getter for property description ("Description")

Returns:
String
Throws:
javax.ejb.EJBException

setDescription

void setDescription(java.lang.String value)
                    throws javax.ejb.EJBException
Setter for property description ("Description"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getDestinations

java.util.Map getDestinations()
                              throws javax.ejb.EJBException
Getter for property destinations ("Destination repositories and VFSs for this Target server")

Returns:
Map
Throws:
javax.ejb.EJBException

setDestinations

void setDestinations(java.util.Map value)
                     throws javax.ejb.EJBException
Setter for property destinations ("Destination repositories and VFSs for this Target server"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Map
Throws:
javax.ejb.EJBException

getDisplayName

java.lang.String getDisplayName()
                                throws javax.ejb.EJBException
Getter for property displayName ("Name")

Returns:
String
Throws:
javax.ejb.EJBException

setDisplayName

void setDisplayName(java.lang.String value)
                    throws javax.ejb.EJBException
Setter for property displayName ("Name"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

isFlagAgents

boolean isFlagAgents()
                     throws javax.ejb.EJBException
Getter for property flagAgents ("If the agents should be simply flagged on target initialization ?")

Returns:
boolean
Throws:
javax.ejb.EJBException

getHasFlagAgents

boolean getHasFlagAgents()
                         throws javax.ejb.EJBException
Returns true if the value of property flagAgents is null.

Throws:
javax.ejb.EJBException

setFlagAgents

void setFlagAgents(boolean value)
                   throws javax.ejb.EJBException
Setter for property flagAgents ("If the agents should be simply flagged on target initialization ?"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - boolean
Throws:
javax.ejb.EJBException

setHasFlagAgents

void setHasFlagAgents(boolean value)
                      throws javax.ejb.EJBException
If this is set to false, then the underlying value of property flagAgents is set to null. If set to true, then nothing is done.

Throws:
javax.ejb.EJBException

isHalted

boolean isHalted()
                 throws javax.ejb.EJBException
Getter for property halted ("If this target is not accepting deployment jobs ?")

Returns:
boolean
Throws:
javax.ejb.EJBException

getHasHalted

boolean getHasHalted()
                     throws javax.ejb.EJBException
Returns true if the value of property halted is null.

Throws:
javax.ejb.EJBException

setHalted

void setHalted(boolean value)
               throws javax.ejb.EJBException
Setter for property halted ("If this target is not accepting deployment jobs ?"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - boolean
Throws:
javax.ejb.EJBException

setHasHalted

void setHasHalted(boolean value)
                  throws javax.ejb.EJBException
If this is set to false, then the underlying value of property halted is set to null. If set to true, then nothing is done.

Throws:
javax.ejb.EJBException

getId

java.lang.String getId()
                       throws javax.ejb.EJBException
Getter for property id ("Target ID")

Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property id ("Target ID"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getInitialSnapshotName

java.lang.String getInitialSnapshotName()
                                        throws javax.ejb.EJBException
Getter for property initialSnapshotName ("Initial snapshot name")

Returns:
String
Throws:
javax.ejb.EJBException

setInitialSnapshotName

void setInitialSnapshotName(java.lang.String value)
                            throws javax.ejb.EJBException
Setter for property initialSnapshotName ("Initial snapshot name"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getSurrogateFor

TargetDef getSurrogateFor()
                          throws javax.ejb.EJBException
Getter for property surrogateFor ("Target for which this target acts as a surrogate")

Returns:
TargetDef
Throws:
javax.ejb.EJBException

setSurrogateFor

void setSurrogateFor(TargetDef value)
                     throws javax.ejb.EJBException
Setter for property surrogateFor ("Target for which this target acts as a surrogate"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - TargetDef
Throws:
javax.ejb.EJBException

getTargetType

atg.epub.project.TargetDefTargetType getTargetType()
                                                   throws javax.ejb.EJBException
Getter for property targetType

Returns:
TargetDefTargetType
Throws:
javax.ejb.EJBException

setTargetType

void setTargetType(atg.epub.project.TargetDefTargetType value)
                   throws javax.ejb.EJBException
Setter for property targetType . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - TargetDefTargetType
Throws:
javax.ejb.EJBException

getVersion

int getVersion()
               throws javax.ejb.EJBException
Getter for property version ("Version")

Returns:
int
Throws:
javax.ejb.EJBException

getHasVersion

boolean getHasVersion()
                      throws javax.ejb.EJBException
Returns true if the value of property version is null.

Throws:
javax.ejb.EJBException

isRemoved

boolean isRemoved()
                  throws javax.ejb.EJBException
Returns true if the underlying object has been removed. False otherwise.

Throws:
javax.ejb.EJBException

copyTo

void copyTo(TargetDef destination)
            throws javax.ejb.EJBException
Copies the property values of this instance to another instance of the same data type. Only properties that are both readable and writable are copied. Each property is copied by calling the getter method on the source instance and setting the result in the destination instance using the setter method.

Throws:
javax.ejb.EJBException

writeInstance

void writeInstance()
                   throws javax.ejb.EJBException
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. Changes might be made visible before calling this method, but this is not guaranteed until this method is called.

Throws:
javax.ejb.EJBException

prepareInstanceForWrite

void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. This must be called before that first read.

Throws:
javax.ejb.EJBException

_isMutable

boolean _isMutable()
Returns true if the item is mutable. Items are only mutable after a setter method or prepareInstanceForWrite is called.