|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static java.lang.String |
CHECKOUT_MODE_AUTOMATICALLY
|
static java.lang.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,
java.lang.String localhost,
java.lang.String localFile,
java.lang.String checkoutMode)
Adds a checkout item to the specified resource. |
java.lang.String |
getCheckoutHost(IResource resource)
Returns the host to which the file is checked out to |
java.lang.String |
getCheckoutMode(IResource resource)
Gets the current checkout status |
java.lang.String |
getCheckoutPath(IResource resource)
Returns the path to which the file is checked out to |
com.sapportals.portal.security.usermanagement.IUser |
getCheckOutUser(IResource resource)
Returns the 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,
java.lang.String localhost,
java.lang.String localFile,
java.lang.String checkoutMode)
Sets a checkout status |
| Field Detail |
public static final java.lang.String CHECKOUT_MODE_USER_DEFINED_PATH
public static final java.lang.String CHECKOUT_MODE_AUTOMATICALLY
| Method Detail |
public boolean isCheckoutEnable(IResource resource)
throws WcmException
the - resource to check out
public boolean isCheckedOut(IResource resource)
throws WcmException
public com.sapportals.portal.security.usermanagement.IUser getCheckOutUser(IResource resource)
throws WcmException
public boolean checkout(IResource resource,
java.lang.String localhost,
java.lang.String localFile,
java.lang.String checkoutMode)
throws 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
public boolean canCancelCheckout(IResource resource)
throws WcmException
the - resource to cancel check out
public boolean cancelCheckout(IResource resource)
throws WcmException
public boolean canCheckin(IResource resource)
throws WcmException
the - resource to check in
public boolean checkin(IResource resource)
throws WcmException
resource - resource for which the checkout item exists
public void setCheckoutMode(IResource resource,
java.lang.String localhost,
java.lang.String localFile,
java.lang.String checkoutMode)
throws 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.
public java.lang.String getCheckoutMode(IResource resource)
throws WcmException
public java.lang.String getCheckoutHost(IResource resource)
throws WcmException
public java.lang.String getCheckoutPath(IResource resource)
throws WcmException
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||