atg.svc.repository.beans
Interface ContentConfig

All Superinterfaces:
ConfigurationObject, javax.ejb.EJBLocalObject
All Known Implementing Classes:
_ContentConfig_BeanImpl, _ContentConfig_Impl, _ContentConfig_ReposImpl

public interface ContentConfig
extends javax.ejb.EJBLocalObject, ConfigurationObject

Class ContentConfig

Property Summaries

Property Name Property Type Property Description Flags
body String   R, W, Cch, Qry
configType ConfigurationObjectConfigType   R, W, Cch, Qry, Req
contentId String   R, W, Cch, Qry, Req
enabledYn boolean   R, W, Cch, Qry, Req
id String   R, W, Cch, Id, Qry, Req
mimeType String   R, W, Cch, Qry, Req
otherContext String   R, W, Cch, Qry
url String   R, W, Cch, Qry
urlYn boolean   R, W, Cch, Qry, Req
userId String   R, W, Cch, Qry, Req

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 body: String

Property configType: ConfigurationObjectConfigType

Property contentId: String

Property enabledYn: boolean

Property id: String

Property mimeType: String

Property otherContext: String

Property url: String

Property urlYn: boolean

Property userId: String


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(ContentConfig destination)
          Copies the property values of this instance to another instance of the same data type.
 java.lang.String getBody()
          Getter for property body
 java.lang.String getContentId()
          Getter for property contentId
 java.lang.String getId()
          Getter for property id
 java.lang.String getMimeType()
          Getter for property mimeType
 java.lang.String getOtherContext()
          Getter for property otherContext
 java.lang.String getUrl()
          Getter for property url
 boolean isRemoved()
          Returns true if the underlying object has been removed.
 boolean isUrlYn()
          Getter for property urlYn
 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 setBody(java.lang.String value)
          Setter for property body .
 void setContentId(java.lang.String value)
          Setter for property contentId .
 void setId(java.lang.String value)
          Setter for property id .
 void setMimeType(java.lang.String value)
          Setter for property mimeType .
 void setOtherContext(java.lang.String value)
          Setter for property otherContext .
 void setUrl(java.lang.String value)
          Setter for property url .
 void setUrlYn(boolean value)
          Setter for property urlYn .
 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 atg.svc.repository.beans.ConfigurationObject
copyTo, getConfigType, getUserId, isEnabledYn, setConfigType, setEnabledYn, setUserId
 

Method Detail

getBody

java.lang.String getBody()
                         throws javax.ejb.EJBException
Getter for property body

Returns:
String
Throws:
javax.ejb.EJBException

setBody

void setBody(java.lang.String value)
             throws javax.ejb.EJBException
Setter for property body . 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

getContentId

java.lang.String getContentId()
                              throws javax.ejb.EJBException
Getter for property contentId

Returns:
String
Throws:
javax.ejb.EJBException

setContentId

void setContentId(java.lang.String value)
                  throws javax.ejb.EJBException
Setter for property contentId . 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

getId

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

Specified by:
getId in interface ConfigurationObject
Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property 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.

Specified by:
setId in interface ConfigurationObject
Parameters:
value - String
Throws:
javax.ejb.EJBException

getMimeType

java.lang.String getMimeType()
                             throws javax.ejb.EJBException
Getter for property mimeType

Returns:
String
Throws:
javax.ejb.EJBException

setMimeType

void setMimeType(java.lang.String value)
                 throws javax.ejb.EJBException
Setter for property mimeType . 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

getOtherContext

java.lang.String getOtherContext()
                                 throws javax.ejb.EJBException
Getter for property otherContext

Returns:
String
Throws:
javax.ejb.EJBException

setOtherContext

void setOtherContext(java.lang.String value)
                     throws javax.ejb.EJBException
Setter for property otherContext . 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

getUrl

java.lang.String getUrl()
                        throws javax.ejb.EJBException
Getter for property url

Returns:
String
Throws:
javax.ejb.EJBException

setUrl

void setUrl(java.lang.String value)
            throws javax.ejb.EJBException
Setter for property url . 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

isUrlYn

boolean isUrlYn()
                throws javax.ejb.EJBException
Getter for property urlYn

Returns:
boolean
Throws:
javax.ejb.EJBException

setUrlYn

void setUrlYn(boolean value)
              throws javax.ejb.EJBException
Setter for property urlYn . 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

isRemoved

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

Specified by:
isRemoved in interface ConfigurationObject
Throws:
javax.ejb.EJBException

copyTo

void copyTo(ContentConfig 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.

Specified by:
writeInstance in interface ConfigurationObject
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.

Specified by:
prepareInstanceForWrite in interface ConfigurationObject
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.

Specified by:
_isMutable in interface ConfigurationObject