Package com.portal.app.cc.sharing
Class AvailableProfilesObj
java.lang.Object
com.portal.app.cc.sharing.AvailableProfilesObj
This class stores the data related to a Profiles Available.
This class is used while showing Available Profiles in PProfileSharingAvailableDialog.java
PProfileGroupDialog.java and PProfileMembershipPanel.java.
-
Constructor Summary
ConstructorsConstructorDescriptionAvailableProfilesObj
(Poid profilePoid, String type, String label, String service_account, Poid servicePoid, int index) Constructs anProfileObj
with the specified data.AvailableProfilesObj
(Poid accountPoid, String groupName, String type, String label, String service_account) Constructs anProfileObj
with the specified data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the accountPoid Poid.Returns the groupName String.Returns the groupPoid Poid.int
getIndex()
Returns the index int.getLabel()
Returns the label String.Returns the profilePoid Poid.Returns the service_account String.getType()
Returns the type String.boolean
Returns the selected boolean.void
setAccountPoid
(Poid accountPoid) This will set theaccountPoid
.void
setGroupName
(String groupName) This will set thegroupName
.void
setGroupPoid
(Poid groupPoid) This will set thegroupPoid
.void
setIndex
(int index) Set the array index to the objectvoid
This will set thelabel
.void
setProfilePoid
(Poid profilePoid) This will set theprofilePoid
.void
setSelected
(boolean selected) This will set theselected
.void
setService_account
(String service_account) This will set theservice_account
.void
This will set thetype
.
-
Constructor Details
-
AvailableProfilesObj
public AvailableProfilesObj(Poid profilePoid, String type, String label, String service_account, Poid servicePoid, int index) Constructs anProfileObj
with the specified data.- Parameters:
Poid
- profilePoidString
- typeString
- labelString
- service_accountPoid
- servicePoidint
- index
-
AvailableProfilesObj
public AvailableProfilesObj(Poid accountPoid, String groupName, String type, String label, String service_account) Constructs anProfileObj
with the specified data.- Parameters:
Poid
- accountPoidString
- groupNameString
- typeString
- labelString
- service_account
-
-
Method Details
-
getLabel
Returns the label String.- Returns:
- String
-
setLabel
This will set thelabel
.- Parameters:
label
- String
-
isSelected
public boolean isSelected()Returns the selected boolean.- Returns:
- boolean
-
setSelected
public void setSelected(boolean selected) This will set theselected
.- Parameters:
selected
- boolean
-
getService_account
Returns the service_account String.- Returns:
- String
-
setService_account
This will set theservice_account
.- Parameters:
service_account
- String
-
getType
Returns the type String.- Returns:
- String
-
setType
This will set thetype
.- Parameters:
type
- String
-
getGroupName
Returns the groupName String.- Returns:
- String
-
setGroupName
This will set thegroupName
.- Parameters:
groupName
- String
-
getProfilePoid
Returns the profilePoid Poid.- Returns:
- Poid
-
setProfilePoid
This will set theprofilePoid
.- Parameters:
Poid
- profilePoid
-
getIndex
public int getIndex()Returns the index int.- Returns:
- int
-
setIndex
public void setIndex(int index) Set the array index to the object- Parameters:
index
-
-
getGroupPoid
Returns the groupPoid Poid.- Returns:
- Poid
-
setGroupPoid
This will set thegroupPoid
.- Parameters:
Poid
- groupPoid
-
getAccountPoid
Returns the accountPoid Poid.- Returns:
- Poid
-
setAccountPoid
This will set theaccountPoid
.- Parameters:
Poid
- accountPoid
-