Class GeoportalItemReferences
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.GeoportalItemReferences
-
- All Implemented Interfaces:
Serializable
public class GeoportalItemReferences extends Object implements Serializable
The Class GeoportalItemReferences.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Oct 18, 2022
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoportalItemReferences.SHARE_LINK_TOThe Enum SHARE_LINK_TO.
-
Constructor Summary
Constructors Constructor Description GeoportalItemReferences()Instantiates a new geo na object.GeoportalItemReferences(String projectID, String profileID)Deprecated.GeoportalItemReferences(String projectID, String profileID, String layerObjectType)Instantiates a new geo na item ref.GeoportalItemReferences(String projectID, String profileID, GeoportalItemReferences.SHARE_LINK_TO shareLinkTo)Instantiates a new geo na item ref.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemName()Gets the item name.StringgetLayerObjectType()Gets the layer object type.PublicLinkgetOpenLink()Gets the open link.StringgetProfileID()Gets the profile ID.StringgetProjectID()Gets the project ID.PublicLinkgetRestrictedLink()Gets the restricted link.GeoportalItemReferences.SHARE_LINK_TOgetShareLinkTo()Gets the share link to.voidsetItemName(String itemName)Sets the item name.voidsetOpenLink(PublicLink openLink)Sets the open link.voidsetRestrictedLink(PublicLink restrictedLink)Sets the restricted link.StringtoString()To string.
-
-
-
Constructor Detail
-
GeoportalItemReferences
public GeoportalItemReferences()
Instantiates a new geo na object.
-
GeoportalItemReferences
@Deprecated public GeoportalItemReferences(String projectID, String profileID)
Deprecated.Instantiates a new geoportal item references. Backward compatibility. Use {GeoportalItemReferences(String, String, SHARE_LINK_TO)}- Parameters:
projectID- the project IDprofileID- the profile ID
-
GeoportalItemReferences
public GeoportalItemReferences(String projectID, String profileID, GeoportalItemReferences.SHARE_LINK_TO shareLinkTo)
Instantiates a new geo na item ref.- Parameters:
projectID- the project IDprofileID- the profile IDshareLinkTo- the share link to
-
-
Method Detail
-
getProfileID
public String getProfileID()
Gets the profile ID.- Returns:
- the profile ID
-
getProjectID
public String getProjectID()
Gets the project ID.- Returns:
- the project ID
-
getLayerObjectType
public String getLayerObjectType()
Gets the layer object type.- Returns:
- the layer object type
-
getItemName
public String getItemName()
Gets the item name.- Returns:
- the item name
-
getShareLinkTo
public GeoportalItemReferences.SHARE_LINK_TO getShareLinkTo()
Gets the share link to.- Returns:
- the share link to
-
setItemName
public void setItemName(String itemName)
Sets the item name.- Parameters:
itemName- the new item name
-
getRestrictedLink
public PublicLink getRestrictedLink()
Gets the restricted link.- Returns:
- the restricted link
-
setRestrictedLink
public void setRestrictedLink(PublicLink restrictedLink)
Sets the restricted link.- Parameters:
restrictedLink- the new restricted link
-
getOpenLink
public PublicLink getOpenLink()
Gets the open link.- Returns:
- the open link
-
setOpenLink
public void setOpenLink(PublicLink openLink)
Sets the open link.- Parameters:
openLink- the new open link
-
-