|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.rendering.base.ResourceCommandAmalgamation
public final class ResourceCommandAmalgamation
| Constructor Summary | |
|---|---|
ResourceCommandAmalgamation()
|
|
| Method Summary | |
|---|---|
IResource |
getParentCollection(IResource resource)
|
RidSet |
getShoppingBasketList(IResourceContext context)
|
boolean |
isAccessible(IResource resource,
String permission)
Checks is the resource is accessible. |
boolean |
isAccessibleNative(IResource resource,
String permission)
Checks is the resource is accessible - true, if the resource is accessible - true, if an exception occurs while checking - false, if the resource not accessible |
boolean |
isCheckedOut(IResource resource)
Checks is the resource is checked out - true, if the resource is checked out by this user - false, if an exception occurs while checking - resource is not checked out- false, if the resource not checked out at all |
boolean |
isLocked(IResource res)
Checks is the resource is locked without checking if the user is a lock breaker - true, if the resource is locked by me or another user - false, if an exception occurs while checking - resource not locked - false, if the resource is not locked by anyone |
boolean |
isLockedByMe(IResource res)
Checks is the resource is locked by this user - true, if the resource is locked by this user - false, if an exception occurs while checking - resource is not locked by me- false, if the resource is locked by another or not locked at all |
boolean |
isLockedByMeAndSupported(IResource resource)
checks if the resource is locked by me and if create resource, create collection and locking options are supported |
boolean |
isLockedForUser(IResource res)
Checks if the resource is locked for this user without checking if the user is a lock breaker - true, if the resource is locked by another user - false, if an exception occurs while checking - resource is not locked - false, if the resource is locked by me or not locked at all |
boolean |
isLockedUnbreakable(IResource res)
checks, if the resource is locked and cannot be unlocked by the current user. |
boolean |
isNotVersionedOrCheckedOutByMe(IResource resource)
|
boolean |
isRevision(IResource resource)
Checks is the resource is revisioned - true, if the resource has revisions - false, if an exception occurs while checking - false, if the resource does not have revisions |
boolean |
isSupported(IResource resource,
SupportedOption option)
Checks is the option is supported for this resource - true, if the option is supported or if the result could not be retrieved- false, otherwise |
boolean |
isVersioned(IResource resource)
Checks if the resource is versioned - true, if the resource is versioned and versioning is supported - false, otherwise or if an exception occurs while checking |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceCommandAmalgamation()
| Method Detail |
|---|
public final boolean isAccessible(IResource resource,
String permission)
throws WcmException
isAccessibleNative,
a mapping of requested permissions is done first. Mapping looks as follows and is subject to change isAccessibleNative method
true, if the resource is accessible true, if an exception occurs while checking false, if the resource not accessible
resource -
WcmException
public final boolean isAccessibleNative(IResource resource,
String permission)
throws WcmException
true, if the resource is accessible true, if an exception occurs while checking false, if the resource not accessible
resource -
WcmException
public final boolean isRevision(IResource resource)
throws WcmException
true, if the resource has revisions false, if an exception occurs while checking false, if the resource does not have revisions
resource -
WcmException
public final boolean isSupported(IResource resource,
SupportedOption option)
throws WcmException
true, if the option is supported or if the result could not be retrievedfalse, otherwise
resource - option -
WcmException
public final boolean isVersioned(IResource resource)
throws WcmException
true, if the resource is versioned and versioning is supported false, otherwise or if an exception occurs while checking
resource -
WcmException
public final boolean isCheckedOut(IResource resource)
throws WcmException
true, if the resource is checked out by this user false, if an exception occurs while checking - resource is not checked outfalse, if the resource not checked out at all
resource -
WcmException
public final boolean isNotVersionedOrCheckedOutByMe(IResource resource)
throws WcmException
WcmExceptionpublic final boolean isLockedByMe(IResource res)
true, if the resource is locked by this user false, if an exception occurs while checking - resource is not locked by mefalse, if the resource is locked by another or not locked at all
res - the resource to be checked
public final boolean isLocked(IResource res)
true, if the resource is locked by me or another user false, if an exception occurs while checking - resource not locked false, if the resource is not locked by anyone
res - the resource to be checked
public final IResource getParentCollection(IResource resource)
public final boolean isLockedForUser(IResource res)
true, if the resource is locked by another user false, if an exception occurs while checking - resource is not locked false, if the resource is locked by me or not locked at all
res - the resource to be checked
public final boolean isLockedUnbreakable(IResource res)
true, if the resource is locked by another user and the user is not a lock-breaker true, if an exception occurs while checking - this will be locked false otherwise
res - the resource to check the lock-state for, must not be null
public final boolean isLockedByMeAndSupported(IResource resource)
throws WcmException
resource -
WcmExceptionpublic RidSet getShoppingBasketList(IResourceContext context)
context - - the context of the current request, must not be null
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||