Interface SoftwareComponentInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote
- All Known Subinterfaces:
ApplicationInterface,ConfiguredComponentInterface,ConnectServerInterface,ConnectSpawnerInterface,DataStepBatchServerInterface,FtpServerInterface,GridMonitoringServerInterface,HttpServerInterface,JavaBatchServerInterface,LogicalConnectServerInterface,LogicalDataStepBatchServerInteface,LogicalGridServerInterface,LogicalJavaBatchServerInterface,LogicalOSServerInterface,LogicalServerInterface,MSMQQueueManagerInterface,OperatingSystemServerInterface,OracleServerInterface,ProxyListInterface,QueueManagerInterface,SasInProcessServerInterface,ServerComponentInterface,ServerContextInterface,ServerInterface,ShareServerInterface,SPDSServerInterface,TableServerInterface,WebsphereQueueManagerInterface
- All Known Implementing Classes:
Application,OMRDatabaseServer,OMRHadoopServer,OMRPostgresServer,OMRProxyList,OMRSAPServer, com.sas.services.information.metadata.OMRServer, com.sas.services.information.metadata.OMRServerComponent, com.sas.services.information.metadata.OMRSoftwareComponent,OMRSPDSServer
-
Field Summary
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeployedComponent(ServerInterface server) Add a DeployedComponent to this SoftwareComponent.voidAdd aPropertyGroupInterfaceobject to this SoftwareComponent.voidaddSoftwareGroup(GroupInterface group) Add a SoftwareGroup to this SoftwareComponent.voidaddSoftwareTree(FolderInterface folder) Add a SoftwareTree to this SoftwareComponent.StringGet the unique class identifier for the software.ListGet the components that depend on this one.ListGet the components that this component depends on.ListGet the list of DeployedComponents associated to this SoftwareComponent.List<MetadataInterface> Get the list of objects that are implemented by the software described by this SoftwareComponent.intgetMajor()Get the major release number as an integer.intgetMinor()Get the minor release number as an integer.StringGet the platform or language of the SoftwareComponent.Map<String, String> StringAn ID representing the product.StringGet the name of the product this software comprises or is bundled with.ListGet the List ofPropertyGroupInterfaceobjects associated with this SoftwareComponent.Map<String, String> Get the attributes of this component in aSoftwareComponentAttributesobject.ListGet the SoftwareGroups for this SoftwareComponent.ListGet the List of SoftwareTrees for this SoftwareComponent.StringGet the software version of the SoftwareComponent.StringGet the name of the vendor that provided the specification.StringGet the specification number implemented by the SoftwareComponent.StringGet the String with the vendor name.StringGet the ID representing the software vendor.voidRemove a DeployedComponent from this SoftwareComponent.voidRemove aPropertyGroupInterfaceobject from the associated list.voidRemove a SoftwareGroup from this SoftwareComponent.voidremoveSoftwareTree(FolderInterface folder) Remove a Software tree from this SoftwareComponent.voidsetClassIdentifier(String classIdentifier) Set the class identifier for this SoftwareComponent.voidsetDeployedComponents(List servers) Set the List DeployedComponents on this SoftwareComponent.voidsetImplementedObjects(List<MetadataInterface> objects) Set the list of objects that are implemented by the software component described by this object.voidsetMajor(int major) Set the major release number.voidsetMinor(int minor) Set the minor release number.voidsetPlatform(String platform) Set the component platform.voidsetProductIdentifier(String productIdentifier) Set the product ID for this component.voidsetProductName(String productName) Set the name of the product this software is part of.voidsetPropertyGroups(List groups) Set the list of associatedPropertyGroupInterfaceobjects.voidSet the attributes of this component using aSoftwareComponentAttributesobject.voidsetSoftwareGroups(List groups) Set the List of SoftwareGroups on this SoftwareComponent.voidsetSoftwareTrees(List folders) Set the List of SoftwareTrees on this SoftwareComponent.voidsetSoftwareVersion(String version) Set the software version of the SoftwareComponent.voidsetSpecVendor(String specVendor) Set the name of the vendor that provided the specification.voidsetSpecVersion(String specVersion) Set the specification number implemented by the Software Component.voidsetVendor(String vendor) Set the vendor name string for the Software Component.voidsetVendorIdentifier(String vendorIdentifier) Set the ID representing the software vendor.Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
getSoftwareVersion
Get the software version of the SoftwareComponent.- Returns:
- The software version as a string.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSoftwareVersion
Set the software version of the SoftwareComponent.- Parameters:
version- The software version string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getMajor
Get the major release number as an integer.- Returns:
- The major release number.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setMajor
Set the major release number.- Parameters:
major- The integer representing the major release number.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getMinor
Get the minor release number as an integer.- Returns:
- The minor release number
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setMinor
Set the minor release number.- Parameters:
minor- The integer representing the minor release number.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getVendor
Get the String with the vendor name.- Returns:
- A String containing the vendor's name.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setVendor
Set the vendor name string for the Software Component.- Parameters:
vendor- A String containing the vendor's name.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getSpecVersion
Get the specification number implemented by the SoftwareComponent.- Returns:
- The specification number represented by a String.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSpecVersion
Set the specification number implemented by the Software Component.- Parameters:
specVersion- A String with the specification number.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getSpecVendor
Get the name of the vendor that provided the specification.- Returns:
- The name of the specification vendor.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSpecVendor
Set the name of the vendor that provided the specification.- Parameters:
specVendor- The name of the specification vendor.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getVendorIdentifier
Get the ID representing the software vendor.- Returns:
- The ID String of the software vendor.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setVendorIdentifier
Set the ID representing the software vendor.- Parameters:
vendorIdentifier- A string with the ID of the software vendor.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getClassIdentifier
Get the unique class identifier for the software. The class identifier should uniquely identify the type of software this SoftwareComponent represents.- Returns:
- The classidentifier String.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setClassIdentifier
Set the class identifier for this SoftwareComponent. The class identifier should uniquely identify the type of software this component represents.- Parameters:
classIdentifier- The class identifier string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getProductName
Get the name of the product this software comprises or is bundled with.- Returns:
- The product name.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setProductName
Set the name of the product this software is part of.- Parameters:
productName- The product name string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getPlatform
Get the platform or language of the SoftwareComponent.- Returns:
- The component platform String.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setPlatform
Set the component platform. This is the platform or language. Examples are COM or Java.- Parameters:
platform- The platform String.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getProductIdentifier
An ID representing the product.- Returns:
- The ID string representing this component's product.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setProductIdentifier
Set the product ID for this component.- Parameters:
productIdentifier- The ID of the product this component belongs to.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getSoftwareComponentAttributes
SoftwareComponentAttributes getSoftwareComponentAttributes() throws ServiceException, RemoteExceptionGet the attributes of this component in aSoftwareComponentAttributesobject.- Returns:
- The component attributes.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSoftwareComponentAttributes
void setSoftwareComponentAttributes(SoftwareComponentAttributes attributes) throws ServiceException, RemoteException Set the attributes of this component using aSoftwareComponentAttributesobject.- Parameters:
attributes- The new attributes of this SoftwareComponent. Any non-null String will replace the current value, and any integer > 0.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getSoftwareGroups
Get the SoftwareGroups for this SoftwareComponent.- Returns:
- A List of GroupInterface objects.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addSoftwareGroup
Add a SoftwareGroup to this SoftwareComponent.- Parameters:
group- A new GroupInterface to add as a SoftwareGroup.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removeSoftwareGroup
Remove a SoftwareGroup from this SoftwareComponent.- Parameters:
group- The Group to remove from the SoftwareGroups.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSoftwareGroups
Set the List of SoftwareGroups on this SoftwareComponent. If the list is null or empty, all SoftwareGroups will be disassociated.- Parameters:
groups- The list of GroupInterface objects to associate to this SoftwareComponent as SoftwareGroups.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getSoftwareTrees
Get the List of SoftwareTrees for this SoftwareComponent.- Returns:
- A List of FolderInterface objects representing the SoftwareTrees.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addSoftwareTree
Add a SoftwareTree to this SoftwareComponent.- Parameters:
folder- A FolderInterface object to add as a SoftwareTree.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removeSoftwareTree
Remove a Software tree from this SoftwareComponent.- Parameters:
folder- The FolderInterface to remove from the SoftwareTrees.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setSoftwareTrees
Set the List of SoftwareTrees on this SoftwareComponent. If the list is null or empty, all SoftwareTrees will be disassociated.- Parameters:
folders- The List of FolderInterface objects to associate to this SoftwareComponent as SoftwareTrees.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getDeployedComponents
Get the list of DeployedComponents associated to this SoftwareComponent.- Returns:
- A List of ServerInterface objects representing the DeployedComponents on this SoftwareComponent.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addDeployedComponent
Add a DeployedComponent to this SoftwareComponent.- Parameters:
server- The ServerInterface object to add as a DeployedComponent on this SoftwareComponent.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removeDeployedComponent
Remove a DeployedComponent from this SoftwareComponent.- Parameters:
server- The ServerInterface object to remove from the DeployedComponents.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setDeployedComponents
Set the List DeployedComponents on this SoftwareComponent. If the list is null or empty, all DeployedComponents will be disassociated.- Parameters:
servers- The List of ServerInterface objects to associate to this SoftwareComponent as DeployedComponents.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getPropertyGroups
Get the List ofPropertyGroupInterfaceobjects associated with this SoftwareComponent.- Returns:
- A List of
PropertyGroupInterfaceobjects associated to this SoftwareComponent. - Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addPropertyGroup
Add aPropertyGroupInterfaceobject to this SoftwareComponent.- Parameters:
group- APropertyGroupInterfaceobject to associate to this SoftwareComponent.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removePropertyGroup
Remove aPropertyGroupInterfaceobject from the associated list.- Parameters:
group- APropertyGroupInterfaceobject to remove from the associated list.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setPropertyGroups
Set the list of associatedPropertyGroupInterfaceobjects.- Parameters:
groups- A List of associatedPropertyGroupInterfaceobjects.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getDependentComponents
Get the components that depend on this one. This association is going "down" the dependency chain.- Returns:
- A List of SoftwareComponentInterface objects that depend on this one.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getDependsOnComponents
Get the components that this component depends on. This association is going "up" the dependency chain.- Returns:
- A List of SoftwareComponentInterface objects that this one depends on.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getPublicConfigurableProperties
- Throws:
ServiceExceptionRemoteException
-
getPrivateConfigurableProperties
- Throws:
ServiceExceptionRemoteException
-
getImplementedObjects
Get the list of objects that are implemented by the software described by this SoftwareComponent.- Returns:
- a List of MetadataInterface objects that are implemented by this component.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setImplementedObjects
void setImplementedObjects(List<MetadataInterface> objects) throws ServiceException, RemoteException Set the list of objects that are implemented by the software component described by this object.- Parameters:
objects- The list of objects implemented by this one.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-