This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Restore the original function, showing the display name | |
if ( acceUtil ) { | |
if ( acceUtil.originalGetSecurityPrincipalDisplayName ) { | |
acceUtil.getSecurityPrincipalDisplayName = acceUtil.originalGetSecurityPrincipalDisplayName; | |
console.log("Showing the principals display name"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ecmdeveloper.jace.collections; | |
import java.util.Date; | |
import java.util.Iterator; | |
import com.filenet.api.admin.*; | |
import com.filenet.api.events.*; | |
import com.filenet.api.core.*; | |
import com.filenet.api.collection.*; | |
import com.filenet.api.collection.ChoiceList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importClass(Packages.com.filenet.api.constants.RefreshMode); | |
importClass(Packages.com.filenet.api.constants.SweepMode); | |
importClass(Packages.com.filenet.api.core.Factory); | |
importClass(Packages.java.text.SimpleDateFormat); | |
importClass(Packages.java.util.Calendar); | |
importClass(Packages.java.util.TimeZone); | |
function getRequiredProperties(){ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ecmdeveloper.jace.streams; | |
import java.util.Date; | |
import java.util.Iterator; | |
import java.util.stream.Stream; | |
import java.util.stream.StreamSupport; | |
import com.filenet.api.admin.*; | |
import com.filenet.api.events.*; | |
import com.filenet.api.core.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UpdateSecurityProxy implements ChangePreprocessor { | |
@Override | |
public boolean preprocessObjectChange(IndependentlyPersistableObject object) | |
throws EngineRuntimeException { | |
Property department = getDepartment(object); | |
if (department != null && department.isDirty()) { | |
updateSecurityProxy(object, department.getStringValue() ); | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The globally unique identifier (GUID) or persistent identifier (PID) that identifies the item that is being edited. | |
*/ | |
public String getObjectId() // The ID of the object being edited | |
public Map<String, Property> getProperty() // A map of all the properties of the object | |
public RequestMode getRequestMode() // The reason why the EDS component is called | |
public String getRepositoryId() // The ID of the repository containing the properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var genders = choicelist.create("Genders"); | |
choicelist.addChoice(genders, "Female"); | |
choicelist.addChoice(genders, "Male"); | |
var otherGenders = choicelist.addCategory(genders, "Other"); | |
choicelist.addChoices(otherGenders, ["Polygender", "Cisgender", "Pangender", "Gender neutral"] ); // I know there are more... | |
property.choiceList = genders; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
displayName: 'Genders', | |
choices: | |
[ { value: 'Female', displayName: 'Female' }, | |
{ value: 'Male', displayName: 'Male' }, | |
{ value: 'Other', displayName: 'Other' } ], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"externalDataIdentifier": "opaque_identifier_meaningful_to_the_service", | |
"properties": [ | |
{ | |
"symbolicName": "symbolic_name", | |
"value": "potential_new_value", | |
"customValidationError": "Description of an invalid reason", | |
"customInvalidItems": [ | |
0, | |
3, |
NewerOlder