|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activity
Represents an activity resource. See section 13 of RFC 3253.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Method Summary | |
---|---|
void |
doCheckin(boolean keepCheckedOut,
boolean forkOK)
Apply doCheckin
to each member of the ActivityCheckoutList of this Activity . |
void |
doCreateResource()
Create an activity on the server. |
java.util.List |
getActivityCheckoutList()
Return a list of ControllableResource objects that
identify all version-controlled resources that are checked out
to this Activity . |
java.util.List |
getActivityVersionList()
Return a list of Version objects that identify versions
that were created for this Activity . |
java.util.List |
getCurrentWorkspaceList()
Return a list of Workspace objects that identify
workspaces that refer to this Activity in their CurrentActivityList. |
java.util.List |
getSubactivityList()
Return a list of Activity objects. |
void |
setSubactivityList(java.util.List subactivityList)
Update the SubactivityList property of this Activity . |
Method Detail |
---|
void doCreateResource() throws WvcmException
WvcmException
- Preconditions:
WvcmException
- Postconditions:
void doCheckin(boolean keepCheckedOut, boolean forkOK) throws WvcmException
doCheckin
to each member of the ActivityCheckoutList of this Activity
.
keepCheckedOut
- passed into each checkin request.forkOK
- passed into each checkin request.
WvcmException
- Preconditions:
WvcmException
- Postconditions:
java.util.List getActivityCheckoutList() throws WvcmException
ControllableResource
objects that
identify all version-controlled resources that are checked out
to this Activity
.
WvcmException
- if this Activity
was not created with
ACTIVITY_CHECKOUT_LIST
as a wanted property.java.util.List getActivityVersionList() throws WvcmException
Version
objects that identify versions
that were created for this Activity
.
Multiple versions of a single version history can be selected by an activity's
ActivityVersionList property, but all ActivityVersionList versions
from a given version history must be on a single line of descent from
the root version of that version history.
WvcmException
- if this Activity
was not created with
ACTIVITY_VERSION_LIST
as a wanted property.java.util.List getCurrentWorkspaceList() throws WvcmException
Workspace
objects that identify
workspaces that refer to this Activity
in their CurrentActivityList.
WvcmException
- if this Activity
was not created with
CURRENT_WORKSPACE_LIST
as a wanted property.Workspace.getCurrentActivityList()
java.util.List getSubactivityList() throws WvcmException
Activity
objects.
An activity behaves as if its ActivityVersionList is extended by the ActivityVersionList
of each activity identified in the SubactivityList. In particular, the versions in this
extended set MUST be on a single line of descent, and when an activity selects a version for merging,
the latest version in this extended set is the one that will be merged.
WvcmException
- if this Activity
was not created with
SUBACTIVITY_LIST
as a wanted property.getActivityVersionList()
void setSubactivityList(java.util.List subactivityList)
Activity
.
A server MAY reject attempts to modify the SubactivityList of an activity.
subactivityList
- The list of Activity
objects that will be the
new value of the SubactivityList property.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |