public StatusBean(final AnyTO any, final String resource) { this.key = any.getKey(); this.name = any instanceof UserTO ? ((UserTO) any).getUsername() : any instanceof GroupTO ? ((GroupTO) any).getName() : ((AnyObjectTO) any).getName(); this.resource = resource; }
public String getConnObjectLink() { return provisionTO == null ? orgUnitTO == null ? null : orgUnitTO.getConnObjectLink() : provisionTO.getMapping().getConnObjectLink(); }
public void setConnObjectLink(final String connObjectLink) { if (provisionTO == null) { orgUnitTO.setConnObjectLink(connObjectLink); } else { provisionTO.getMapping().setConnObjectLink(connObjectLink); } }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
public Builder otherEnd(final String otherEndType, final String otherEndKey, final String otherEndName) { instance.setOtherEndType(otherEndType); instance.setOtherEndKey(otherEndKey); instance.setOtherEndName(otherEndName); return this; }
@Override public void setObject(final AnyTypeTO object) { rel.setOtherEndType(object == null ? null : object.getKey()); } }, false);
public Builder otherEnd(final String otherEndType, final String otherEndKey) { instance.setOtherEndType(otherEndType); instance.setOtherEndKey(otherEndKey); return this; }
@Override public boolean setConnObjectKeyItem(final ItemTO connObjectKeyItem) { return connObjectKeyItem == null ? remove(getConnObjectKeyItem()) : addConnObjectKeyItem(connObjectKeyItem); }
public void setObjectClass(final String objectClass) { if (provisionTO == null) { orgUnitTO.setObjectClass(objectClass); } else { provisionTO.setObjectClass(objectClass); } }
public String getObjectClass() { return provisionTO == null ? orgUnitTO == null ? null : orgUnitTO.getObjectClass() : provisionTO.getObjectClass(); }
public void setIgnoreCaseMatch(final boolean ignoreCaseMatch) { if (provisionTO == null) { orgUnitTO.setIgnoreCaseMatch(ignoreCaseMatch); } else { provisionTO.setIgnoreCaseMatch(ignoreCaseMatch); } }
private MailTemplateTO getMailTemplateTO(final String key) { MailTemplateTO mailTemplateTO = new MailTemplateTO(); mailTemplateTO.setKey(key); return mailTemplateTO; }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }
protected boolean addConnObjectKeyItem(final ItemTO connObjectItem) { connObjectItem.setMandatoryCondition("true"); connObjectItem.setConnObjectKey(true); return this.add(connObjectItem); }