|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for version (revision) resources (see RFC3253 ).
Copyright (c) SAP AG 2002-2004
| Field Summary | |
static IName |
FORKBEHAVIOUR_DISCOURAGED
Forks are discouraged, and a checkin/checkout request must specifically allow them. |
static IName |
FORKBEHAVIOUR_FORBIDDEN
Forks are forbidden, and a checkin/checkout requests creating a fork will be rejected. |
| Method Summary | |
void |
addLabel(String labelName)
Adds the given label if and only if it didn't exist before in the version's version history. |
ICheckOutInfo2 |
checkOut(boolean forkOk)
Checkout the version. |
IResourceList |
getCheckedOutResources()
|
IRidSet |
getCheckedOutRIDs()
|
Set |
getCheckInForkBehaviour()
|
Set |
getCheckOutForkBehaviour()
|
Set |
getLabelSet()
|
IResourceList |
getPredecessorResources()
|
IRidSet |
getPredecessorRIDs()
|
IResourceList |
getSuccessorResources()
|
IRidSet |
getSuccessorRIDs()
|
IResource |
getVersionHistoryResource()
|
RID |
getVersionHistoryRID()
|
void |
removeLabel(String labelName)
Removes the given label from the resource if present (removing non-existing labels should be signaled through an exception) |
void |
setLabel(String labelName)
Sets the given label on the version (removing it from other versions if present) |
| Field Detail |
public static final IName FORKBEHAVIOUR_DISCOURAGED
public static final IName FORKBEHAVIOUR_FORBIDDEN
| Method Detail |
public ICheckOutInfo2 checkOut(boolean forkOk)
throws ResourceException
forkOk - set to true if it's ok to cause a fork in the
version history (may be rejected nevertheless if the checkout fork
behaviour dictates this).
ResourceException - Exception raised in failure situation
public IResourceList getCheckedOutResources()
throws ResourceException
ResourceException
public Set getCheckInForkBehaviour()
throws ResourceException
ResourceException - Exception raised in failure situationFORKBEHAVIOUR_DISCOURAGED,
FORKBEHAVIOUR_FORBIDDEN
public Set getCheckOutForkBehaviour()
throws ResourceException
ResourceException - Exception raised in failure situationFORKBEHAVIOUR_DISCOURAGED,
FORKBEHAVIOUR_FORBIDDEN
public IRidSet getCheckedOutRIDs()
throws ResourceException
ResourceException
public IResourceList getPredecessorResources()
throws ResourceException
ResourceException
public IRidSet getPredecessorRIDs()
throws ResourceException
ResourceException
public IResource getVersionHistoryResource()
throws ResourceException
null if
version history resources are not supported).
ResourceException
public RID getVersionHistoryRID()
throws ResourceException
null if version
history resources are not supported).
ResourceException
public IResourceList getSuccessorResources()
throws ResourceException
ResourceException
public IRidSet getSuccessorRIDs()
throws ResourceException
ResourceException
public void addLabel(String labelName)
throws ResourceException
labelName - label
ResourceException - Exception raised in failure situation
public void setLabel(String labelName)
throws ResourceException
labelName - label
ResourceException - Exception raised in failure situation
public void removeLabel(String labelName)
throws ResourceException
labelName - label
ResourceException - Exception raised in failure situation
public Set getLabelSet()
throws ResourceException
ResourceException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||