diff --git a/static/rule-java-docs/.gitignore b/static/rule-java-docs/.gitignore
new file mode 100644
index 000000000..a1c2a238a
--- /dev/null
+++ b/static/rule-java-docs/.gitignore
@@ -0,0 +1,23 @@
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
diff --git a/static/rule-java-docs/.idea/.gitignore b/static/rule-java-docs/.idea/.gitignore
new file mode 100644
index 000000000..26d33521a
--- /dev/null
+++ b/static/rule-java-docs/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/static/rule-java-docs/.idea/misc.xml b/static/rule-java-docs/.idea/misc.xml
new file mode 100644
index 000000000..f0c72e596
--- /dev/null
+++ b/static/rule-java-docs/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
#getDisplayValue()getProxy() java.util.List<Identity>java.util.List<Identity>getRemediators() getSchemas() java.util.List<Identity>java.util.List<Identity>getSecondaryOwners()
java.util.List<Identity> getRemediators()+
java.util.List<Identity> getRemediators()
@Deprecated -java.util.List<Identity> getSecondaryOwners()+java.util.List<Identity> getSecondaryOwners()
voidaddRequester(Identity requester) addRequester(Identity requester) static java.lang.ObjectgetComments() IdentityIdentitygetIdentity() getProvisioningTargets() java.util.List<Identity>java.util.List<Identity>getRequesters() java.util.List<Identity>java.util.List<Identity>findIdentitiesBySearchableIdentityAttribute(java.lang.String attributeName,
java.lang.String operation,
java.lang.String value,
@@ -246,7 +246,7 @@ var activeTableTab = "activeTableTab";
IdentityIdentitygetIdentityById(java.lang.String id)
Identity getIdentityById(java.lang.String id)+
Identity getIdentityById(java.lang.String id)
java.util.List<Identity> findIdentitiesBySearchableIdentityAttribute(java.lang.String attributeName, +java.util.List<Identity> findIdentitiesBySearchableIdentityAttribute(java.lang.String attributeName, java.lang.String operation, java.lang.String value, java.lang.String sortAttribute) diff --git a/static/rule-java-docs/sailpoint/server/package-frame.html b/static/rule-java-docs/sailpoint/server/package-frame.html index 0eedc7187..b8c4e91b7 100644 --- a/static/rule-java-docs/sailpoint/server/package-frame.html +++ b/static/rule-java-docs/sailpoint/server/package-frame.html @@ -2,9 +2,9 @@ - +sailpoint.server - + diff --git a/static/rule-java-docs/sailpoint/server/package-summary.html b/static/rule-java-docs/sailpoint/server/package-summary.html index 82096fe1b..1f1cdb787 100644 --- a/static/rule-java-docs/sailpoint/server/package-summary.html +++ b/static/rule-java-docs/sailpoint/server/package-summary.html @@ -2,9 +2,9 @@ - +sailpoint.server - + diff --git a/static/rule-java-docs/sailpoint/server/package-tree.html b/static/rule-java-docs/sailpoint/server/package-tree.html index d203993b7..0bf477c04 100644 --- a/static/rule-java-docs/sailpoint/server/package-tree.html +++ b/static/rule-java-docs/sailpoint/server/package-tree.html @@ -2,9 +2,9 @@ - +sailpoint.server Class Hierarchy - + diff --git a/static/rule-java-docs/serialized-form.html b/static/rule-java-docs/serialized-form.html index 1cddf7b06..16f6c0ba4 100644 --- a/static/rule-java-docs/serialized-form.html +++ b/static/rule-java-docs/serialized-form.html @@ -2,9 +2,9 @@ - +Serialized Form - + diff --git a/static/rule-java-docs/src/sailpoint/object/Identity.java b/static/rule-java-docs/src/sailpoint/object/Identity.java index 7ff0da38a..185519822 100644 --- a/static/rule-java-docs/src/sailpoint/object/Identity.java +++ b/static/rule-java-docs/src/sailpoint/object/Identity.java @@ -1,125 +1,163 @@ package sailpoint.object; -import java.util.Map; +import java.util.List; -/** - * Definition of a User interface available to Rule implementors. - */ -public interface Identity { +public class Identity { /** - * Get the internal name of the User. - * @return the internal name + * Get the calling Identity as a string + * @return The string representation of the Identity */ - String getName(); + public String toString() { + return "identityString"; + } /** - * Get the display name of the identity - * @return The displayName + * Get the calling Identity Id + * @return The string Id of the Identity */ - String getDisplayName(); + public String getId() { + return "id"; + } /** - * Get the internal unique identifier. - * @return The id + * Get the calling Identity name + * @return The string name of the Identity */ - String getId(); + public String getName() { + return "identityName"; + } /** - * Get the first name of the User. - * @return The FirstName + * Get's the calling Identities Manager Object + * @return The manager's Identity Object */ - String getFirstName(); + public Identity getManager() { + return new Identity(); + } /** - * Get the last name of the User. - * @return The LastName + * Get true/false if the Identity is a manager + * @return true/false is the Identity a manager */ - String getLastName(); + public boolean getManagerStatus() { + return false; + } /** - * Get the phone of the User. - * @return The phone + * Get a list of links that the Identity is connected to + * @return List of Link Objects */ - String getPhone(); + public List getLinks() { + return new List(); + } /** - * Get the work phone of the User. - * @return The work phone + * Get a list of Bundle Objects of the assigned Roles of the Identity + * @return List of Bundle Objects */ - String getWorkPhone(); + public ListgetAssignedRoles() { + return new List (); + } + + + public List getBundles() { + return new List (); + } + + public List getExceptions(List apps) { + return new List (); + } + + public Attributes getAttributes() { + return new Attributes (); + } + + + public boolean isCorrelated() { + return false; + } /** - * Get the personal email of the User. - * @return The personal email address + * Get the first name of the Identity + * @return the first name as a String */ - String getPersonalEmail(); + public String getFirstname() { + return "name"; + } /** - * Get the work email of the User. - * @return The work email + * Get the last name of the Identity + * @return the last name as a String */ - String getEmail(); + public String getLastname() { + return "name"; + } /** - * Get the current lifecycle state of the User. - * @return The lifecycle state + * Get the full name of the Identity + * @return the full name as a String */ - String getLifecycleState(); + public String getFullName() { + return "fullName"; + } /** - * Get the raw attributes of the User. - * - * @return The map attributes derived from attribute promotion. + * Get the display name of the Identity + * @return the display name as a String */ - Map getAttributes(); + public String getDisplayName() { + return "displayName"; + } + + public String getDisplayableName() { + return "displayableName"; + } /** - * Get the uid of the USer; - * @return The Uid + * Get the email of the Identity + * @return the email as a String */ - String getUid(); + public String getEmail() { + return "email"; + } + + public boolean isInactive() { + return false; + } /** - * Check to see if the current user has reports and is a manager. - * @return true if the User is a manager, false otherwise + * Get the attribute value given the name of the attribute + * @param name The name of the attribute to get on an Identity. + * Examples include: manager, administrator, bundles, assignedRoles, capabilities, rights, workgroups, managerStatus, lastRefresh, correlated + * @return the attribute Object */ - boolean isManager(); + public Object getAttribute(String name) { + return new Object(); + } /** - * The internal ID of the manager for this User. - * @return The internal ID of the manager + * Get the attribute value as a string given the name of the attribute on the Identity. + * @param name + * @return the attribute value as a string */ - String getManagerId(); + public String getStringAttribute(String name) { + return "attributeValue"; + } - /** - * Gets the name of the user's manager. - * @return The name of the manager - */ - String getManagerName(); - /** - * Get the country of the user - * @return The country - */ - String getCountry(); + public Link getLink(Application res) { + return new Link(); + } - /** - * Get the user's employee number; - * @return The employee number - */ - String getEmployeeNumber(); + public Bundle getAssignedRole(String id) { + return new Bundle(); + } + public List getRoleAssignments() { + return new List (); + } - /** - * Get the user's specified attribute as a string - * @return The attribute string - */ - String getStringAttribute(String attributeName); - - /** - * Get the user's specified attribute as an object - * @return The attribute object - */ - Object getAttribute(String attributeName); - -} \ No newline at end of file + public String getType() { + return "type"; + } +} diff --git a/static/rule-java-docs/src/sailpoint/rule/Identity.java b/static/rule-java-docs/src/sailpoint/rule/Identity.java new file mode 100644 index 000000000..85e6a69ee --- /dev/null +++ b/static/rule-java-docs/src/sailpoint/rule/Identity.java @@ -0,0 +1,125 @@ +package sailpoint.rule; + +import java.util.Map; + +/** + * Definition of a User interface available to Rule implementors. + */ +public interface Identity { + + /** + * Get the internal name of the User. + * @return the internal name + */ + String getName(); + + /** + * Get the display name of the identity + * @return The displayName + */ + String getDisplayName(); + + /** + * Get the internal unique identifier. + * @return The id + */ + String getId(); + + /** + * Get the first name of the User. + * @return The FirstName + */ + String getFirstName(); + + /** + * Get the last name of the User. + * @return The LastName + */ + String getLastName(); + + /** + * Get the phone of the User. + * @return The phone + */ + String getPhone(); + + /** + * Get the work phone of the User. + * @return The work phone + */ + String getWorkPhone(); + + /** + * Get the personal email of the User. + * @return The personal email address + */ + String getPersonalEmail(); + + /** + * Get the work email of the User. + * @return The work email + */ + String getEmail(); + + /** + * Get the current lifecycle state of the User. + * @return The lifecycle state + */ + String getLifecycleState(); + + /** + * Get the raw attributes of the User. + * + * @return The map attributes derived from attribute promotion. + */ + Map getAttributes(); + + /** + * Get the uid of the USer; + * @return The Uid + */ + String getUid(); + + /** + * Check to see if the current user has reports and is a manager. + * @return true if the User is a manager, false otherwise + */ + boolean isManager(); + + /** + * The internal ID of the manager for this User. + * @return The internal ID of the manager + */ + String getManagerId(); + + /** + * Gets the name of the user's manager. + * @return The name of the manager + */ + String getManagerName(); + + /** + * Get the country of the user + * @return The country + */ + String getCountry(); + + /** + * Get the user's employee number; + * @return The employee number + */ + String getEmployeeNumber(); + + /** + * Get the user's specified attribute as a string + * @return The attribute string + */ + String getStringAttribute(String attributeName); + + /** + * Get the user's specified attribute as an object + * @return The attribute object + */ + Object getAttribute(String attributeName); + +} \ No newline at end of file