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 anProfileObjwith the specified data.AvailableProfilesObj(Poid accountPoid, String groupName, String type, String label, String service_account) Constructs anProfileObjwith the specified data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the accountPoid Poid.Returns the groupName String.Returns the groupPoid Poid.intgetIndex()Returns the index int.getLabel()Returns the label String.Returns the profilePoid Poid.Returns the service_account String.getType()Returns the type String.booleanReturns the selected boolean.voidsetAccountPoid(Poid accountPoid) This will set theaccountPoid.voidsetGroupName(String groupName) This will set thegroupName.voidsetGroupPoid(Poid groupPoid) This will set thegroupPoid.voidsetIndex(int index) Set the array index to the objectvoidThis will set thelabel.voidsetProfilePoid(Poid profilePoid) This will set theprofilePoid.voidsetSelected(boolean selected) This will set theselected.voidsetService_account(String service_account) This will set theservice_account.voidThis will set thetype.
-
Constructor Details
-
AvailableProfilesObj
public AvailableProfilesObj(Poid profilePoid, String type, String label, String service_account, Poid servicePoid, int index) Constructs anProfileObjwith 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 anProfileObjwith 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
-