|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tek42.perforce.parse.AbstractPerforceTemplate
com.tek42.perforce.parse.Groups
public class Groups
Object for working with perforce groups.
| Constructor Summary | |
|---|---|
Groups(Depot depot)
|
|
| Method Summary | |
|---|---|
Group |
getGroup(java.lang.String name)
Retrieves a single group specified by name. |
java.util.List<Group> |
getGroups()
Retrieves all groups in the perforce server. |
void |
saveGroup(Group group)
Saves changes to an existing group, or creates a new one. |
| Methods inherited from class com.tek42.perforce.parse.AbstractPerforceTemplate |
|---|
getExtraParams, getLogger, getPerforceResponse, getRawPerforceResponseLines, hitMax, login, parseList, saveToPerforce |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Groups(Depot depot)
| Method Detail |
|---|
public Group getGroup(java.lang.String name)
throws PerforceException
name - The name of the group to retrieve.
PerforceException - If there is a problem or the group was not found.
public void saveGroup(Group group)
throws PerforceException
group - The group to save.
PerforceException - When there is a problem.
public java.util.List<Group> getGroups()
throws PerforceException
PerforceException - when there is a problem.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||