ChildByNameKey(Long parentNodeId, QName assocTypeQName, String childNodeName) { ParameterCheck.mandatory("childNodeName", childNodeName); ParameterCheck.mandatory("assocTypeQName", assocTypeQName); ParameterCheck.mandatory("parentNodeId", parentNodeId); this.parentNodeId = parentNodeId; this.assocTypeQName = assocTypeQName; this.childNodeName = childNodeName; }
public void validate() { ParameterCheck.mandatoryCollection("toEmails", toEmails); ParameterCheck.mandatoryString("sharedId", sharedId); ParameterCheck.mandatoryString("sharedNodeName", sharedNodeName); }
private void validateEvent(OnContentUpdatePolicyEvent event) { ParameterCheck.mandatory("event", event); ParameterCheck.mandatoryString("nodeRef", event.getNodeRef()); }
public void setQnameFilters(String filters) { ParameterCheck.mandatoryString("filters", filters); this.filters = filters; }
private void validateEvent(OnContentUpdatePolicyEvent event) { ParameterCheck.mandatory("event", event); ParameterCheck.mandatoryString("nodeRef", event.getNodeRef()); }
/** * Allow derived implementations to set the Content URL. This allows for implementations * where the URL is not known when the accessor is first constructed. * * @param contentUrl the new content URL */ protected void setContentUrl(String contentUrl) { ParameterCheck.mandatoryString("contentUrl", contentUrl); this.contentUrl = contentUrl; }
private AJProxyTrait(Object extensibleInterface) { ParameterCheck.mandatory("extensible", extensibleInterface); this.extensibleInterface = extensibleInterface; }
public void setQnameFilters(String filters) { ParameterCheck.mandatoryString("filters", filters); this.filters = filters; }
public void validate() { ParameterCheck.mandatoryCollection("toEmails", toEmails); ParameterCheck.mandatoryString("sharedId", sharedId); ParameterCheck.mandatoryString("sharedNodeName", sharedNodeName); }
@Override public void afterPropertiesSet() throws Exception { ParameterCheck.mandatory("localActionServer", localActionService); }
/** * Allow derived implementations to set the Content URL. This allows for implementations * where the URL is not known when the accessor is first constructed. * * @param contentUrl the new content URL */ protected void setContentUrl(String contentUrl) { ParameterCheck.mandatoryString("contentUrl", contentUrl); this.contentUrl = contentUrl; }
/** * Default constructor. * * @param action The action that was executed, can not be null * @param result The result from the action, can be null */ public ActionFormResult(Action action, Object result) { ParameterCheck.mandatory("action", action); this.action = action; this.result = result; }
@Override public boolean validates(String fieldName) { ParameterCheck.mandatoryString("fieldName", fieldName); return (fieldName.equals("name")); }
ExtensionRoute(Extend extendAnnotation, Method extendedMethod, Method extensionMethod) { super(); ParameterCheck.mandatory("extendAnnotation", extendAnnotation); ParameterCheck.mandatory("traitMethod", extendedMethod); this.extendAnnotation = extendAnnotation; this.extendedMethod = extendedMethod; this.extensionMethod = extensionMethod; }
@Override public boolean validates(String fieldName) { ParameterCheck.mandatoryString("fieldName", fieldName); return (fieldName.equals("columnNames")); } }
/** * Default constructor. * * @param action The action that was executed, can not be null * @param result The result from the action, can be null */ public ActionFormResult(Action action, Object result) { ParameterCheck.mandatory("action", action); this.action = action; this.result = result; }
@Override public boolean validates(String fieldName) { ParameterCheck.mandatoryString("fieldName", fieldName); return (fieldName.equals("name")); }
@Override public void afterPropertiesSet() throws Exception { ParameterCheck.mandatory("jobLockService", jobLockService); ParameterCheck.mandatory("transactionService", transactionService); ParameterCheck.mandatory("authenticationDao", authenticationDao); ParameterCheck.mandatory("compositePasswordEncoder", passwordEncoder); ParameterCheck.mandatory("nodeDAO", nodeDAO); ParameterCheck.mandatory("patchDAO", patchDAO); ParameterCheck.mandatory("qnameDAO", qnameDAO); ParameterCheck.mandatory("behaviourFilter", behaviourFilter); }
@Override public boolean validates(String fieldName) { ParameterCheck.mandatoryString("fieldName", fieldName); return (fieldName.equals("columnNames")); } }
public RegistryExtensionBundle(String id) { ParameterCheck.mandatory("id", id); this.id = id; }