|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICheckout
| Field Summary | |
|---|---|
static String |
CHECKOUT_MODE_AUTOMATICALLY
|
static String |
CHECKOUT_MODE_USER_DEFINED_PATH
|
| Method Summary | |
|---|---|
boolean |
canCancelCheckout(IResource resource)
Checks whether the resource can be checkout cancelled by the current user |
boolean |
cancelCheckout(IResource resource)
|
boolean |
canCheckin(IResource resource)
Checks whether the resource can be checked in by the current user |
boolean |
checkin(IResource resource)
Deletes a checkout item belonging to a resource |
boolean |
checkout(IResource resource,
String localhost,
String localFile,
String checkoutMode)
Adds a checkout item to the specified resource. |
String |
getCheckoutHost(IResource resource)
Returns the host to which the file is checked out to |
String |
getCheckoutMode(IResource resource)
Gets the current checkout status |
String |
getCheckoutPath(IResource resource)
Returns the path to which the file is checked out to |
com.sapportals.portal.security.usermanagement.IUser |
getCheckOutUser(IResource resource)
Deprecated. As of NetWeaver 7.1, replaced by getCheckOutUserUME(IResource) |
com.sap.security.api.IUser |
getCheckOutUserUME(IResource resource)
Returns the ume user who checked out the item |
boolean |
isCheckedOut(IResource resource)
Returns flag, whether the resource is checked out or not |
boolean |
isCheckoutEnable(IResource resource)
Checks whether a resource can be checked out or not |
void |
setCheckoutMode(IResource resource,
String localhost,
String localFile,
String checkoutMode)
Sets a checkout status |
| Field Detail |
|---|
static final String CHECKOUT_MODE_USER_DEFINED_PATH
static final String CHECKOUT_MODE_AUTOMATICALLY
| Method Detail |
|---|
boolean isCheckoutEnable(IResource resource)
throws com.sapportals.wcm.WcmException
the - resource to check out
com.sapportals.wcm.WcmException
boolean isCheckedOut(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
com.sapportals.portal.security.usermanagement.IUser getCheckOutUser(IResource resource)
throws com.sapportals.wcm.WcmException
getCheckOutUserUME(IResource)
com.sapportals.wcm.WcmException
com.sap.security.api.IUser getCheckOutUserUME(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
boolean checkout(IResource resource,
String localhost,
String localFile,
String checkoutMode)
throws com.sapportals.wcm.WcmException
resource - the resource for which the feedback is givenlocalFile - path of the file to createlocalhost - host to which the file will be checked out
com.sapportals.wcm.WcmException
boolean canCancelCheckout(IResource resource)
throws com.sapportals.wcm.WcmException
the - resource to cancel check out
com.sapportals.wcm.WcmException
boolean cancelCheckout(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
boolean canCheckin(IResource resource)
throws com.sapportals.wcm.WcmException
the - resource to check in
com.sapportals.wcm.WcmException
boolean checkin(IResource resource)
throws com.sapportals.wcm.WcmException
resource - resource for which the checkout item exists
com.sapportals.wcm.WcmException
void setCheckoutMode(IResource resource,
String localhost,
String localFile,
String checkoutMode)
throws com.sapportals.wcm.WcmException
checkoutMode - if set to user defined path the user will be asked
for the checked out resource while uploading the
edited version. If the status is set to
automatically the resource will be uploaded without
user interaction. In this case the resource should
not be moved away from the storing position.
com.sapportals.wcm.WcmException
String getCheckoutMode(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
String getCheckoutHost(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
String getCheckoutPath(IResource resource)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||