|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.AbstractService
com.sap.netweaver.coll.attachment.GlobalAttachmentManager
public class GlobalAttachmentManager
Interface for the attachment service. Attachments are stored as Files in the Repository "attachment". Copyright (c) SAP AG 2002
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sapportals.wcm.service.AbstractService |
|---|
AbstractService.CONFIG_ATTRIBUTE_NAME |
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.service.AbstractService |
|---|
config, properties, stateHandler |
| Constructor Summary | |
|---|---|
GlobalAttachmentManager()
Constructor for the GlobalAttachmentManager object |
|
| Method Summary | |
|---|---|
IAttachmentList |
getAttachmentList(IResourceContext context,
String id,
boolean create)
returns AttachmentList and may create one if it does not exist yet |
IAttachmentList |
getAttachmentList(IResourceContext context,
String id,
boolean create,
long lifetime)
returns AttachmentList and may create one if it does not exist yet |
void |
reconfigure(IConfiguration configuration)
Passes the new configuration data to the component. |
protected void |
shutDownImpl()
The implementation must overwrite this method if it has to release resources acquired during shutdown. |
protected void |
startUpImpl()
This method is called by the framework when the WCM System is starting. |
| Methods inherited from class com.sapportals.wcm.service.AbstractService |
|---|
configure, convertConfigData, convertConfigToProperties, convertConfigToProperties, convertStatus, createPropertyList, getCreationDate, getDescription, getDescription, getID, getLastConfigurationException, getLastReconfigurationDate, getName, getNextAutoRestartDate, getProperties, getStartupException, getState, getType, postService, preService, retrieveMonitorData, shutDown, start, startUp, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalAttachmentManager()
| Method Detail |
|---|
protected void shutDownImpl()
AbstractServiceIStartable interface of the CRT this
method will be called only once. It will be called when the component is
removed from the persistent configuration or when the system shuts down.
shutDownImpl in class AbstractService
protected void startUpImpl()
throws ConfigurationException,
StartupException
startUpImpl in class AbstractServicecom.sapportals.wcm.WcmException - If the initialization of the service failed
ConfigurationException - Exception raised in failure situation
StartupException - Exception raised in failure situation
public IAttachmentList getAttachmentList(IResourceContext context,
String id,
boolean create)
throws NoAttachmentListException
getAttachmentList in interface IGlobalAttachmentid - id of Business Object (or anything else) for which Attachment shall
be handled (might be null)create - Shall AttachmentList be createdcontext - Resource Context
com.sapportals.wcm.WcmException
NoAttachmentListException
public IAttachmentList getAttachmentList(IResourceContext context,
String id,
boolean create,
long lifetime)
throws NoAttachmentListException
getAttachmentList in interface IGlobalAttachmentid - id of Business Object (or anything else) for which Attachment
shall be handled (might be null)create - Shall AttachmentList be createdlifetime - lifetime of Attachments in millisecons (0 => never
expires)context - Resource Context
com.sapportals.wcm.WcmException
NoAttachmentListException
public void reconfigure(IConfiguration configuration)
throws ConfigurationException
IReconfigurable
reconfigure in interface IReconfigurableconfiguration - The new configuration data.
ConfigurationException - Exception raised in failure situation
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||