edu.internet2.middleware.grouperClient.ws.beans
Class WsRestAssignGrouperPrivilegesRequest

java.lang.Object
  extended by edu.internet2.middleware.grouperClient.ws.beans.WsRestAssignGrouperPrivilegesRequest
All Implemented Interfaces:
WsRequestBean

public class WsRestAssignGrouperPrivilegesRequest
extends java.lang.Object
implements WsRequestBean

 Class with data about assigning privileges for a subject and group
 
 

Author:
mchyzer

Constructor Summary
WsRestAssignGrouperPrivilegesRequest()
           
 
Method Summary
 WsSubjectLookup getActAsSubjectLookup()
          who to act as if not the connecting user
 java.lang.String getAllowed()
          T or F as to whether this privilege is being assigned or removed
 java.lang.String getClientVersion()
          version of the client.
 java.lang.String getIncludeGroupDetail()
          T or F as for if group detail should be included
 java.lang.String getIncludeSubjectDetail()
          T|F, for if the extended subject information should be returned (anything more than just the id)
 WsParam[] getParams()
           
 java.lang.String[] getPrivilegeNames()
          (e.g.
 java.lang.String getPrivilegeType()
          privilegeType (e.g.
 java.lang.String getReplaceAllExisting()
          T to replace existing members, F or blank to just change assignments.
 java.lang.String[] getSubjectAttributeNames()
           
 java.lang.String getTxType()
           
 WsGroupLookup getWsGroupLookup()
          group to assign privilege
 WsStemLookup getWsStemLookup()
          stem to assign privilege
 WsSubjectLookup[] getWsSubjectLookups()
          subjects to assign to
 void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1)
          who to act as if not the connecting user
 void setAllowed(java.lang.String allowed1)
          T or F as to whether this privilege is being assigned or removed
 void setClientVersion(java.lang.String clientVersion1)
           
 void setIncludeGroupDetail(java.lang.String includeGroupDetail1)
          T or F as for if group detail should be included
 void setIncludeSubjectDetail(java.lang.String includeSubjectDetail1)
          T|F, for if the extended subject information should be returned (anything more than just the id)
 void setParams(WsParam[] params1)
           
 void setPrivilegeNames(java.lang.String[] privilegeNames1)
          (e.g.
 void setPrivilegeType(java.lang.String privilegeType1)
          privilegeType (e.g.
 void setReplaceAllExisting(java.lang.String replaceAllExisting1)
           
 void setSubjectAttributeNames(java.lang.String[] subjectAttributeNames1)
           
 void setTxType(java.lang.String txType1)
           
 void setWsGroupLookup(WsGroupLookup wsGroupLookup1)
          group to assign privilege
 void setWsStemLookup(WsStemLookup wsStemLookup1)
          group to assign privilege
 void setWsSubjectLookups(WsSubjectLookup[] subjectLookups1)
          subjects to assign to
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsRestAssignGrouperPrivilegesRequest

public WsRestAssignGrouperPrivilegesRequest()
Method Detail

getReplaceAllExisting

public java.lang.String getReplaceAllExisting()
T to replace existing members, F or blank to just change assignments. Only for allowed T

Returns:
replace all existing

setReplaceAllExisting

public void setReplaceAllExisting(java.lang.String replaceAllExisting1)
Parameters:
replaceAllExisting1 -

getWsGroupLookup

public WsGroupLookup getWsGroupLookup()
group to assign privilege

Returns:
group lookup

setWsGroupLookup

public void setWsGroupLookup(WsGroupLookup wsGroupLookup1)
group to assign privilege

Parameters:
wsGroupLookup1 -

getWsStemLookup

public WsStemLookup getWsStemLookup()
stem to assign privilege

Returns:
stem lookup

setWsStemLookup

public void setWsStemLookup(WsStemLookup wsStemLookup1)
group to assign privilege

Parameters:
wsStemLookup1 -

getClientVersion

public java.lang.String getClientVersion()
version of the client. Must be in GrouperWsVersion, e.g. v1_3_000

Returns:
version

setClientVersion

public void setClientVersion(java.lang.String clientVersion1)
Parameters:
clientVersion1 -

getPrivilegeType

public java.lang.String getPrivilegeType()
privilegeType (e.g. "access" for groups and "naming" for stems)

Returns:
type

setPrivilegeType

public void setPrivilegeType(java.lang.String privilegeType1)
privilegeType (e.g. "access" for groups and "naming" for stems)

Parameters:
privilegeType1 -

getPrivilegeNames

public java.lang.String[] getPrivilegeNames()
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Returns:
name

setPrivilegeNames

public void setPrivilegeNames(java.lang.String[] privilegeNames1)
(e.g. for groups: read, view, update, admin, optin, optout. e.g. for stems: stem, create)

Parameters:
privilegeNames1 -

getIncludeSubjectDetail

public java.lang.String getIncludeSubjectDetail()
T|F, for if the extended subject information should be returned (anything more than just the id)

Returns:
include detail

setIncludeSubjectDetail

public void setIncludeSubjectDetail(java.lang.String includeSubjectDetail1)
T|F, for if the extended subject information should be returned (anything more than just the id)

Parameters:
includeSubjectDetail1 -

getIncludeGroupDetail

public java.lang.String getIncludeGroupDetail()
T or F as for if group detail should be included

Returns:
T of F

setIncludeGroupDetail

public void setIncludeGroupDetail(java.lang.String includeGroupDetail1)
T or F as for if group detail should be included

Parameters:
includeGroupDetail1 -

getAllowed

public java.lang.String getAllowed()
T or F as to whether this privilege is being assigned or removed

Returns:
allowed

setAllowed

public void setAllowed(java.lang.String allowed1)
T or F as to whether this privilege is being assigned or removed

Parameters:
allowed1 -

getWsSubjectLookups

public WsSubjectLookup[] getWsSubjectLookups()
subjects to assign to

Returns:
the subjectLookups

setWsSubjectLookups

public void setWsSubjectLookups(WsSubjectLookup[] subjectLookups1)
subjects to assign to

Parameters:
subjectLookups1 - the subjectLookups to set

getActAsSubjectLookup

public WsSubjectLookup getActAsSubjectLookup()
who to act as if not the connecting user

Returns:
the actAsSubjectLookup

setActAsSubjectLookup

public void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1)
who to act as if not the connecting user

Parameters:
actAsSubjectLookup1 - the actAsSubjectLookup to set

getSubjectAttributeNames

public java.lang.String[] getSubjectAttributeNames()
Returns:
the subjectAttributeNames

setSubjectAttributeNames

public void setSubjectAttributeNames(java.lang.String[] subjectAttributeNames1)
Parameters:
subjectAttributeNames1 - the subjectAttributeNames to set

getTxType

public java.lang.String getTxType()
Returns:
the txType

setTxType

public void setTxType(java.lang.String txType1)
Parameters:
txType1 - the txType to set

getParams

public WsParam[] getParams()
Returns:
the params

setParams

public void setParams(WsParam[] params1)
Parameters:
params1 - the params to set