| Package | Description |
|---|---|
| com.sap.sl.sdk.authoring.cms |
This package provides classes to publish and retrieve resources stored in a CMS.
|
| com.sap.sl.sdk.authoring.local |
This package contains an interface that you can use to perform some tasks on local resources (save, publish, retrieve, check integrity).
|
| Modifier and Type | Method and Description |
|---|---|
void |
CmsSecurityService.assignSecurityProfile(java.lang.String universePath,
java.lang.String securityProfileName,
SecurityProfileType securityProfileType,
java.lang.String principalName)
Deprecated.
|
void |
CmsSecurityService.attachSecurityProfile(java.lang.String universePath,
SecurityProfile securityProfile)
Deprecated.
|
void |
CmsResourceService.changeUniverseConnection(java.lang.String repositoryUniversePath,
java.lang.String repositoryConnectionPath)
Replaces a connection from a published universe by another connection stored in the repository.
|
void |
CmsResourceService.changeUniverseConnections(java.lang.String repositoryUniversePath,
java.util.Map<java.lang.String,java.lang.String> repositoryConnectionPathMap)
Replaces a list of connections from a published multisource-enabled universe by another list of connections stored in the
repository.
|
void |
UniverseSecurityCache.close()
Closes the
UniverseSecurityCache once it is no longer in use. |
void |
CmsResourceService.close(SlResource resource)
Releases the resource to avoid memory leak.
|
IStatus |
UniverseSecurityCache.commit() |
void |
CmsResourceService.convertUniverse(java.lang.String sourceUnvFilePath,
java.lang.String destinationFolder,
java.lang.String newResourceName,
boolean isPromptConverted)
Deprecated.
|
void |
CmsResourceService.convertUniverse(java.lang.String sourceUnvFilePath,
java.lang.String destinationFolder,
java.lang.String newResourceName,
boolean isPromptConverted,
boolean isCoreUniversesIncluded,
boolean isOverwritten)
Deprecated.
|
java.lang.String |
CmsResourceService.createShortcut(java.lang.String repositoryPath,
java.lang.String targetFolder)
Creates a connection shortcut (
.cns) in the local workspace from a published connection (
.cnx). |
void |
CmsSecurityService.detachSecurityProfile(SecurityProfile securityProfile)
Deprecated.
|
BusinessSecurityProfile |
CmsSecurityService.getBusinessSecurityProfile(java.lang.String universePath,
java.lang.String bspName)
Deprecated.
|
java.util.List<BusinessSecurityProfile> |
UniverseSecurityCache.getBusinessSecurityProfiles() |
java.util.List<BusinessSecurityProfile> |
CmsSecurityService.getBusinessSecurityProfiles(java.lang.String universePath)
Deprecated.
|
DataSecurityProfile |
CmsSecurityService.getDataSecurityProfile(java.lang.String universePath,
java.lang.String dspName)
Deprecated.
|
java.util.List<DataSecurityProfile> |
UniverseSecurityCache.getDataSecurityProfiles() |
java.util.List<DataSecurityProfile> |
CmsSecurityService.getDataSecurityProfiles(java.lang.String universePath)
Deprecated.
|
java.util.List<Principal> |
UniverseSecurityCache.getPrincipals(SecurityProfile securityProfile) |
java.util.List<java.lang.String> |
CmsSecurityService.getPrincipals(java.lang.String universePath,
java.lang.String securityProfileName,
SecurityProfileType securityProfileType)
Deprecated.
|
java.lang.String |
CmsResourceService.getResourceCuid(java.lang.String path)
Gets the CUID of the resource from its path in the CMS repository.
|
java.lang.String |
CmsResourceService.getResourcePath(java.lang.String cuid)
Gets the path of the resource in the CMS repository from its CUID.
|
java.util.List<java.lang.String> |
CmsResourceService.getUniverseConnections(java.lang.String repositoryUniversePath)
Returns the secured connections attached to a published universe.
|
int |
CmsResourceService.getUniverseRevisionNumber(java.lang.String unxIdentifier)
Gets the revision number of a .unx universe published in the CMS repository.
|
UniverseSecurityCache |
CmsSecurityService.getUniverseSecurityCache(java.lang.String universeIdentifier) |
DatabaseConnection |
CmsResourceService.loadConnection(java.lang.String connectionPath)
Returns a connection from its path in the repository.
|
java.lang.String |
CmsResourceService.publish(java.lang.String filePath,
java.lang.String repositoryPath,
boolean overwrite)
Creates or overwrites a resource (universe or connection) in the CMS.
|
java.lang.String |
CmsResourceService.retrieveUniverse(java.lang.String repositoryPath,
java.lang.String targetFolder,
boolean saveForAllUsers)
Creates resources (
.blx, .cns and .dfx if applicable) in the local
workspace from a published universe (.unx). |
void |
CmsResourceService.saveConnection(DatabaseConnection connection)
Updates a connection in the repository.
|
void |
CmsSecurityService.unassignSecurityProfile(java.lang.String universePath,
java.lang.String securityProfileName,
SecurityProfileType securityProfileType,
java.lang.String principalName)
Deprecated.
|
void |
CmsSecurityService.updateSecurityProfile(SecurityProfile securityProfile)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LocalResourceService.close(SlResource resource)
Releases the resource to avoid memory leak.
|
void |
LocalResourceService.convertUniverse(java.lang.String sourceUnvFilePath,
java.lang.String destinationFolder,
java.lang.String newResourceName,
boolean isPromptConverted)
Deprecated.
|
SlResource |
LocalResourceService.load(java.lang.String resourcePath)
Loads a resource that has been saved locally.
|
java.lang.String |
LocalResourceService.publish(java.lang.String businessLayerPath,
java.lang.String destinationFolderPath,
boolean overwrite)
Publishes a local business layer to a local
.unx universe. |
void |
LocalResourceService.repairBusinessLayer(java.lang.String businessLayerPath)
Repairs the business layer when some internal references between a business object and its tables have been lost.
|
java.lang.String |
LocalResourceService.retrieve(java.lang.String universePath,
java.lang.String destinationFolderPath)
Retrieves the local business layer, data foundation and connection from a local
.unx universe. |
IStatus |
LocalResourceService.save(SlResource resource,
java.lang.String localTargetPath,
boolean overwrite)
Saves a resource on the user machine.
|