|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.ResourceImpl
org.apache.wvcm.ActivityImpl
public class ActivityImpl
Implementation of Activity.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl |
---|
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Field Summary |
---|
Fields inherited from class org.apache.wvcm.ResourceImpl |
---|
dnsp, MISSING_PROPERTY_VALUE |
Constructor Summary | |
---|---|
ActivityImpl(Location location)
Constructor |
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 that identify activities
whose versions are treated as if
they were members of the ActivityVersionList of this Activity . |
void |
setSubactivityList(java.util.List subactivityList)
Update the SubactivityList property of this Activity . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActivityImpl(Location location)
Method Detail |
---|
public void setSubactivityList(java.util.List subactivityList)
Activity
.
setSubactivityList
in interface Activity
subactivityList
- The list of Activity
objects that will be the
new value of the SubactivityList property.public java.util.List getSubactivityList() throws WvcmException
Activity
objects that identify activities
whose versions are treated as if
they were members of the ActivityVersionList of this Activity
.
getSubactivityList
in interface Activity
WvcmException
- if this Activity
was not created with
PropertyName.SUBACTIVITY_LIST
as a wanted property.getActivityVersionList()
public void doCreateResource() throws WvcmException
doCreateResource
in interface Activity
WvcmException
- Preconditions:
public java.util.List getActivityCheckoutList() throws WvcmException
ControllableResource
objects that
identify all version-controlled resources that are checked out
to this Activity
.
getActivityCheckoutList
in interface Activity
WvcmException
- if this Activity
was not created with
PropertyName.ACTIVITY_CHECKOUT_LIST
as a wanted property.public java.util.List getActivityVersionList() throws WvcmException
Version
objects that identify versions
that were created for this Activity
.
getActivityVersionList
in interface Activity
WvcmException
- if this Activity
was not created with
PropertyName.ACTIVITY_VERSION_LIST
as a wanted property.public void doCheckin(boolean keepCheckedOut, boolean forkOK) throws WvcmException
doCheckin
to each member of the ActivityCheckoutList of this Activity
.
doCheckin
in interface Activity
keepCheckedOut
- passed into each checkin request.forkOK
- passed into each checkin request.
WvcmException
- Preconditions:
public java.util.List getCurrentWorkspaceList() throws WvcmException
Workspace
objects that identify
workspaces that refer to this Activity
in their CurrentActivityList.
getCurrentWorkspaceList
in interface Activity
WvcmException
- if this Activity
was not created with
PropertyName.CURRENT_WORKSPACE_LIST
as a wanted property.Workspace.getCurrentActivityList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |