com.businessobjects.sdk.plugin.desktop.servicecommon
Class ServiceCommon

java.lang.Object
  extended by AbstractInfoObject
      extended by com.businessobjects.sdk.plugin.desktop.servicecommon.ServiceCommon
All Implemented Interfaces:
IServiceCommon, IInfoObject

public abstract class ServiceCommon
extends AbstractInfoObject
implements IServiceCommon


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.crystaldecisions.sdk.occa.infostore.IInfoObject
IInfoObject.CommitLevel, IInfoObject.Delta, IInfoObject.LocaleOption, IInfoObject.LockStatus, IInfoObject.PropertySet
 
Constructor Summary
ServiceCommon()
           
 
Method Summary
 IConfigProperties addConfigProps()
          Returns a new, empty collection of configuration properties for this service/service container or returns the existing configuration properties if they exist.
 IConfigProperties getConfigProps()
          Returns the configuration properties that are defined for this service/service container, or null if there are no configuration properties defined.
 java.lang.String getDescription(java.util.Locale locale)
          Returns the localized description of this service/service container.
 java.lang.String getMessageString(int resourceid, java.util.Locale loc, java.util.List substrings)
          Returns the actual message string based on resource id and locale.
 java.lang.String getServerKind()
          Returns the server kind that is assigned to servers that use this service/service container.
 IIntegerProps getSupportedAuditEvents()
          Returns the IDs for the audit events that are supported by this service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.crystaldecisions.sdk.occa.infostore.IInfoObject
applyDelta, applyDelta, clearTenantID, deleteNow, getCommitLevel, getCUID, getDelta, getDelta, getDescription, getDescription, getDescriptionLocales, getFileLocales, getFiles, getFiles, getGUID, getID, getKeyword, getKind, getLockInfo, getOwner, getOwnerID, getParent, getParent, getParentCUID, getParentID, getProcessingInfo, getProgID, getRUID, getSchedulingInfo, getSecurityInfo, getSecurityInfo2, getSourceFiles, getSpecificKind, getSpecificProgID, getTenantID, getTitle, getTitle, getTitle, getTitleLocales, getUpdateTimeStamp, isDirty, isInstance, isLockHeld, isMarkedAsRead, isReadOnly, properties, propertyIDs, releaseLock, removeFiles, removeSourceFiles, retrievePropertySet, save, setCommitLevel, setDescription, setKeyword, setMarkedAsRead, setParentID, setTenantID, setTitle, unlockNow
 

Constructor Detail

ServiceCommon

public ServiceCommon()
Method Detail

getConfigProps

public IConfigProperties getConfigProps()
Description copied from interface: IServiceCommon
Returns the configuration properties that are defined for this service/service container, or null if there are no configuration properties defined. These configuration properties are used as the defaults when a server is configured to use this service/service container.

To read this value, this object must contain the SI_CONFIG property.

Specified by:
getConfigProps in interface IServiceCommon
Returns:
The configuration property collection for this service/service container.

addConfigProps

public IConfigProperties addConfigProps()
Description copied from interface: IServiceCommon
Returns a new, empty collection of configuration properties for this service/service container or returns the existing configuration properties if they exist.

To read this value, this object must contain the SI_CONFIG property.

Specified by:
addConfigProps in interface IServiceCommon
Returns:
The configuration property collection for this service/service container.

getSupportedAuditEvents

public IIntegerProps getSupportedAuditEvents()
Description copied from interface: IServiceCommon
Returns the IDs for the audit events that are supported by this service.

To read this value, this object must contain the SI_SUPPORTED_AUDIT_EVENTS property.

Specified by:
getSupportedAuditEvents in interface IServiceCommon
Returns:
A read-only collection of audit event IDs

getDescription

public java.lang.String getDescription(java.util.Locale locale)
                                throws SDKException
Description copied from interface: IServiceCommon
Returns the localized description of this service/service container.

To read this value, this object must contain the SI_ML_DESCRIPTION property.

Specified by:
getDescription in interface IServiceCommon
Specified by:
getDescription in interface IInfoObject
Parameters:
locale - The locale for the description.
Returns:
The localized description of this service/service container.
Throws:
SDKException - if the process is unsuccessful.

getServerKind

public java.lang.String getServerKind()
Description copied from interface: IServiceCommon
Returns the server kind that is assigned to servers that use this service/service container.

To read this value, this object must contain the SI_SERVER_KIND property.

Specified by:
getServerKind in interface IServiceCommon
Returns:
The server kind.

getMessageString

public java.lang.String getMessageString(int resourceid,
                                         java.util.Locale loc,
                                         java.util.List substrings)
Description copied from interface: IServiceCommon
Returns the actual message string based on resource id and locale. The resource id is from #getResourceID().

Specified by:
getMessageString in interface IServiceCommon
Parameters:
resourceid - Resource ID to get the message string
loc - locale of the message string
substrings - substrings of the message string
Returns:
the actual message string based on resource id and locale