| Package | Description |
|---|---|
| com.sap.portal.resource.repository | |
| com.sapportals.portal.pcd.gl |
Main API package of the Pcd Generic Layer (GL).
|
| Modifier and Type | Method and Description |
|---|---|
void |
IWebResourceImportSrv.importApplicationResources(String appName,
String resourcesRootPath,
String targetPath,
boolean overwrite,
Locale originalLocale)
Imports application resources into the Web Resource Repository.
|
void |
IWebResourceImportSrv.importApplicationResources(String appName,
String resourcesRootPath,
String targetPath,
Locale originalLocale)
Imports application resources into the Web Resource Repository.
|
| Modifier and Type | Method and Description |
|---|---|
ILock |
ILockHandle.create(String userId,
String sessionId,
String description)
Creates a new lock in the lock registry and returns a new instance of
ILock) for the pcd unit
to which this ILockHandle instance refers. |
ILock |
ILockHandle.get()
Returns a lock object for an existing lock for the Pcd unit.
|
String |
ILock.getChangelistId()
Returns the id of the change recording change list containing the object this
lock is associated with, or
null if the object is not checked out. |
long |
ILockHandle.getConfiguredLockLifespan()
Return the configured value for the lifespan of a lock.
|
long |
ILockHandle.getConfiguredProtectionSpan()
Returns the configured value for the protection span of a lock.
|
String |
ILock.getDescription()
Returns the description which was stored with the lock when this lock
object was created.
|
long |
ILock.getRemainigLifespan()
Returns the remaining life span (time to expiration) of this lock object
in milliseconds.
|
long |
ILock.getRemainingProtectionSpan()
Returns the remaining protection span of this lock object in
milliseconds.
|
String |
ILock.getSessionId()
Returns the session id which was relevant for the lock when this lock
object was created.
|
LockState |
ILock.getState()
Returns the current state of this lock object.
|
LockState |
ILock.getStateAndRefresh(String userId,
String sessionId)
Returns the current state of this lock object and perform a
refresh (see ILock.refresh(java.lang.String, java.lang.String)for more information) on the
lock if possible. |
String |
ILock.getUserId()
Returns the id of the owner of the lock when this lock object was
created.
|
void |
ILock.refresh(String userId,
String sessionId)
Refresh the lock entry which means that it's last modification time is
updated.
|
void |
ILock.release(String userId,
String sessionId)
Release the lock (i.e. unlock the resource), which removes the lock in
the registry.
|
ILock |
ILock.take(String userId,
String sessionId,
String description)
Take this lock from its current owner/session after it's lifespan is
over.
|
ILock |
ILock.take(String userId,
String sessionId,
String description,
boolean administrativeMode)
Take this lock from its current owner/session even before it's
lifespan is over.
|
Copyright 2021 SAP SE Complete Copyright Notice